14 April 2010

SME Server 7.4 - FreshClam Update Failure

Situation
The administrator receives regular notifications stating freshclam is failing to update and your network is not down.

"2010-04-14 15:30:34.030513500 ERROR: Can't download daily.cvd from database.clamav.net
2010-04-14 15:30:34.030587500 Giving up on database.clamav.net..."
2010-04-14 15:30:34.030602500 Update failed. Your network may be down or none of the mirrors listed in /etc/freshclam.conf is working."

Solution
If ClamAV does not fix it itself. Then

cd /var/clamav/
mv mirrors.dat mirrors.dat.old
freshclam -v

You should see a report to the console which contains.

"Database updated (756094 signatures) from db.local.clamav.net (IP: x.x.x.x)
Clamd successfully notified about the update."

Your ClamAV database signatures should now update correctly and the administrator should not receive any further messages.


No comments:

Post a Comment