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

Axel Ludszuweit axel.ludszuweit at t-online.de
Sun May 27 13:52:20 UTC 2007


Marc Haber wrote:
 > On Sat, May 26, 2007 at 02:10:07PM +0200, Axel Ludszuweit wrote:

 > What happens when you connect to the daemon from a shell? Are the
 > privileges on the directory OK?
Please can you explain me, what do you mean with
"connect to the daemon from a shell"
But I think, that will be working, because mail sent and transmit
after booting works too.
The error message in /var/log/exim4/paniclog only appears after
system start, when the first mails should be fetched by fetchmail.
The appropriate messages in /var/log/exim4/mainlog are:

2007-05-26 13:34:30 1HruXV-0001pP-QY malware acl condition: clamd: unable to connect to UNIX socket /var/run/clamav/clamd.ctl (No such file or directory)
2007-05-26 13:34:30 1HruXV-0001pP-QY H=localhost (graf-zahl.sesamstrasse.ludszuweit) [127.0.0.1] U=fetchmail 
F=<bounce-768044_HTML-109685665-4533262-49688-0 at bounce.divx-newsletters.com> temporarily rejected after DATA

The rejected mails will be received at the next trial.
And after this, it seems to be worked correct.

 >
 > drwxr-xr-x 13 root   root   4,0K 2002-07-23 12:35 /var//

axel at graf-zahl:~$ ls -l / | grep var
drwxr-xr-x  16 root root   4096 2006-06-10 19:47 var

 > drwxr-xr-x 13 root   root   4,0K 2007-05-26 07:44 /var/run//

axel at graf-zahl:~$ ls -l /var | grep run
drwxr-xr-x 23 root root  4096 2007-05-26 13:34 run

 > drwxr-xr-x  2 clamav clamav 4,0K 2007-05-02 12:44 /var/run/clamav//

axel at graf-zahl:~$ ls -l /var/run | grep clamav
drwxr-xr-x 2 clamav      clamav      4096 2007-05-26 13:34 clamav

 > srwxrwxrwx  1 clamav clamav    0 2007-05-02 12:44 /var/run/clamav/clamd.ctl=

axel at graf-zahl:~$ ls -l /var/run/clamav/clamd.ctl
srwxrwxrwx 1 clamav clamav 0 2007-05-26 13:34 /var/run/clamav/clamd.ctl

 > Which packages got updated during that update?

I dont know it anymore.

 > Can you strace clamd and/or exim and see whether this gives any
 > conclusive information?

Please can you give me instructions, how can I give you these information.
Must I shutdown exim4, fetchmail, spam assassin and clamd services and restart
these manually with strace command?


Greetings Axel





More information about the Pkg-exim4-maintainers mailing list