Sentora Support Forums

Full Version: clamd.sock: No such file or directory
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to fix this issue please. Mail receiving fail.

Oct 19 02:09:42 svr amavis[2284]: (02284-13) (!)connect to /var/spool/amavisd/clamd.sock failed, attempt #1: Can't connect to a UNIX socket /var/spool/amavisd/clamd.sock: 2
Oct 19 02:09:42 svr postfix/smtpd[2853]: disconnect from mail-sg2apc01on0122.outbound.protection.outlook.com[xx.xx.xx.xx]
Oct 19 02:09:43 svr amavis[2284]: (02284-13) (!)connect to /var/spool/amavisd/clamd.sock failed, attempt #1: Can't connect to a UNIX socket /var/spool/amavisd/clamd.sock: No such file or directory
Oct 19 02:09:43 svr amavis[2284]: (02284-13) (!)ClamAV-clamd: All attempts (1) failed connecting to /var/spool/amavisd/clamd.sock, retrying (2)
Oct 19 02:09:49 svr amavis[2284]: (02284-13) (!)connect to /var/spool/amavisd/clamd.sock failed, attempt #1: Can't connect to a UNIX socket /var/spool/amavisd/clamd.sock: No such file or directory
Oct 19 02:09:49 svr amavis[2284]: (02284-13) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/spool/amavisd/clamd.sock (All attempts (1) failed connecting to /var/spool/amavisd/clamd.sock) at (eval 113) line 608.\n
Oct 19 02:09:49 svr amavis[2284]: (02284-13) (!)WARN: all primary virus scanners failed, considering backups
you have issues here over CLAMAV install you made.

This is not the default setup that sentora offer.

M B
Hi found one that has the same error

https://www.howtoforge.com/community/thr...-ba.44828/

Code:
in amavisd.conf I change the deamon to var/run/clamav/clamd.ctl # ### http://www.clamav.net/ ['ClamAV-clamd', #\&ask_daemon, ["CONTSCAN {}\n", "/var/spool/amavisd/clamd.sock"], \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.ctl"], and in the clamd.conf I change the deamon to var/run/clamav/clamd.ctl # Path to a local socket file the daemon will listen on. # Default: disabled (must be specified by a user) #LocalSocket /tmp/clamd.socket LocalSocket /var/run/clamav/clamd.ctl now look at my log