clamd problems after update

Ronny T. Lampert telecaadmin at gmail.com
Fri May 16 11:32:13 IST 2008


> May 15 10:39:43 mail-gw MailScanner[27690]: Spam Checks: Found 1 spam 
> messages
> May 15 10:39:43 mail-gw MailScanner[27690]: Virus and Content Scanning: 
> Starting
> May 15 10:39:43 mail-gw MailScanner[28651]: ERROR:: COULD NOT CONNECT TO 
> CLAMD, RECOMMEND RESTARTING DAEMON
> May 15 10:39:43 mail-gw MailScanner[27690]: Clamd::ERROR:: COULD NOT 
> CONNECT TO CLAMD, RECOMMEND RESTARTING DAEMON :: .
> May 15 10:39:43 mail-gw MailScanner[27690]: Virus Scanning: Clamd found 
> 1 infections

You can try the util "clamdscan" (NOT clamscan) which will contact clamd 
to have files scanned.
If that works your clamd is alive. If it says something along

connect(): No such file or directory
WARNING: Can't connect to clamd.

then your clamd is broken.
Try starting it with

$> /etc/init.d/clamd start

If again that doesn't work - try locating clamd (I don't know where the 
clam-sa package is installing it, but I take it it's 
/usr/local/sbin/clamd) and start it manually to see what happens.

BR,
Ronny


More information about the MailScanner mailing list