Errors using MailScanner and Clamv

Discuss our MailScanner install script and MailScanner itself
Post Reply
tanger
Junior Member
Posts: 4
Joined: 06 Sep 2009, 20:29

Errors using MailScanner and Clamv

Post by tanger »

When i see the maillog i get this error :

[root@server1 ~]# tail -f /var/log/maillog
Sep 6 21:29:54 ns206464 MailScanner[8061]: Cannot find Socket (/tmp/clamd)
etc....

Pleas can u help me, i have :
cPanel 11.24.5-S38506 - WHM 11.24.2 - X 3.9
CENTOS 5.3 i686 standard on server1

And : csf v4.76 and mailscanner and clamv.

Thanks
HypNotic
Junior Member
Posts: 2
Joined: 12 Sep 2009, 08:41

Post by HypNotic »

tanger wrote:When i see the maillog i get this error :

[root@server1 ~]# tail -f /var/log/maillog
Sep 6 21:29:54 ns206464 MailScanner[8061]: Cannot find Socket (/tmp/clamd)
etc....

Pleas can u help me, i have :
cPanel 11.24.5-S38506 - WHM 11.24.2 - X 3.9
CENTOS 5.3 i686 standard on server1

And : csf v4.76 and mailscanner and clamv.

Thanks

Change This Setting "Clamd Socket" in "mailscanner.conf"

From: Clamd Socket = /tmp/clamd
To: Clamd Socket = /tmp/clamd.socket

Then it will work i Think.

Bye.
Sarah
Moderator
Posts: 934
Joined: 09 Dec 2006, 22:49

Post by Sarah »

Have you tried restarting clamd?

Code: Select all

service clamd restart
Are there any other log lines related to this error?

The clamd socket should actually just be /tmp/clamd, not /tmp/clamd.socket
HypNotic
Junior Member
Posts: 2
Joined: 12 Sep 2009, 08:41

Post by HypNotic »

Sarah wrote:Have you tried restarting clamd?

Code: Select all

service clamd restart
Are there any other log lines related to this error?

The clamd socket should actually just be /tmp/clamd, not /tmp/clamd.socket
I had the same problem my method worked for me.
Sarah
Moderator
Posts: 934
Joined: 09 Dec 2006, 22:49

Post by Sarah »

Tanger, check that the socket setting is the same in /usr/local/etc/clamd.conf and the MailScanner configuration. If you set it to something other than /tmp/clamd which is the default with our cPanel MailScanner install, it's possible there may be problems when you upgrade clamav and/or MailScanner in the future.
Post Reply