Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jan 2010
    Posts
    52

    Default Service Status for Exim failed

    Dear All,

    we've just reinstall our box, and using cPanel 11.25.0

    when we look at Service Status, it displayed that
    Code:
    exim (exim-4.69-23.1_cpanel_maildir)	failed
    with a scary red exclamation. But the good news is I think exim is running.

    Code:
       12345        ?        Ss     0:00 /usr/sbin/exim -bd -q60m
    I've try to send email, and it instantly delivered. I can see the mail status and mail queue too. And I see nothing wrong at the log file.

    Can anyone tell me what happens? And if it's only WHM that wrongly read the status, what should I do to make it shows a nice green check?

    regards,

    YoChan

  2. #2
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

    Default chkservd

    The service that displays the information in Main >> Server Status >> Service Status is chkservd, which is part of tailwatchd. chkservd's configuration is stored in /etc/chkserv.d, and it writes files with each service's status to /var/run/chkservd. The files in chkservd are used to display the status in Main >> Server Status >> Service Status.

    Each service for which monitoring is enabled has a file in /etc/chkserv.d, and a file in /var/run/chkservd. The file for the service in /etc/chkserv.d tells chkservd how to check it, and what to do if it is detected as down, and the file for the service in /var/run/chkservd simply has a plus sign (+) or a minus (-) sign, regarding whether the service is detected as "up" or "down."

    From what you describe, it sounds like Exim is probably working and chkservd is wrongly detecting it as down. What you can do is try removing the file /etc/chkserv.d/exim. Then, use Main >> Service Configuration >> Service Manager, make sure monitoring is enabled, and click "Save" on the page. This will regenerate the /etc/chkserv.d/exim file.

    You can monitor the chkservd log to get a better idea of why Exim (or any other service) is being detected as failed. I like to restart tailwatchd and then watch the chkservd log:

    Code:
    # /scripts/restartsrv_tailwatchd & tail -f /var/log/chkservd.log
    This will show you detailed information from chkservd's service checks.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

  3. #3
    Member
    Join Date
    Jan 2010
    Posts
    52

    Default Thanks!

    Dear cPanelJared,

    Thanks a lot. It's really is a complete answer.
    It's more than what I've expected. It's so much better.
    And yes, it works like a charm.

    Thanks again for being a blessing.

    warm regards,

    YoChan

  4. #4
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

    Default You are very welcome!

    I am glad I was able to help. Thank you.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

Similar Threads & Tags
Similar threads

  1. Service Status for Exim failed (again)
    By yoachan in forum E-mail Discussions
    Replies: 2
    Last Post: 11-05-2010, 01:33 AM
  2. Service Status show failed to exim, but it is working fine
    By IRCBrasil in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 09-20-2007, 10:18 AM
  3. Service Status reports exim failed, but it's running..
    By fikse in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 09-24-2006, 11:54 PM
  4. Service status says: exim-4.52-15_cpanel_maildir failed
    By driverC in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-31-2006, 07:35 AM
  5. Cpanel - General Service Info- Service Status- FAILED
    By 1bwh in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-04-2004, 12:36 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube