Package: clamav Followup-For: Bug #417985
I've seen this bug on my system. This is a system upgrade from an testing (pre-etch) installation to etc. The directory permission is wrong. I found this out after my amavis stop working this morning The clamav-daemon dies first, then then clamscan can't work as well. My guess is that something wrong after freshclam updated the virus databases. Hope this helps. Here's some of my log files: clamav.log Tue Apr 17 07:28:13 2007 -> Reading databases from /var/lib/clamav Tue Apr 17 07:28:17 2007 -> Database correctly reloaded (110168 signatures) Tue Apr 17 10:28:21 2007 -> +++ Started at Tue Apr 17 10:28:21 2007 freshclam.log -------------------------------------- Received signal: wake up ClamAV update process started at Tue Apr 17 07:27:15 2007 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.90.1 Recommended version: 0.90.2 DON'T PANIC! Read http://www.clamav.net/support/faq main.inc is up to date (version: 43, sigs: 104500, f-level: 14, builder: sven) Downloading daily-3104.cdiff [0%] daily.inc updated (version: 3104, sigs: 5668, f-level: 15, builder: ccordes) WARNING: Your ClamAV installation is OUTDATED! WARNING: Current functionality level = 14, recommended = 15 DON'T PANIC! Read http://www.clamav.net/support/faq Database updated (110168 signatures) from db.local.clamav.net (IP: 140.128.9.18) Clamd successfully notified about the update. -------------------------------------- mail.log Apr 17 07:28:13 mail amavis[25165]: (25165-02) ClamAV-clamd: Sending CONTSCAN /var/lib/amavis/tmp/amavis-20070417T072631-25165/parts\n to UNIX socket /var/run/clamav/clamd.ctl Apr 17 07:28:13 mail amavis[25165]: (25165-02) ask_av (ClamAV-clamd): /var/lib/amavis/tmp/amavis-20070417T072631-25165/parts CLEAN Apr 17 07:28:13 mail amavis[25165]: (25165-02) ClamAV-clamd result: clean Apr 17 07:28:13 mail amavis[25165]: (25165-02) Using check-jpeg: (built-in interface) Apr 17 07:28:13 mail amavis[25165]: (25165-02) Using (check-jpeg) on file: /var/lib/amavis/tmp/amavis-20070417T072631-25165/parts/p001 Apr 17 07:28:13 mail amavis[25165]: (25165-02) ask_av (check-jpeg): p001 CLEAN, but inconclusive ... Apr 17 07:28:23 mail amavis[25190]: (25190-01) Using ClamAV-clamd: (built-in interface) Apr 17 07:28:23 mail amavis[25190]: (25190-01) Using (ClamAV-clamd) on dir: CONTSCAN /var/lib/amavis/tmp/amavis-20070417T072823-25190/parts\n Apr 17 07:28:23 mail amavis[25190]: (25190-01) ClamAV-clamd: Connecting to socket /var/run/clamav/clamd.ctl Apr 17 07:28:23 mail amavis[25190]: (25190-01) ClamAV-clamd: Sending CONTSCAN /var/lib/amavis/tmp/amavis-20070417T072823-25190/parts\n to UNIX socket /var/run/clamav/clamd.ctl Apr 17 07:28:23 mail amavis[25190]: (25190-01) ClamAV-clamd: Empty result from /var/run/clamav/clamd.ctl, retrying (1) Apr 17 07:28:23 mail amavis[25190]: (25190-01) ClamAV-clamd: sleeping for 1 s ... Apr 17 07:28:23 mail amavis[25165]: (25165-03) Using ClamAV-clamd: (built-in interface) Apr 17 07:28:23 mail amavis[25165]: (25165-03) Using (ClamAV-clamd) on dir: CONTSCAN /var/lib/amavis/tmp/amavis-20070417T072631-25165/parts\n Apr 17 07:28:23 mail amavis[25165]: (25165-03) ClamAV-clamd: Connecting to socket /var/run/clamav/clamd.ctl Apr 17 07:28:23 mail amavis[25165]: (25165-03) ClamAV-clamd: Can't connect to UNIX socket /var/run/clamav/clamd.ctl: Connection refused, retrying (1) Apr 17 07:28:31 mail amavis[25190]: (25190-01) (!!) TROUBLE in check_mail: virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: Too many retries to talk to /var/run/clamav/clamd.ctl (Can't connect to UNIX socket /var/run/clamav/clamd.ctl: Connection refused) at (eval 44) line 268.; ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit 50, output="LibClamAV Error: cli_loaddbdir(): Can't open directory /var/lib/clamav//daily.inc\nERROR: Unable to open file or directory" at (eval 44) line 462. Apr 17 07:28:31 mail amavis[25165]: (25165-03) run_av: /usr/bin/clamscan exit 50, LibClamAV Error: cli_loaddbdir(): Can't open directory /var/lib/clamav//daily.inc\nERROR: Unable to open file or directory -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-4-686 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages clamav depends on: ii clamav-freshclam [clamav-da 0.90.1-2 downloads clamav virus databases f ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries ii libclamav2 0.90.1-2 virus scanner library ii zlib1g 1:1.2.3-13 compression library - runtime Versions of packages clamav recommends: ii arj 3.10.22-2 archiver for .arj files ii clamav-base 0.90.1-2 base package for clamav, an anti-v ii unzoo 4.4-6 zoo archive extractor -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

