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.

Apache dies after 10 seconds

Discussion in 'EasyApache' started by MrTall, Apr 30, 2014.

  1. MrTall

    MrTall Member

    Joined:
    Aug 18, 2013
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello, My server has WHM / cpanel. Apache out of the blue has become bit of a pain. It's non-responsive, then randomly will become responsive for about 10 seconds then die again. WHM cant load Apache's status when it's unresponsive.

    The only process that looks to be an error is:

    /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/server.domain.cc.err --open-files-limit=2120 --pid-file=/var/lib/mysql/server.675.cc.pid

    I have no clue what to do, any advice is welcomed! :/
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    Check the Apache error log

    /usr/local/apache/logs/error_log
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The process you referenced is normal, and is for MySQL. Let us know the error messages you see in the Apache error log when you experience this issue.

    Thank you.
     
  4. MrTall

    MrTall Member

    Joined:
    Aug 18, 2013
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello thanks for the replies. I eventually fixed it. Thankfully with wasn't anything to do with Apache, however I was the victim of a DOS attack. The Apache log showed a IP address timing out consistently (related to a school server in the US). Blocked the IP address via iptables and all is working fine! So frustrating :)
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page