I had a problem with Squid which required removing the access.log file as it had grown over 2Gb in size which has caused Squid to terminate and also stopped Squid from starting.The cache.log file seemed to hang at: 2008/04/20 19:09:23| Ready to serve... » More
Exchange 2007 Event Viewer reports errors such as:Failed to create a new named property for database "First Storage Group\Mailbox Database 1" because the number of named properties reached the quota limit (11000). User attempting to... » More
I had a little difficulty today installing some Perl modules from CPAN. I was getting messages like: Fetching with Net::FTP: ftp://ftp.flirble.org/pub/CPAN/authors/01mailrc.txt.gzCouldn't fetch 01mailrc.txt.gz from ftp.flirble.org Fetching with... » More
Adding the RPMforge repositories is one of the first things I like to do on a new install. Instructions are on the RPMforge website but it is as straightforward as: wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm rpm... » More
I wanted to have a cron job that would check if MySQL was still running and if not to start it again. The following got me started with an hourly check: 0 * * * * ps -ef | grep mysqld | grep -v grep >> /dev/null || /etc/init.d/mysql start
I sometimes find on a certain machine that when I change to a bash shell and try to edit the crontab with # crontab -e instead of getting my vi editor I just get a number returned, for example: # crontab -e3839Obviously something to do with how the... » More
SpamAssassin can be checked by feeding a text file into it and piping the result out to another text file. Amendments can be made to the input file to check for effectiveness. Consider using the 'GTUBE' phrase as a trigger to increase the score... » More
Using CentOS5/RHEL5 I needed to add some perl modules for SpamAssassin. Note sure how important this first step is but I:# cd /root/.cpan/sources# wget ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY # perl -MCPAN -e shellwhen asked about configuration I said... » More
Temporarily take site down for maintenance Options +FollowSymlinks RewriteEngine on RewriteCond %{REMOTE_ADDR} !^111\.111\.222\.111 RewriteCond %{REQUEST_URI} !/index.html$ RewriteRule $ /index.html or Options +FollowSymlinks RewriteEngine... » More
On a new server install on CentOS 5.1 I was getting very slow logins. Trying ssh with the -v (verbose) option showed that: debug1: Authentications that can continue: publickey,gssapi-with-mic,passworddebug1: Next authentication method:... » More