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

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Tue, 2011-08-23 08:19. :: Errors

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.

 

Solution

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.


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.