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.