The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

clamd failed

Discussion in 'General Discussion' started by PHP Warner, Aug 7, 2006.

  1. PHP Warner

    PHP Warner Member

    Joined:
    Aug 6, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I've a little problem with clamd. On the WHM >> Server Status >> Service Status page clamd status is failed with red alert. I've tried to restart with:

    Code:
    /scripts/restartsrv clamd
    And the result is:

    Code:
    Waiting for clamd to restart..............finished.
    
    
    clamd started ok
    But, these isn't any change on Service Status page. Is the clamd working or not working? How can I fix this?

    Thanks now.
     
  2. asterisk

    asterisk Well-Known Member

    Joined:
    Nov 11, 2005
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    To double check, do the following as root:

    ps aux | grep clamd

    and tell me what you see please. Sometimes the service statuses do not update properly and it may be awhile before you see it showing the correct status.

    Hope this helps.
     
  3. PHP Warner

    PHP Warner Member

    Joined:
    Aug 6, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Hello asterisk,

    Your command result is:

    Code:
    root     56548  0.0  1.0 20424 19528  ??  Ss    1:08PM   0:00.05 /usr/sbin/clamd
    One note: I've installed clamav with Addon Modules.
     
  4. PHP Warner

    PHP Warner Member

    Joined:
    Aug 6, 2006
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Please help me :)
     
  5. Dillard

    Dillard Well-Known Member

    Joined:
    Feb 26, 2003
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    The Netherlands
    I've the same issue. Don't know a solution yet, but if you remove /var/run/chkservd/clamd you won't see it popup in the service status anymore.
     
  6. mctDarren

    mctDarren Well-Known Member

    Joined:
    Jan 6, 2004
    Messages:
    664
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    New Jersey
    cPanel Access Level:
    Root Administrator
    That's the same as sweeping the dirt under the rug so your visitors won't see it. The problem will still be there.

    Try killing freshclam, maybe it's hung:
    killall freshclam

    Try forcing an update and see what you get:
    freshclam

    Try forcing an exim update too if you get here:
    /scripts/eximup --force

    Then restart:
    service exim stop
    service exim start
     
  7. Dillard

    Dillard Well-Known Member

    Joined:
    Feb 26, 2003
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    The Netherlands
    You're right, mine wasn't a elegant solution, I'll try yours now, didn't think of freshclam :)
     
Loading...

Share This Page