Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 19
  1. #1
    Member
    Join Date
    Oct 2004
    Posts
    26

    Default cpsrvd failed @... A restart was attempted automagicly.

    Every to minutes I get the following email:

    cpsrvd failed @ Mon Oct 25 22:48:49 2004. A restart was attempted automagicly.


    Also none of my acocunts can open cpanel.

    I have tried everything I can think of. I have tried to restart the service (service cpsrvd start) but when I do I get the following error cpsrvd: unrecognized service. I have forced a rebuild of cp. I have tried to rebuild apache but it will not complete it just hangs in WHM. I am at my witts end. My NOC has been no help so far. Support ticket has been open for 12 hours on this and cPanel Inc will not help me until my NOC gives up. Can any one please help???

  2. #2
    Member
    Join Date
    Dec 2001
    Posts
    1,558

    Default

    What reports when you restart cpanel manually ?
    # service cpanel restart
    Beau Henderson

  3. #3
    Member Sinewy's Avatar
    Join Date
    May 2004
    Location
    Sydney, Australia
    Posts
    370

    Default

    if that fails: /scripts/upcp --force

  4. #4
    Member
    Join Date
    Oct 2004
    Posts
    26

    Default

    Done all that... After 16hours down my noc had me rebuild apache. Then apache crashed and then I could not evern serve web pages. So we ended up transfering all the accoutns to anther server and reinstalling os.

  5. #5
    sv1
    sv1 is offline
    Member
    Join Date
    Aug 2003
    Posts
    140

    Default

    root@*** [~]# service cpanel restart
    Stopping cPanel services: [ OK ]
    Stopping pop3 services: [ OK ]
    Stopping cPanel log services: [ OK ]
    Stopping cPanel Chat services: [ OK ]
    Stopping Melange Chat services: [ OK ]
    Stopping InterChange services: [FAILED]
    Stopping cPanel ssl services: [ OK ]

    Stopping mailman services: Traceback (most recent call last):
    File "/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl", line 102, in ?
    import socket
    File "/usr/lib/python2.2/socket.py", line 41, in ?
    from _socket import *
    ImportError: /lib/libssl.so.4: undefined symbol: krb5_cc_get_principal

    Starting SMTP Tweak: [ OK ]
    Starting eximstats: DBI connect('eximstats:localhost','eximstats',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /usr/local/cpanel/bin/eximstats line 262
    Can't Connect at /usr/local/cpanel/bin/eximstats line 265.
    [FAILED]
    Starting cPanel services: [ OK ]
    Starting cPanel Log services: [ OK ]
    Starting pop3 services: [ OK ]
    Starting cPanel Chat services: [ OK ]
    Starting Melange Chat services: [ OK ]
    Starting cPanel ssl services: [ OK ]
    Starting mailman services: Traceback (most recent call last):
    File "/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl", line 102, in ?
    import socket
    File "/usr/lib/python2.2/socket.py", line 41, in ?
    from _socket import *
    ImportError: /lib/libssl.so.4: undefined symbol: krb5_cc_get_principal


    Is what I get, what a mess I have going on :-(

  6. #6
    sv1
    sv1 is offline
    Member
    Join Date
    Aug 2003
    Posts
    140

    Default

    /scripts/upcp --force

    I get this error:

    Error 404 while fetching url http://httpupdate.cpanel.net//cpanel...cpanelsync.bz2
    ...Done

    bzip2: Compressed file ends unexpectedly;
    perhaps it is corrupted? *Possible* reason follows.
    bzip2: Success
    Input file = /scripts/.cpanelsync.bz2, output file = /scripts/.cpanelsync

    It is possible that the compressed file(s) have become corrupted.
    You can use the -tvv option to test integrity of such files.

    You can use the `bzip2recover' program to attempt to recover
    data from undamaged sections of corrupted files.

    bzip2: Deleting output file /scripts/.cpanelsync, if it exists.
    Fetching http://httpupdate.cpanel.net/cpanels...sync....Trying httpupdate.cpanel.net @ 69.72.164.151
    Error 404 while fetching url http://httpupdate.cpanel.net//cpanel...ts/.cpanelsync
    ...Done
    Download Failed... trying again..
    Unable to retrieve file
    ...Failed
    Fetching http://httpupdate.cpanel.net/cpanels....bz2....Trying httpupdate.cpanel.net @ 69.72.164.151
    Error 404 while fetching url http://httpupdate.cpanel.net//cpanel...cpanelsync.bz2
    ...Done

    bzip2: Compressed file ends unexpectedly;
    perhaps it is corrupted? *Possible* reason follows.
    bzip2: Success
    Input file = /scripts/.cpanelsync.bz2, output file = /scripts/.cpanelsync

  7. #7
    Registered User
    Join Date
    Mar 2004
    Posts
    1

    Lightbulb Fantastico / PHPBB / suexec

    Do you have Fantastico installed?
    Do you have domains running old PHPBB scripts?
    Do you have suexec compiled in apache?

    That can be the problem for cpsrvd failing. This process cpsrvd is your cpanel daemon, webmail daemon, and WHM daemon, in one process. Maybe some script is loading to much cpsrvd.

  8. #8
    Member
    Join Date
    Oct 2004
    Posts
    50

    Default

    Quote Originally Posted by pinha
    Do you have Fantastico installed?
    Do you have domains running old PHPBB scripts?
    Do you have suexec compiled in apache?

    That can be the problem for cpsrvd failing. This process cpsrvd is your cpanel daemon, webmail daemon, and WHM daemon, in one process. Maybe some script is loading to much cpsrvd.
    i got the same problem. the above stuff is not the sollution.

  9. #9
    Member
    Join Date
    Apr 2005
    Posts
    318

    Default

    My eximstats is started OK (Starting eximstats: [ OK ]) but when I check services trough WHM service status I see "eximstats failed". Process /usr/bin/perl /usr/local/cpanel/bin/eximstats is running normaly. Any ideas why?

  10. #10
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Have you tried restarting chkservd?

    service chkservd restart
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  11. #11
    Member
    Join Date
    Apr 2005
    Posts
    318

    Default

    Yes, and still shows "failed".


    ps copy/paste

    3632 ? S 0:00 /usr/bin/perl /usr/local/cpanel/bin/eximstats


    cpanel copy/paste

    eximstats failed

  12. #12
    Member
    Join Date
    Feb 2005
    Posts
    147

    Default

    did you install exim stats manually or did cpanel do it for you?

    /scripts/eximup --force
    - Paul Shepperd
    4 years cpanel exp. 6 years linux exp. 8 years security exp.
    6 years corporate startup/small business exp.
    If I responded, and you want to IM me you can do so, not saying I will for sure have time to help, but my aim is public, thats what its there for. My email is: ME @ pshepperd.com
    " Life is short, make money, and have a good time, live every day to its fullest."

  13. #13
    Member
    Join Date
    Apr 2005
    Posts
    318

    Default

    It came with cPanel. I have stopped it, and then when I try to enable it again and cPanel now always shows "failed" status

  14. #14
    Member
    Join Date
    Apr 2005
    Posts
    318

    Default

    I have just updated exim with /scripts/eximup --force and cpanel still shows "failed". No idea why.

  15. #15
    Member
    Join Date
    Feb 2005
    Posts
    147

    Default

    ok then did you restart checkservd? or checkserved i forget which one.
    - Paul Shepperd
    4 years cpanel exp. 6 years linux exp. 8 years security exp.
    6 years corporate startup/small business exp.
    If I responded, and you want to IM me you can do so, not saying I will for sure have time to help, but my aim is public, thats what its there for. My email is: ME @ pshepperd.com
    " Life is short, make money, and have a good time, live every day to its fullest."

Similar Threads & Tags
Similar threads

  1. Replies: 2
    Last Post: 08-01-2007, 08:34 PM
  2. named failed @ .... A restart was attempted automagicly.
    By homerj in forum New User Questions
    Replies: 1
    Last Post: 09-14-2006, 09:48 PM
  3. apache failed - A restart was attempted automagicly.
    By Vatoloco in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-11-2004, 12:28 AM
  4. interchange failed ... A restart was attempted automagicly.
    By dev.null in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-24-2003, 12:31 PM
  5. mysql failed. A restart was attempted automagicly.
    By uv3net in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-08-2003, 08:54 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube