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.

cPanel/WHM stopped working

Discussion in 'General Discussion' started by sjat, Mar 22, 2011.

  1. sjat

    sjat Member

    Joined:
    May 9, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    cPanelWHM has stopped working on my server last night 3.55 o´clock (GMT+1) (Maybe after the nightly update ?)

    I have tryed to restart the cPanel a lot of times without result - I have tryed to restart the server itself, both soft and hard reboot, without result :(

    Mailserver, bind, SQL,ftp and Apache is running, so the server is a kind of the way online, but all cPanel/WHM services is not running ( cPanel, WHM, webmail etc)
    Can anyone help me out of this problem ? - I´m getting these 2 error messages every five minutes:
    ------------------------------------------------------------------------------------------------
    Message 1:
    cpsrvd failed @ Tue Mar 22 04:29:29 2011. A restart was attempted automagically.
    Service Check Method: [tcp connect]

    Failure Reason: Unable to connect to port 2086
    ------------------------------------------------------------------------------------------------
    Message2:
    Native SSL support failed to pass the startup test. stunnel was started instead.
    The exact error was: [linktest=BinCheck ok ] [binary=/usr/local/cpanel/cpsrvd-ssl] [cpsrvd=Cwd object version 3.31 does not match $Cwd::VERSION 3.33.
    ]

    You should attempt run /usr/local/cpanel/bin/nativessl-install or submit a support request at https://tickets.cpanel.net/submit/
    -----------------------------------------------------------------------------------------------------
    And this one every hour:
    /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check:
    Data::Dumper object version 2.126 does not match $Data::Dumper::VERSION 2.128.
    -----------------------------------------------------------------------------------------------------

    When I try to start/restart cPanel with: /etc/init.d/cpanel start
    I get these messages:
    [Tue Mar 22 20:25:40 2011] Starting /usr/local/cpanel/libexec/tailwatch/tailwatchd daemon
    Log is at /usr/local/cpanel/logs/tailwatchd_log
    /etc/init.d/cpanel start
    Starting cPanel services: [ OK ]
    Starting cPanel brute force detector services: [ OK ]
    Starting cPanel dav services: [ OK ]
    Starting pop3 services: Waiting for cppop to shutdown ... ...Done
    Waiting for cppop-ssl to shutdown ... ...Done
    [ OK ]
    Starting cPanel Chat services:
    Starting Melange Chat services:
    Starting cPanel ssl services: [ OK ]
    Starting cPanel Queue services: [ OK ]
    Starting tailwatchd:
    Starting cPanel Log services:
    Starting mailman services: [ OK ]
    ----------------------------------------------------------------------------------------------------------
    In my eyes, it looks OK, but cPanel is still not running :(
    Any ideas ?


    Thanks in advance

    Regards Egon
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Do you have a firewall running? If you do, it likely doesn't have the ports opened. You can input the ports into the firewall to see if that's the issue:

    Code:
    /sbin/iptables -I INPUT -p tcp -m tcp --dport 2082:2083 -j ACCEPT
    /sbin/iptables -I INPUT -p tcp -m tcp --dport 2086:2087 -j ACCEPT
    /sbin/iptables -I INPUT -p tcp -m tcp --dport 2095:2096 -j ACCEPT
    If you are then able to access cPanel after adding the above, save these rules:

    Code:
    service iptables save
     
  3. sjat

    sjat Member

    Joined:
    May 9, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Thank you for your response.........
    But I have no firewall running and your suggestions dont change anything - I am still not able to access/cpanel - The server have been up and running with the very same configuration in 2 years now without problems, and then it suddenly stopped working last night - I really need help to figure this out :-(
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    It suggests native-ssl is the issue in the error message:

    If running /usr/local/cpanel/bin/nativessl-install doesn't work, then submit a ticket to us.
     
  5. sjat

    sjat Member

    Joined:
    May 9, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    /usr/local/cpanel/bin/nativessl-install doesn't work, and if i try to open a ticket, the support ask for a support access number. But when I try to recover the number (/usr/local/cpanel/cpanel -S) i get this message:

    --------------------------------------------------------------------------------------------------
    root@server2 [~]# /usr/local/cpanel/cpanel -S
    Cwd object version 3.31 does not match $Cwd::VERSION 3.33.
    ----------------------------------------------------------------------------------------------------

    What do I do now ?

    Egon
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Go to WHM > Support Center > Contact cPanel to see if you can locate a Support Access Number there. One should be listed at the bottom of that area.
     
  7. sjat

    sjat Member

    Joined:
    May 9, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Well......
    It is not an easy job, as I allready said:WHM is not working on the server ;-)
     
  8. sjat

    sjat Member

    Joined:
    May 9, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    I am in contact with your support now/submitted an ticket with the guys now so thank you VERY much for your help :)
    I hope they are able to fix the problem

    Egon
     
  9. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You are welcome and apologies about suggesting grabbing it from WHM. I wasn't even thinking. Originally, I didn't suggest WHM to get the ticket because it wasn't working, so definitely wouldn't have been able to access it there. Sorry about that.
     
  10. ciborro

    ciborro Registered

    Joined:
    Apr 28, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hello,
    I have exactly the same problem.
    What can I do, to resolve it?

    Regards.
    Przemek.
     
  11. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    The issue on that ticket was the the wrong openssl version was installed due to CentOS putting the wrong one into their repository. The mechanism to see this was case was running this command:

    Code:
    /usr/local/cpanel/cpsrvd-ssl
    If you receive this output:

    Code:
    Cwd object version 3.31 does not match $Cwd::VERSION 3.33.
    Then the wrong version of openssl is installed onto your distro. You can remove the existing rpm using this command:

    Code:
    rpm --justdb --nodeps -e openssl
    Then re-run "/scripts/upcp --force" to have it grab a new copy of openssl instead.

    If the above is not the case, then please submit a ticket about this issue.

    To see the report on the bug where CentOS had the wrong rpms for openssl, you can view this bug report of theirs:

    0004680: openssl 0.9.8e-12.el5_5.7 is missing the i686 package - CentOS Bug Tracker
     
  12. ciborro

    ciborro Registered

    Joined:
    Apr 28, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    Your solution work's perfect.
    Really thank you.

    Regards
    Przemek.
     
  13. prazgod

    prazgod Member

    Joined:
    Oct 19, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I also had this issue reported on a customers cPanel server today, after much research the solution I used to fix the problem was found at the following site:

    Native SSL on `hostname` Failed [Wiki]

    I followed those instructions and WHM over SSL is now available again.
     
Loading...

Share This Page