Monthly Archives: November 2008

Check if cron is working with monit

I encountered a problem last week with cron. crond was running but the jobs seems to not work. After debugging the crontab, I saw that on one job, the username was missing. Nothing was written in the logs to say that there was a problem. To avoid future problems, I wrote an alert for monit. [...]

Amazon is moving into CDN market

As read in Diamond Notes, Amazon is moving into CDN market with CloudFront. Some Content Delivery Network providers Akamaï Akamaï on Crunchbase BitGravity BitGravity on Crunchbase EdgeCast Networks EdgeCast Networks on Crunchbase Limelight Network Limelight Network on Crunchbase Panther Express Panther Express on Crunchbase

Install gem without documentation

If you need to install your gems without extra documentation, use flags –no-rdoc and –no-ri Example: $ gem install –no-rdoc –no-ri rails

Fix nginx increase server_names_hash_bucket_size error

When adding new virtual hosts in your nginx configuration file, you can experience this error message: # nginx -t 2008/11/13 09:37:03 [emerg] 12299#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32 2008/11/13 09:37:03 [emerg] 12299#0: the configuration file /etc/nginx/nginx.conf test failed server_names_hash_bucket_size controls the maximum length of a virtual host entry (ie the [...]

Install Sun Java Runtime Environment (JRE) on Debian Etch

Sun JRE is available in the non-free repository. You need to update your repositories configuration file (/etc/apt/sources.list). Add the following line: deb http://ftp.us.debian.org/debian/ etch main contrib non-free Update apt with apt-get update command and you’re ready to install the JRE. $ apt-get install sun-java5-jre Check your java binary: $ java -version java version “1.5.0_14″ Java(TM) [...]