clamd service error
Waiting for "clamd"
""failed.
Service Error
The "clamd"
Startup Log
Starting Clam AntiVirus Daemon: ERROR: TCP: bind() error when trying to listen on [127.0.0.1]:3310: Address already in use
ERROR: LOCAL: Socket file /var/run/clamav/clamd.sock is in use by another process.
[FAILED]
clamd has failed. Contact your system administrator if the service does not automagically recover.
I have a problem with clamd service, I try with # /usr/local/cpanel/scripts/restartsrv_clamd but get this error:
-
Check your already running processes. See if clamd is already running (and possibly started by another user/system call). ps auxf |grep clam |grep -v grep
If there is another instance, kill it first. Eg.root 29698 0.0 2.4 359024 202924 ? Ssl 08:37 0:00 /usr/local/cpanel/3rdparty/bin/clamd kill -9 29698
You should be able to then successfully restart it./scripts/restartsrv_clamd Waiting for "clamd" to start ""waiting for "clamd" to initialize "" "finished. Startup Log Oct 21 08:43:30 localhost systemd[1]: Starting clamd antivirus daemon... Oct 21 08:43:41 localhost systemd[1]: Started clamd antivirus daemon. clamd started successfully.0 -
this is result root@carvin [~]# /scripts/restartsrv_clamd Waiting for "clamd" ""failed. Service Error The "clamd" Startup Log Starting Clam AntiVirus Daemon: [ OK ] clamd has failed. Contact your system administrator if the service does not automagically recover.0 -
How about the output from: ps auxf |grep clam |grep -v grep
Also, have you confirmed that clamav is installed? Another thing to check is make sure nothing else is listening (besides clam) on port 3310.sudo netstat -tulpn |grep 33100 -
root@carvin [/home/carvin]# ps auxf |grep clam |grep -v grep root 11708 2.8 7.8 694976 309688 ? Ssl 03:39 9:10 /usr/local/cpanel/3rdparty/bin/clamd root@carvin [/home/carvin]# sudo netstat -tulpn |grep 3310 root@carvin [/home/carvin]#0 -
Hello :) Please post the output from: rpm -qa|grep clam
Thank you.0 -
now work fine, thank you 0 -
now work fine, thank you
That's great news! For other members that may be experiencing similar issues can you please confirm the resolution to this issue?0 -
For other members that may be experiencing similar issues can you please confirm the resolution to this issue?
I've seen this happen in the past when a third-party instance of ClamAV was installed on the system. Thank you.0
Please sign in to leave a comment.
Comments
8 comments