Squid access.log file over 2Gb

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 Identifier Limits

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

CPAN Perl Modules – LWP failed with code

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 on CentOS5

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

Keep MySQL Alive

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:

"Crontab -e Returns a Number" Problem

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

Testing a SpamAssassin Install

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

Adding Perl Modules

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

htaccess examples

Temporarily take site down for maintenance or Redirecting to a New Domain Force https use or Use a Custom Error Document Allowing access only from internal network Blocking Unwanted User-Agents Password protecting a... » More

Slow SSH Logins

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