Hello, My install of clamav seems to have suddenly stopped working this week. I use clamav with amavisd to scan mail in my postfix installation running on FreeBSD. On Monday all mail stopped being processed and I got the following errors:
Mar 1 09:21:23 server amavis[90665]: (90665-01) (!!)WARN: all primary virus scanners failed, considering backups Mar 1 09:21:25 server amavis[90665]: (90665-01) (!!)run_av (ClamAV-clamscan) FAILED - unexpected exit 50, output="LibClamAV Error: cli_loaddbdir(): Can't open directory /var/db/clamav/daily.inc\nERROR: Unable to open file or directory" Mar 1 09:21:25 server amavis[90665]: (90665-01) (!!)ClamAV-clamscan av-scanner FAILED: /usr/local/bin/clamscan unexpected exit 50, output="LibClamAV Error: cli_loaddbdir(): Can't open directory /var/db/clamav/daily.inc\nERROR: Unable to open file or directory" at (eval 67) line 491. Mar 1 09:21:25 server amavis[90665]: (90665-01) (!!)TROUBLE in check_mail: virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamscan av-scanner FAILED: /usr/local/bin/clamscan unexpected exit 50, output="LibClamAV Error: cli_loaddbdir(): Can't open directory /var/db/clamav/daily.inc\nERROR: Unable to open file or directory" at (eval 67) line 491. Mar 1 09:21:25 server amavis[90665]: (90665-01) (!)PRESERVING EVIDENCE in /var/amavis/tmp/amavis-20070301T092123-90665 I've checked /var/db/clamav and daily.inc does exist, and the directory and all files in it are owned by clamav:clamav. In order to try and fix this, I added the user amavisd runs under to the clamav group, which has read access to daily.inc. This doesn't seem to have made any difference. I can fix the problem by uninstalling clamav, and then reinstalling. But the problem came back today. Could freshclam be making some change to the file which is causing this problem. I haven't made any changes to my postfix/amavisd/clamav set up for some months prior to this problem arising. Any advice greatly appreciated. Duncan Drury _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
