sasapix
asked on
Problem with clamav socket
Hi, I have a problem with clamav-0.95.2 on linux OS, I have use clamav with freshclam/postfix/amavisd- new and in log file I have:
Apr 16 11:30:51 mail amavis[2321]: (02321-02) ClamAV-clamd av-scanner FAILED: Too many retries to talk to /tmp/clamd (Can't connect to UNIX socket /tmp/clamd: No such file or directory) at (eval 74) line 257.
and on boot I have:
clamd: /bin/bash: line 1 File size limit exceeded /tmp/clamd
in /etc/init.d/clamd I have:
ulimit -f 30000
I can add that I have made upgrade from 0.92.1 to 0.95.2 on three mail server and on all mail server I have the same problem about:
Apr 16 11:30:51 mail amavis[2321]: (02321-02) ClamAV-clamd av-scanner FAILED: Too many retries to talk to /tmp/clamd (Can't connect to UNIX socket /tmp/clamd: No such file or directory) at (eval 74) line 257.
also if I use in amavisd.conf:
['ClamAV-clamd',
\&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.soc k"]
I have the same error message.
Thanks.
-
Salvatore.
Apr 16 11:30:51 mail amavis[2321]: (02321-02) ClamAV-clamd av-scanner FAILED: Too many retries to talk to /tmp/clamd (Can't connect to UNIX socket /tmp/clamd: No such file or directory) at (eval 74) line 257.
and on boot I have:
clamd: /bin/bash: line 1 File size limit exceeded /tmp/clamd
in /etc/init.d/clamd I have:
ulimit -f 30000
I can add that I have made upgrade from 0.92.1 to 0.95.2 on three mail server and on all mail server I have the same problem about:
Apr 16 11:30:51 mail amavis[2321]: (02321-02) ClamAV-clamd av-scanner FAILED: Too many retries to talk to /tmp/clamd (Can't connect to UNIX socket /tmp/clamd: No such file or directory) at (eval 74) line 257.
also if I use in amavisd.conf:
['ClamAV-clamd',
\&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.soc
I have the same error message.
Thanks.
-
Salvatore.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.