[exim] clamd: unable to connect to UNIX socket /var/run/cla…

Góra strony
Delete this message
Reply to this message
Autor: Martin Windfuhr
Data:  
Dla: exim-users
Temat: [exim] clamd: unable to connect to UNIX socket /var/run/clamav/clamd.ctl (No such file or directory)
Hello,

I can send mails, but don't receive.

/var/log/exim4/mainlog

2009-02-22 13:11:35 1LbE7K-0001yq-JG malware acl condition: clamd: unable
to connect to UNIX socket /var/run/clamav/clamd.ctl (No such file or
directory)

/var/log/clamav/clamav.log:
Sun Feb 22 13:09:41 2009 -> +++ Started at Sun Feb 22 13:09:41 2009
Sun Feb 22 13:09:41 2009 -> clamd daemon 0.90.1 (OS: linux-gnu, ARCH:
i386, CPU: i486)
Sun Feb 22 13:09:41 2009 -> Log file size limit disabled.
Sun Feb 22 13:09:41 2009 -> Reading databases from /var/lib/clamav
Sun Feb 22 13:19:12 2009 -> +++ Started at Sun Feb 22 13:19:12 2009
Sun Feb 22 13:19:12 2009 -> clamd daemon 0.90.1 (OS: linux-gnu, ARCH:
i386, CPU: i486)
Sun Feb 22 13:19:12 2009 -> Log file size limit disabled.
Sun Feb 22 13:19:12 2009 -> Reading databases from /var/lib/clamav

/var/log/clamav/freshclam.log
Current working dir is /var/lib/clamav/
freshclam daemon 0.90.1 (OS: linux-gnu, ARCH: i386, CPU: i486)
Max retries == 5
Waiting to lock database directory: /var/lib/clamav/
Waiting to lock database directory: /var/lib/clamav/
Waiting to lock database directory: /var/lib/clamav/
Waiting to lock database directory: /var/lib/clamav/
Waiting to lock database directory: /var/lib/clamav/
Waiting to lock database directory: /var/lib/clamav/
Waiting to lock database directory: /var/lib/clamav/
Waiting to lock database directory: /var/lib/clamav/
Waiting to lock database directory: /var/lib/clamav/
Waiting to lock database directory: /var/lib/clamav/
Waiting to lock database directory: /var/lib/clamav/
Waiting to lock database directory: /var/lib/clamav/
Waiting to lock database directory: /var/lib/clamav/
ERROR: Can't lock database directory: /var/lib/clamav/
--------------------------------------


/var/log/exim4/panic.log
2009-02-22 13:11:35 1LbE7K-0001yq-JG malware acl condition: clamd: unable
to connect to UNIX socket /var/run/clamav/clamd.ctl (No such file or
directory)


ls -la /var/run/clamav
drwxr-xr-x  2 clamav clamav 4096 Feb 22 13:19 .
drwxr-xr-x 13 root   root   4096 Feb 22 13:19 ..
-rw-rw----  1 clamav clamav    5 Feb 22 13:19 freshclam.pid



the clam-deamon makes a CPU-load of about 80%.
Freshclam runs with 0% CPU Load.


Thanks for any help


--
Martin Windfuhr
Bernburger Straße 6

06108 Halle

Telefon: 0345 5 64 11-55
Fax:     0345 5 64 11-42
Handy:   0151 18 33 78 53