Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

cppop chkservd failure on RHEL

Discussion in 'General Discussion' started by jsteel, Mar 7, 2004.

  1. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Atlanta, GA
    On the RHEL ES boxes, chkservd keeps trying to restart cpop even though it is running. We noticed the /etc/chkserv.d/cppop file was looking for the string ".OK", however, RHEL ES is returning "+OK". We changed it int he file and restart chkservd, however it keeps failing again. We see the following in the chkservd.log:

    [Sun Mar 7 21:55:25 2004] Service check ....apache [+]...cpanel [+]...cppop [cppop: [+OK != +OK]
    -Restarting cppop....


    Last time I checked, "+OK" does in fact equal "+OK". Any ideas on how to fix this?
     
  2. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Atlanta, GA
    I can't possibly be the only one running RHEL ES having this issue. Tell me it isn't so.
     
  3. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,574
    Likes Received:
    3
    Trophy Points:
    343
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Hey jsteel;

    Actually I haven't seen this on RHE 3.0 servers. The only thing I can think of is to see if you can telnet port 110 on the localhost. That's basically what chkservd does to check on status. I've also found sometimes stopping both chkservd and mail, then restart mail, wait 2 minutes then start chkservd again corrects these strange errors.

    [Mon Mar 8 17:35:37 2004] Service check ....apache [+]...bind [+]...cpanel [+]...cppop [+]...exim [+]...eximstats [+]...ftpd [+]...imap [+]...mysql [+]...syslogd [+]...webmail [+]...whostmgr [+]...Done


    service[cppop]=110,QUIT,.OK,/usr/local/cpanel/etc/init/safekill cppop;/usr/local/cpanel/bin/cppop
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #3 dgbaker, Mar 8, 2004
    Last edited: Mar 8, 2004
  4. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Atlanta, GA
    Yes, I can telnet, which is how I found that the response is "+OK" rather than ".OK" as it is configured in the default cppop chkservd file.

    Nothing seems to fix it. I've tried countless patterns to restarts.

    Thanks though.
     
  5. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Atlanta, GA
    Well after about 2 dozen various stop/starts/restarts. Things have suddenly started working. Damn that was annoying.
     
  6. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,574
    Likes Received:
    3
    Trophy Points:
    343
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Gotta love those mysterious fixes. :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice