OpenSUSE – Can’t connect to UNIX socket /var/run/clamav/clamd: No such file or directory
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:if(typeof __ez_fad_position != ‘undefined’){__ez_fad_position(‘div-gpt-ad-howtoforge_com-box-3-0’)};
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.
if(typeof __ez_fad_position != ‘undefined’){__ez_fad_position(‘div-gpt-ad-howtoforge_com-medrectangle-3-0’)};
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.