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.

httpd, lfd, httpd, cpsrvd, lfd failed and restarted multiple times. What now?

Discussion in 'General Discussion' started by tnedator, Nov 15, 2008.

  1. tnedator

    tnedator Member

    Joined:
    Oct 20, 2007
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Cpanel installed on Centos 5.2 on a dedicated server.

    This morning, I received multiple emails about services being restarted. About 20 minutes apart, with nothing that I coudl see going on with the server, I had multiple services fail and restart.

    How do I trouble shoot this to see if there is a problem?

     
  2. hzJayJ

    hzJayJ Well-Known Member

    Joined:
    Nov 14, 2008
    Messages:
    76
    Likes Received:
    1
    Trophy Points:
    8
    Are you using any firewalls like APF/CSF? Please make sure that the firewall is not blocking general ports like 21,25,80,2086 etc

    Also check /var/log/messages, /usr/local/cpanel/logs/error_log, /var/log/chkservd.log for the exact error.
     
  3. onknown

    onknown Member

    Joined:
    Feb 1, 2008
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ukraine
    A restart was attempted automagically. Service Check Method: [check command]

    Hi,

    Every day I am receiving many messages such as:

    nameserver failed @ Wed Dec 17 07:20:15 2008. A restart was attempted automagically.
    Service Check Method: [check command]

    imap failed @ Wed Dec 17 07:20:15 2008. A restart was attempted automagically.
    Service Check Method: [check command]

    for all services

    Here is the part of /var/log/chkservd.log

    ---------------------------------------------------
    Service Check Started
    [2008-12-17 13:30:18 UTC] Service check ....pop [[check command:N/A][tcp connect:+]]...named [[check command:-][tcp connect:N/A]Restarting named....
    ]...mysql [[check command:+][tcp connect:N/A]]...imap [[check command:-][tcp connect:N/A]Restarting imap....
    ]...httpd [[check command:N/A][tcp connect:+]]...ftpd [[check command:-][tcp connect:N/A]Restarting ftpd....
    system: /scripts/restartsrv_ftpserver
    ]...exim [[check command:-][tcp connect:N/A]Restarting exim....
    ]...cpsrvd [[check command:N/A][tcp connect:+]]...Done
    Service Check Finished
    Loading services .....named....mysql....exim....httpd....cpsrvd....ftpd....pop....imap..Done
    Loading services .....named....mysql....exim....httpd....cpsrvd....ftpd....pop....imap..Done
    Service Check Started
    [2008-12-17 13:35:09 UTC] Service check ....pop [[check command:N/A][tcp connect:+]]...named [[check command:-][tcp connect:N/A]Restarting named....
    ]...mysql [[check command:+][tcp connect:N/A]]...imap [[check command:-][tcp connect:N/A]Restarting imap....
    ]...httpd [[check command:N/A][tcp connect:+]]...ftpd [[check command:-][tcp connect:N/A]Restarting ftpd....
    system: /scripts/restartsrv_ftpserver
    ]...exim [[check command:-][tcp connect:N/A]Restarting exim....
    ]...cpsrvd [[check command:N/A][tcp connect:+]]...Done
    Service Check Finished
    Service Check Started
    [2008-12-17 13:40:10 UTC] Service check ....pop [[check command:N/A][tcp connect:+]]...named [[check command:-][tcp connect:N/A]Restarting named....
    ]...mysql [[check command:+][tcp connect:N/A]]...imap [[check command:-][tcp connect:N/A]Restarting imap....
    ]...httpd [[check command:N/A][tcp connect:+]]...ftpd [[check command:-][tcp connect:N/A]Restarting ftpd....
    system: /scripts/restartsrv_ftpserver
    ]...exim [[check command:-][tcp connect:N/A]Restarting exim....
    ]...cpsrvd [[check command:N/A][tcp connect:+]]...Done
    Service Check Finished
    Service Check Started
    [2008-12-17 13:45:11 UTC] Service check ....pop [[check command:N/A][tcp connect:+]]...named [[check command:-][tcp connect:N/A]Restarting named....
    ]...mysql [[check command:+][tcp connect:N/A]]...imap [[check command:-][tcp connect:N/A]Restarting imap....
    ]...httpd [[check command:N/A][tcp connect:+]]...ftpd [[check command:-][tcp connect:N/A]Restarting ftpd....
    system: /scripts/restartsrv_ftpserver
    ]...exim [[check command:-][tcp connect:N/A]Restarting exim....
    ]...cpsrvd [[check command:N/A][tcp connect:+]]...Done
    Service Check Finished

    ---------------------------------------------------

    Could someone help me?
     
  4. onknown

    onknown Member

    Joined:
    Feb 1, 2008
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ukraine
    WHM -> "Service Status" shows:

    exim (exim-4.69-6_cpanel_maildir) failed
    ftpd failed
    httpd (1.3.41 (Unix)) up
    imap failed
    mysql (5.0.51a-community) up
    named (9.2.4) failed

    But all these services are up on the server.
    I have updated cpanel, but still whos incorrect status.

    Please help:confused:!!!!!!!!!!!!!!
     
Loading...

Share This Page