We help IT Professionals succeed at work.
Get Started

Problem with clamav socket

584 Views
Last Modified: 2013-12-06
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.sock"]

I have the same error message.

Thanks.
-
 Salvatore.
Comment
Watch Question
Commented:
This problem has been solved!
Unlock 1 Answer and 1 Comment.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE