This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

clamd.sock: No such file or directory
#1
clamd.sock: No such file or directory
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 Forum Add-ons and Usage: 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 Forum Add-ons and Usage: 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 Forum Add-ons and Usage: 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
Reply
Thanks given by:
#2
RE: clamd.sock: No such file or directory
you have issues here over CLAMAV install you made.

This is not the default setup that sentora offer.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:
#3
RE: clamd.sock: No such file or directory
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
Sentora 1.0.3 on [Image: DO_Logo_Horizontal_Blue-3db19536.png]

-= Github =-  -= My Repo =-

My Modules
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
How to set up File Manger for Sentora? donaldaugust 1 3 ,284 01-11-2022, 05:01 AM
Last Post: Nigel
Site Not Updating changes made in The HTML file me7leelee 4 8 ,194 05-20-2020, 06:29 PM
Last Post: 5050
How to give the cliens file manager access to their respective domain directory vsvinit0 4 9 ,199 10-09-2019, 10:05 PM
Last Post: vsvinit0

Forum Jump:


Users browsing this thread: 1 Guest(s)