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.

SIM keeps restarting XINETD

Discussion in 'General Discussion' started by spoffle, Jul 2, 2008.

  1. spoffle

    spoffle Member

    Joined:
    Nov 13, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    I use http://rfxnetworks.com/sim.php on my cpanel server and it all worked fine until the last week where each morning 6am GMT I get a status warning telling me that XINET was down and that it had to restart it.

    Has something changed? Is there now something weird about XINETD.

    My cpanel is stable and set to automatically update.

    EDIT:

    In fact it looks like something ALWAYS shuts it down and then SIM restarts it looking at a section of messages:-

    Jul 2 05:57:02 tkey-29dd xinetd: xinetd shutdown succeeded
    Jul 2 06:00:01 tkey-29dd xinetd: xinetd shutdown failed
    Jul 2 06:00:01 tkey-29dd xinetd: xinetd startup succeeded

    What is causing my server to shutdown xinetd in the first place?
     
    #1 spoffle, Jul 2, 2008
    Last edited: Jul 2, 2008
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You shouldn't really use SIM on a cPanel servers as the cPanel chkservd process takes care of restarting failed services. If you do use it, make sure it isn't checking any of the processes that chkservd does otherwise you can end up with race-conditions which I've seen many times with SIM.
     
  3. spoffle

    spoffle Member

    Joined:
    Nov 13, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Thank you very much for your reply.

    How can I find out which services chkservd keeps a check on? I assume that one of them would be xinetd!

    The reason I installed SIM was because one day I noticed apache was down and cpanel had not brought it back up so to speak.
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Rule of thumb is that if it is listed in the Service Status section of WHM (WHM -> Server Status -> Service Status) then it is monitored by chkservd and anything not listed there is not monitored by chkservd.
     
  5. spoffle

    spoffle Member

    Joined:
    Nov 13, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    I've just checked and it shows simply:-

    cpsrvd (presumably the cpanel server itself)
    named (name server)

    and then memory usage, server load and disk usage, but nothing else!

    So xinetd, apache, mysql, etc. etc. is not monitored by chkservd?

    In fact the only overlap between SIM and chkservd I can see is checking that named is up and running.

    I can't see how this explains my original query, i.e. why all of a sudden something (cpanel?) is shutting down xinetd at 5:57 GMT every morning and 3 minutes later SIM notices this and restarts it.
     
  6. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Apache, Exim and several other services (but not xinetd) should be monitored. I recommend submitting a support ticket: http://tickets.cpanel.net/submit
     
  7. Kevinfrom

    Kevinfrom Well-Known Member

    Joined:
    Jan 18, 2008
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    xinetd is killed by /scripts/disable_unused_xinetd which is ran during upcp.

    There is a fix for this due out in next Builds that will check if xinetd is running and not kill it if any sockets are open.

    You can add a restart to /scripts/postupcp in the meantime until this is fixed.
     
  8. spoffle

    spoffle Member

    Joined:
    Nov 13, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Thank you very much Kevin for your help in this matter, just the ticket! ;)
     
Loading...

Share This Page