Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: cpuffalt on April 12, 2007, 06:33:43 AM

Title: "freshclam: Update failed" Emails
Post by: cpuffalt on April 12, 2007, 06:33:43 AM
I'm posting this just in case this might help someone else experiencing the same problem.  

Although I've received emails before saying "freshclam: Update failed" it normally resolves itself (generally it's caused by a glitch in the network etc.) but beginning yesterday I started getting this email hourly.  They all looked similar to this:

2007-04-10 18:48:01.511274500 ClamAV update process started at Tue Apr 10 18:48:01 2007
2007-04-10 18:48:01.787255500 Ignoring mirror 67.15.61.160 (due to previous errors)
2007-04-10 18:48:01.787323500 Ignoring mirror 205.139.192.213 (due to previous errors)
2007-04-10 18:48:01.787365500 Ignoring mirror 209.139.239.158 (due to previous errors)
2007-04-10 18:48:01.787408500 Ignoring mirror 24.215.0.24 (due to previous errors)
2007-04-10 18:48:01.787471500 ERROR: getpatch: Can't download main-43.cdiff from database.clamav.net
[lines above repeated multiple times for each retry]
2007-04-10 18:48:01.798546500 WARNING: Incremental update failed, trying to download main.cvd
2007-04-10 18:48:01.800676500 Ignoring mirror 67.15.61.160 (due to previous errors)
2007-04-10 18:48:01.800744500 Ignoring mirror 205.139.192.213 (due to previous errors)
2007-04-10 18:48:01.800787500 Ignoring mirror 209.139.239.158 (due to previous errors)
2007-04-10 18:48:01.800830500 Ignoring mirror 24.215.0.24 (due to previous errors)
2007-04-10 18:48:01.800892500 ERROR: Can't download main.cvd from database.clamav.net
2007-04-10 18:48:01.833671500 Giving up on database.clamav.net...
2007-04-10 18:48:01.833735500 Update failed. Your network may be down or none of the mirrors listed in freshclam.conf is working. Check http://www.clamav.net/support/mirror-problem for possible reasons.

After doing a bit of poking around it seems freshclam had marked all the mirrors as bad.  (Notice how it says "Ignoring mirror ....").  Running "freshclam --list-mirrors" as root confirmed that all the mirrors it knew about were marked "Ignore: yes".  I deleted /var/clamav/mirrors.dat (as root) and manually re-ran freshclam and everything worked.

Hope this helps someone else.

Corey
Title: "freshclam: Update failed" Emails
Post by: christian on April 12, 2007, 12:14:16 PM
interesting. I've been getting a lot of the same messages. email seems to be still working though, so that symptom is not there.

However the messages may be one per day or one per hour. It's been happening over the past couple of weeks.

My assumption is that there might actually be a problem with the servers so was waiting to see if it cleared itself.

Anyone know if there is a problem with frechclam at the moment?
Title: "freshclam: Update failed" Emails
Post by: schuitz on April 12, 2007, 02:13:51 PM
It helps me a pile, thanks Corey.  I was patiently waiting for freshclam to mark the mirrors as good again but it never happened.  I've had multiple servers sending me this every hour for the last few days.  Thanks.
Mike
Title: "freshclam: Update failed" Emails
Post by: dmay on April 12, 2007, 04:14:50 PM
Corey,

I've added your comments into this related BugZilla bug report:

http://bugs.contribs.org/show_bug.cgi?id=2349

Darrell
Title: "freshclam: Update failed" Emails
Post by: cpuffalt on April 13, 2007, 05:14:43 AM
Thanks... I did search Bugzilla but didn't find that bug for some reason...

Corey

Quote from: "dmay"
Corey,

I've added your comments into this related BugZilla bug report:

http://bugs.contribs.org/show_bug.cgi?id=2349

Darrell