Skip to main content

clamd service error

Comments

8 comments

  • User Avatar
    David P. Levey Jr.
    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
  • User Avatar
    upsforum
    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
  • User Avatar
    David P. Levey Jr.
    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 3310
    0
  • User Avatar
    upsforum

    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
  • User Avatar
    cPanelMichael
    Hello :) Please post the output from:
    rpm -qa|grep clam
    Thank you.
    0
  • User Avatar
    upsforum
    now work fine, thank you
    0
  • User Avatar
    David P. Levey Jr.
    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
  • User Avatar
    cPanelMichael
    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.