Bug#426117: exim4: unable to connect /var/run/clamav/clamd.ctl, but /var/run/clamav/clamd.ctl exists

Marc Haber mh+debian-packages at zugschlus.de
Thu Jun 14 20:33:52 UTC 2007


On Thu, Jun 14, 2007 at 08:12:59PM +0200, Axel Ludszuweit wrote:
> Here somee lines from /var/log/exim4/paniclog:
> 
> ---------------------- snip -------------------------
> 
> 2007-06-14 19:38:23 1HytH5-0001rX-8e malware acl condition: clamd: unable to connect to UNIX socket /var/run/clamav/clamd
> .ctl (No such file or directory)
> (
> 
> ---------------------- snap -------------------------
> 
> here the entries from /var/log/clamav/freshclam.log:
> 
> ---------------------- snip -------------------------
> 
> --------------------------------------
> freshclam daemon 0.90.3 (OS: linux-gnu, ARCH: i386, CPU: i486)
> ClamAV update process started at Thu Jun 14 19:37:14 2007
> ERROR: Can't lock database directory: /var/lib/clamav/
> --------------------------------------
> 
> ---------------------- snap -------------------------
> 
> and here the related entries from /var/log/clamav/clamav.log
> 
> T---------------------- snip -------------------------
> 
> hu Jun 14 19:37:12 2007 -> clamd daemon 0.90.3 (OS: linux-gnu, ARCH: i386, CPU: i486)
> Thu Jun 14 19:37:12 2007 -> Log file size limit disabled.
> Thu Jun 14 19:37:12 2007 -> Reading databases from /var/lib/clamav
> Thu Jun 14 19:39:18 2007 -> Loaded 230155 signatures.
> Thu Jun 14 19:39:18 2007 -> Unix socket file /var/run/clamav/clamd.ctl
> Thu Jun 14 19:39:18 2007 -> Setting connection queue length to 15
> 
> ---------------------- snap -------------------------

Looks like your clamd takes like two minutes to reload the databases
and that exim cannot connect to the socket while clamd reloads.

This sounds to me like a bug in clamav-daemon, which looks like
already reported as #427154.

Exim could handle this case more gracefully. This is already reported
as upstream #92 (http://www.exim.org/bugzilla/show_bug.cgi?id=92).

Is it ok for you that I clone and reassign to clamav-daemon?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190




More information about the Pkg-exim4-maintainers mailing list