[Postfixbuch-users] ClamAV - Can't connect to UNIX socket /var/run/clamav/clamd.ctl

Martin Meier moisling at gmail.com
Mo Feb 18 19:25:13 CET 2008


Hallo Liste,

nach knapp einem Jahr Uptime spinnt nun mein Server - ich habe keinerlei
Änderungen in der letzten Zeit vorgenommen un bekomme nun die Meldung:

Can't connect to UNIX socket /var/run/clamav/clamd.ctl

Hier mal ein Auszug aus dem Logfile:

Feb 18 19:03:28 Wuz imapd: LOGIN, user=foo at bar.de, 
ip=[::ffff:85.233.22.20], protocol=IMAP
Feb 18 19:04:14 Wuz amavis[2395]: (02395-01) (!) /usr/bin/clamscan is 
taking longer than 315 s and will be killed
Feb 18 19:04:14 Wuz amavis[2395]: (02395-01) (!) killing process [3059] 
running /usr/bin/clamscan
Feb 18 19:04:14 Wuz amavis[2394]: (02394-01) (!) /usr/bin/clamscan is 
taking longer than 315 s and will be killed
Feb 18 19:04:14 Wuz amavis[2394]: (02394-01) (!) killing process [3060] 
running /usr/bin/clamscan
Feb 18 19:04:14 Wuz amavis[2394]: (02394-01) (!) run_av: timed out
Feb 18 19:04:14 Wuz amavis[2394]: (02394-01) (!!) ClamAV-clamscan 
av-scanner FAILED: /usr/bin/clamscan timed out at (eval 48) line 462.
Feb 18 19:04:14 Wuz amavis[2394]: (02394-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: No such file or 
directory) at (eval 48) line 268.; ClamAV-clamscan av-scanner FAILED: 
/usr/bin/clamscan timed out at (eval 48) line 462.
Feb 18 19:04:14 Wuz amavis[2394]: (02394-01) (!) PRESERVING EVIDENCE in 
/var/lib/amavis/tmp/amavis-20080218T185852-02394
Feb 18 19:04:14 Wuz amavis[2395]: (02395-01) (!) run_av: timed out
Feb 18 19:04:14 Wuz amavis[2395]: (02395-01) (!!) ClamAV-clamscan 
av-scanner FAILED: /usr/bin/clamscan timed out at (eval 48) line 462.
Feb 18 19:04:14 Wuz amavis[2395]: (02395-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: No such file or 
directory) at (eval 48) line 268.; ClamAV-clamscan av-scanner FAILED: 
/usr/bin/clamscan timed out at (eval 48) line 462.
Feb 18 19:04:14 Wuz amavis[2395]: (02395-01) (!) PRESERVING EVIDENCE in 
/var/lib/amavis/tmp/amavis-20080218T185852-02395
Feb 18 19:04:14 Wuz postfix/smtp[2765]: 2BF1C328082: to=<foo at bar.de>, 
relay=127.0.0.1[127.0.0.1]:10024, delay=694, delays=372/0.31/0.02/322, 
dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 
Error in processing, id=02394-01, 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: No such file or directory) at (eval 48) line 
268.; ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan timed out at 
(eval 48) line 462. (in reply to end of DATA command))
Feb 18 19:04:14 Wuz postfix/smtp[2767]: 7168E3280B3: to=<foo at bar.de>, 
relay=127.0.0.1[127.0.0.1]:10024, delay=694, delays=371/0.18/0.01/322, 
dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 
Error in processing, id=02395-01, 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: No such file or directory) at (eval 48) line 
268.; ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan timed out at 
(eval 48) line 462. (in reply to end of DATA command))
Feb 18 19:04:15 Wuz amavis[2394]: (02394-02) (!) ClamAV-clamd: Can't 
connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or 
directory, retrying (2)
Feb 18 19:04:15 Wuz amavis[2395]: (02395-02) (!) ClamAV-clamd: Can't 
connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or 
directory, retrying (2)
Feb 18 19:04:21 Wuz amavis[2394]: (02394-02) (!!) 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: No such file or 
directory) at (eval 48) line 268.
Feb 18 19:04:21 Wuz amavis[2394]: (02394-02) (!!) WARN: all primary 
virus scanners failed, considering backups
Feb 18 19:04:22 Wuz amavis[2395]: (02395-02) (!!) 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: No such file or 
directory) at (eval 48) line 268.
Feb 18 19:04:22 Wuz amavis[2395]: (02395-02) (!!) WARN: all primary 
virus scanners failed, considering backups
Feb 18 19:04:23 Wuz imapd: Connection, ip=[::ffff:85.233.22.20]
Feb 18 19:04:25 Wuz imapd: LOGIN, user=root at Wuz.de, 
ip=[::ffff:85.233.22.20], protocol=IMAP

Ich hoffe mir kann jemand an dieser Stelle helfen, da nicht genau weiß
woran es liegt - clam und amavis laufen soweit ich es sehen kann.

Schöne Grüße,
Martin



Mehr Informationen über die Mailingliste Postfixbuch-users