On Wednesday 20 Feb 2008, rajnish kumar wrote:
> *I today find one strange thing,  Whenever i restart my mail server
> and i tried to send mails i got following followings error's in
> mail.log ike this and mail stock in queue
>
> [several log messages snipped]
> Feb 20 19:10:50 mailtest amavis[2195]: (02195-01) (!) ClamAV-clamd:
> Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file
> or directory, retrying (2)

Either clamd is not running, or amavis and clamd have different ideas 
about the location of the socket they use to communicate.

> Feb 20 19:10:56 mailtest amavis[2195]: (02195-01) (!!) 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 20 19:10:56 mailtest amavis[2195]: (02195-01) (!!) WARN: all
> primary virus scanners failed, considering backups

You need to make sure that (a) clamd is running, and (b) the same socket 
file name is configured for both amavis and clamd.

Regards,

-- Raju
-- 
Raj Mathur                [EMAIL PROTECTED]      http://kandalaya.org/
 Freedom in Technology & Software || February 2008 || http://freed.in/
       GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[email protected]/

Reply via email to