Error: OpenSUSE - Can't connect to UNIX socket /var/run/clamav/clamd: No such file or directory

You get the following error in your mail log:

Jul 7 09:13:35 hades amavis[21674]: (21674-01) (!!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd (Can't connect to UNIX socket /var/run/clamav/clamd: No such file or directory) at (eval 101) line 325.



Open /etc/clamd.conf...

vi /etc/clamd.conf

... and change the line LocalSocket /var/lib/clamav/clamd-socket to LocalSocket /var/run/clamav/clamd:

LocalSocket /var/run/clamav/clamd

Then restart clamd.

Falko Timme

About Falko Timme

Falko Timme is an experienced Linux administrator and founder of Timme Hosting, a leading nginx business hosting company in Germany. He is one of the most active authors on HowtoForge since 2005 and one of the core developers of ISPConfig since 2000. He has also contributed to the O'Reilly book "Linux System Administration".

Share this page:

Suggested articles

0 Comment(s)

Add comment