Public bug reported: I've experienced this with the last couple releases, right up through Hardy. At some point, the clamav engine invariably gets out of date, and clamav in their infinite wisdom starts rejecting freshclam connections:
ClamAV update process started at Mon Sep 8 11:25:51 2008 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.92.1 Recommended version: 0.94 DON'T PANIC! Read http://www.clamav.net/support/faq main.inc is up to date (version: 48, sigs: 399264, f-level: 35, builder: sven) WARNING: getfile: daily-8185.cdiff not found on remote server (IP: 155.98.64.86) ERROR: getpatch: Can't download daily-8185.cdiff from db.local.clamav.net Downloading daily-8185.cdiff [100%] Downloading daily-8186.cdiff [100%] daily.inc updated (version: 8186, sigs: 16877, f-level: 35, builder: ccordes) WARNING: Your ClamAV installation is OUTDATED! WARNING: Current functionality level = 26, recommended = 35 DON'T PANIC! Read http://www.clamav.net/support/faq Database updated (416141 signatures) from db.local.clamav.net (IP: 65.120.238.5) ... WARNING: Incremental update failed, trying to download daily.cvd Ignoring mirror 168.143.19.95 (has connected too many times with an outdated version) Ignoring mirror 207.57.106.31 (has connected too many times with an outdated version) Trying host database.clamav.net (209.170.150.7)... nonblock_connect: connect timing out (30 secs) Can't connect to port 80 of host database.clamav.net (IP: 209.170.150.7) Ignoring mirror 64.246.134.219 (due to previous errors) ERROR: Can't download daily.cvd from database.clamav.net Giving up on database.clamav.net... 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. ... Now this is partially circumstantial evidence, however I never see clamav-milter crash until this freshclam behavior starts in a given release cycle, so I can only assume they're related. At this point, clamav unpredictably but frequently starts crashing with errors similar to the following: Fri Sep 5 07:53:58 2008 -> WARNING: Database has changed, loading updated database LibClamAV Error: cl_load(): Unable to lock database directory: /var/lib/clamav Fri Sep 5 07:56:08 2008 -> ERROR: Unable to lock database directory Fri Sep 5 07:56:08 2008 -> ERROR: Failed to load updated database The only way I've found to work around this is to set up a sitter that restarts clamav-milter when it dies. It would appear that when the out of date engine condition starts to occur, freshclam is locking the database directory longer than it should, and milter in turn is not handling this condition gracefully. ** Affects: clamav (Ubuntu) Importance: Undecided Status: New -- out of date engine causes milter crash https://bugs.launchpad.net/bugs/267827 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
