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 down, web sites OK

Discussion in 'General Discussion' started by andrew green, Jun 5, 2009.

  1. andrew green

    andrew green Member

    Joined:
    Apr 5, 2009
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    cPanel and whm have gone down all of a sudden, however all the hosted sites are still up and function fine.

    When trying to access cPanel through a browser, one gets:
    Failed to Connect
    The connection was refused when attempting to contact www.idealista.com.au:2082.

    It seems this occured at random. All I can think is that I had to force close putty as it froze whilst during an ssh session.

    Any idea how to fix? or what could have caused this?

    Tried restarting the cPanel service, see output below:


    root@syd1-0047dsb [/var/lib/pgsql/data]# /etc/rc.d/init.d/cpanel restart
    Stopping tailwatchd:
    !!
    ATTENTION ATTENTION ATTENTION ATTENTION

    Cpanel::TailWatch::Eximstats appears to have unprocessed SQL in /var/cpanel/sql/eximstats.sql.

    When mysql is unable to execute a query they are logged for processing later.

    Eventually these SQL files may be handled automatically and this message will not appear.

    In the meantime you can execute the queries as root with something like this:

    mv /var/cpanel/sql/eximstats.sql /var/cpanel/sql/eximstats.sql.tmp_working_copy
    /usr/local/cpanel/libexec/tailwatchd --restart
    mysql eximstats < /var/cpanel/sql/eximstats.sql.tmp_working_copy

    Once you are sure all is well you can remove /var/cpanel/sql/eximstats.sql.tmp_working_copy


    ATTENTION ATTENTION ATTENTION ATTENTION
    !!

    2009-06-05 06:47:30 UTC [main] Current process '20239' stopped
    [ OK ]
    Stopping cPanel services: Waiting for cpsrvd to shutdown ... ...Done
    Waiting for cpsrvd-ssl to shutdown ... ...Done
    [ OK ]
    Stopping cPanel dav services: [Fri Jun 5 16:47:30 2009] Current process '20206' stopped
    Waiting for cpdavd to shutdown ... ...Done
    Waiting for cpdavd-ssl to shutdown ... ...Done
    [ OK ]
    Stopping cPanel brute force detector services: Waiting for cphulkd.pl to shutdown ... ...Done
    Waiting for cPhulkd to shutdown ... ...Done
    Waiting for cphulkd to shutdown ... ...Done
    [ OK ]
    Stopping pop3 services: Waiting for cppop to shutdown ... ...Done
    Waiting for cppop-ssl to shutdown ... ...Done
    [ OK ]
    Stopping cPanel log services: [ OK ]
    Stopping cPanel Chat services: [FAILED]
    Stopping Melange Chat services: [FAILED]
    Stopping InterChange services: [FAILED]
    Stopping cPanel ssl services: [ OK ]
    Stopping mailman services: Shutting down Mailman's master qrunner
    PID unreadable in: /usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid
    [Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid'
    Is qrunner even running?
    mailmanctl: no process killed
    [FAILED]
    Starting cPanel services: [ OK ]
    Starting cPanel brute force detector services: [ OK ]
    Starting cPanel dav services: [ OK ]
    Starting cPanel Log services: ==> cPanel Log Daemon version 24.0
    [ 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: Using Native SSL support (stunnel not needed)
    [ OK ]
    Starting mailman services: [ OK ]
    Starting tailwatchd:
    !!
    ATTENTION ATTENTION ATTENTION ATTENTION

    Cpanel::TailWatch::Eximstats appears to have unprocessed SQL in /var/cpanel/sql/eximstats.sql.

    When mysql is unable to execute a query they are logged for processing later.

    Eventually these SQL files may be handled automatically and this message will not appear.

    In the meantime you can execute the queries as root with something like this:

    mv /var/cpanel/sql/eximstats.sql /var/cpanel/sql/eximstats.sql.tmp_working_copy
    /usr/local/cpanel/libexec/tailwatchd --restart
    mysql eximstats < /var/cpanel/sql/eximstats.sql.tmp_working_copy

    Once you are sure all is well you can remove /var/cpanel/sql/eximstats.sql.tmp_working_copy


    ATTENTION ATTENTION ATTENTION ATTENTION
    !!

    [Fri Jun 5 16:47:35 2009] Starting /usr/local/cpanel/libexec/tailwatchd daemon
    Log is at /usr/local/cpanel/logs/tailwatchd_log
    [ OK ]
     
  2. hzJayJ

    hzJayJ Well-Known Member

    Joined:
    Nov 14, 2008
    Messages:
    76
    Likes Received:
    1
    Trophy Points:
    8
    Have you tried eximup? If that doesn't fix the issue try an upcp --force and see whether it fixes the issues.
     
  3. andrew green

    andrew green Member

    Joined:
    Apr 5, 2009
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    still down

    thanks for that,
    tried
    scripts/eximup
    get message "exim is up to date"

    Then tried
    scripts/upcp --force
    which updated, however still not cPanel

    Any advice appreciated.

    Thx
     
  4. chinmay

    chinmay Well-Known Member

    Joined:
    Jul 22, 2008
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    localhost
    As mentioned in the Warning message you will need to fire the commands below by logging in to the server via SSH

     
  5. andrew green

    andrew green Member

    Joined:
    Apr 5, 2009
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    closer

    Hi,

    Cheers for pointing that out, done as instructed, however still no cpanel.
    I'm no longer getting the warning message. Now, the following is ouputted by restarting cPanel.

    root@syd1-0047dsb [/]# /etc/rc.d/init.d/cpanel restart
    Stopping tailwatchd: 2009-06-09 01:20:15 UTC [main] Current process '3952' stopped
    [ OK ]
    Stopping cPanel services: Waiting for cpsrvd to shutdown ... ...Done
    Waiting for cpsrvd-ssl to shutdown ... ...Done
    [ OK ]
    Stopping cPanel dav services: [Tue Jun 9 11:20:16 2009] Current process '3909' stopped
    Waiting for cpdavd to shutdown ... ...Done
    Waiting for cpdavd-ssl to shutdown ... ...Done
    [ OK ]
    Stopping cPanel brute force detector services: Waiting for cphulkd.pl to shutdown ... ...Done
    Waiting for cPhulkd to shutdown ... ...Done
    Waiting for cphulkd to shutdown ... ...Done
    [ OK ]
    Stopping pop3 services: Waiting for cppop to shutdown ... ...Done
    Waiting for cppop-ssl to shutdown ... ...Done
    [ OK ]
    Stopping cPanel log services: [ OK ]
    Stopping cPanel Chat services: [FAILED]
    Stopping Melange Chat services: [FAILED]
    Stopping InterChange services: [FAILED]
    Stopping cPanel ssl services: [ OK ]
    Stopping mailman services: Shutting down Mailman's master qrunner
    PID unreadable in: /usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid
    [Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid'
    Is qrunner even running?
    mailmanctl: no process killed
    [FAILED]
    Starting cPanel services: [ OK ]
    Starting cPanel brute force detector services: [ OK ]
    Starting cPanel dav services: [ OK ]
    Starting cPanel Log services: ==> cPanel Log Daemon version 24.0
    [ 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: Using Native SSL support (stunnel not needed)
    [ OK ]
    Starting mailman services: [ OK ]
    Starting tailwatchd: [Tue Jun 9 11:20:20 2009] Starting /usr/local/cpanel/libexec/tailwatchd daemon
    Log is at /usr/local/cpanel/logs/tailwatchd_log
    [ OK
     
  6. chinmay

    chinmay Well-Known Member

    Joined:
    Jul 22, 2008
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    localhost
    Try stopping the cPanel service on the server and then start it again (no the restart, stop and then start again)..
    Also, make sure the cPanel/WHM ports are added in the server firewall. OR try stopping the firewall on the server to check if cPanel/WHM works after stopping the firewall.
     
  7. andrew green

    andrew green Member

    Joined:
    Apr 5, 2009
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    nay

    unfortunately same issue with iptables and selinux disabled.

    Cheers
     
  8. andrew green

    andrew green Member

    Joined:
    Apr 5, 2009
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    any other??

    any other sugestions, getting slammed by customers by about now.

    Thanks for that
     
  9. chinmay

    chinmay Well-Known Member

    Joined:
    Jul 22, 2008
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    localhost
    well, if you are not receiving the errors as mentioned above try executing /scripts/upcp --force
    Did you checked the cPanel error logs on the server ?
     
  10. andrew green

    andrew green Member

    Joined:
    Apr 5, 2009
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    nothing

    OK so the cPanel error log has nothing in it at all.
    have run:
    upcp --force

    and still can't access.

    Additionally, netstat shows that port 2082 is listening.
    Still can't access with iptables and selinux disabled.

    cpanel status is:
    root@syd1-0047dsb [/etc/selinux]# /etc/rc.d/init.d/cpanel status
    cpsrvd (pid 10568) is running...
    entropychat is stopped
    melange is stopped
    stunnel is stopped
    interchange is stopped
    qrunner is stopped

    Any suggestions?
     
  11. chinmay

    chinmay Well-Known Member

    Joined:
    Jul 22, 2008
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    localhost
    yes, the status shows OK.. I would suggest you to open a ticket at cPanel and ask them as to what is the issue...

    You can even PM me the server details to check...
     
  12. andrew green

    andrew green Member

    Joined:
    Apr 5, 2009
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    getting there

    Cheers all for your suggestions.

    Looks like its some kind of firewall at our hosting providers end.

    Netstat and IP tables definately show the server is accepting connections to the required ports, however a port scan from outside of the servers network shows its closed.

    Thanks again all.
     
  13. chinmay

    chinmay Well-Known Member

    Joined:
    Jul 22, 2008
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    localhost
    Glad to hear that your issue got resolved...
     
Loading...

Share This Page