clamscan error
Hi
IS there any fix for this issue ? I need to get clamdscan running and have to load some custom db as well.
Hi
Do you have more details of what it took to fix this issue ?
#########
[root@latest ~]# /scripts/restartsrv_clamd;
warn [restartsrv_clamd] [28093] TIME 1529196477 UID 0 clobbered stale lock file "/var/run/restartsrv_clamd.lock" (NAME "/usr/local/cpanel/scripts/restartsrv_clamd", UID 0) written by PID 28034 at 1529196374
Service "clamd" is already stopped.
info [restartsrv_clamd] systemd failed to start the service "clamd" (The "/usr/bin/systemctl" command (process 28098) reported error number 1 when it ended.): Job for clamd.service failed because a timeout was exceeded. See "systemctl status clamd.service" and "journalctl -xe" for details.
Waiting for "clamd" to start "failed.
Cpanel::Exception::Services::StartError
Service Status
Service Error
(XID m4umwc) The "clamd" service failed to start.
Startup Log
Jun 17 00:47:58 latest. systemd[1]: Starting clamd antivirus daemon...
Jun 17 00:49:28 latest. systemd[1]: clamd.service start operation timed out. Terminating.
Jun 17 00:49:28 latest.systemd[1]: Failed to start clamd antivirus daemon.
Jun 17 00:49:28 latest.systemd[1]: Unit clamd.service entered failed state.
Jun 17 00:49:28 latest. systemd[1]: clamd.service failed.
clamd has failed. Contact your system administrator if the service does not automagically recover.
#######
Do you have more idea on this error
[root@latest ~]# clamdscan /etc/hosts
ERROR: Could not lookup : Servname not supported for ai_socktype
-
HI @NixTree That really depends on what's causing the issue. Can you show the output of the following: systemctl status clamd.service journactl -xe0 -
This is fixed as it was an issue with clamdscan not starting and have to fix the clamd socket file and folder permissions. I have had changed the location to a custom one. 0 -
Hi @NixTree Thanks for updating us and letting us know how you resolved the issue. 0
Please sign in to leave a comment.
Comments
3 comments