Hot Category

Anti virus : ClamAV & MailScanner - WARNING - Your ClamAV Installation is OUTDATED! How do I fix? : e

This article is for more advanced hosting administrators who have shell/root access to their Dedicated Server or Virtual Dedicated Servers and have MailScanner installed.
When MailScanner Logwatch reports:
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.90.3 Recommended version: 0.91.1
DON'T PANIC! The injunction not to panic would be a lot less daunting if the information at the ClamAV support FAQ was more clear for users with a MailScanner setup.Here is a step by step guide to completing a ClamAV upgrade. You can copy and paste the commands into your Telnet/SSH Client. The commands are prefixed with "#" - this only for clarity and should not be copied with the command.
1. The first job is to back up your configuration files - I stick the copies in the backup folder for convenience,# cp /usr/local/etc/clamd.conf /backup/clamd.conf# cp /usr/local/etc/freshclam.conf /backup/freshclam.conf
2. In the directory in which you placed the tar-ball, you need to expand the distribution,# tar -xzf clamav-xxx.tar.gz (the xxx is replaced by the version of the distribution 0.91.1 here giving tar -xzf clamav-0.91.1.tar.gz)
3. Go into the expanded directory and run the install,# cd clamav-xxx (this version cd clamav-0.91.1)# ./configure --disable-zlib-vcheck (parameters are not always needed - include them just in case)# make# make install
4. Copy your configuration files back,# cp /backup/clamd.conf /usr/local/etc/clamd.conf# cp /backup/freshclam.conf /usr/local/etc/freshclam.conf
5a. (If you are using the perl clamav module (that would be unusual with a mailscanner install), update it now# /scripts/perlinstaller --force Mail::ClamAV 5b. Otherwise, run freshclam to get up to date definitions,# freshclam
6. Restart MailScanner,# service MailScanner restart
Your logwatch will report the outdated warning one more time as it appears to give the version details from the last time it was run (at the top, it states "Date Range Processed: yesterday"), but after that you will only see the main.cvd and daily.inc status messages.
I suggest you bookmark or save this article as ClamAV is regularly updated and having the commands immediately to hand is a great time saver...
I am the founder & CEO of Diamondrack and NameServerHosting.
I am a fully qualified computer engineer with City & Guilds Industrial Electronics (grade III) to back up those skills. I worked for a computer services multinational called Getronics (formerly Wang Global) as a senior field engineer. I handled Level 3 Support for large corporations such as EMC², Dell, Motorola and Telecom Eireann. I worked on contract support & installation roll-outs for 8 government departments, the Irish Postal Service (An Post), the Irish Police (Garda Síochána), the army & navy, several hospitals and health boards, and several banks and financial institutions.
I have also involved myself in the programming side of computers and have created several desktop programs, server scripts, software and operating systems patches, and some web design.
I now work full time on my hosting businesses. This means my time, and the benefit of my experience, is yours.
Colm Butterly
Article Source: http://EzineArticles.com/?expert=Colm_Butterly

Currently Reading