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 restarting every 5 minutes

Discussion in 'EasyApache' started by medievil2003, May 25, 2016.

  1. medievil2003

    medievil2003 Registered

    Joined:
    May 25, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK, London
    cPanel Access Level:
    Root Administrator
    Hi everyone, hope you're all well

    Right, i am literately going out of my mind to this problem i face. I am on a VPS and am running Magento on it. I use a data content provider who push all my product information to the site via SOAP. For about 3 months everything was working just fine until i started getting service interruptions, i will get an error show up on magento admin panel if the SOAP process has stopped or restarted. further investigations from the apache error logs shows that the server is being restarted every 5 minutes with this error:

    [Wed May 25 09:35:52 2016] [notice] SIGHUP received. Attempting to restart

    Now, i know by researching on the internet that could mean its a log rotate but the hosting company after more digging seem to think the server is restarting every 5 minutes due to a coding issue within Magento...

    We've turned off the cron server just incase is was a process there restarting but with no joy, also disabling every module in Magento, updating to the latest version etc.

    I was wondering if you guys can give me a further insight or perhaps more information on what i can do? I cant open my online store until this sorted.

    This is a longer part of the error log:

    Code:
    [Wed May 25 09:35:52 2016] [notice] SIGHUP received. Attempting to restart
    Warning: DocumentRoot [/home/modxpcrepairs/public_html/bookings] does not exist
    Warning: DocumentRoot [/home/modxpcrepairs/public_html/dev] does not exist
    [Wed May 25 09:35:53 2016] [warn] RSA server certificate CommonName (CN) `xxx' does NOT match server name!?
    [Wed May 25 09:35:53 2016] [warn] RSA server certificate CommonName (CN) `xxx' does NOT match server name!?
    [Wed May 25 09:35:53 2016] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
    [Wed May 25 09:35:53 2016] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 mod_fcgid/2.3.9 configured -- resuming normal operations
    [Wed May 25 09:40:53 2016] [notice] SIGHUP received. Attempting to restart
    Warning: DocumentRoot [/home/modxpcrepairs/public_html/bookings] does not exist
    Warning: DocumentRoot [/home/modxpcrepairs/public_html/dev] does not exist
    [Wed May 25 09:40:54 2016] [warn] RSA server certificate CommonName (CN) `xxx ' does NOT match server name!?
    [Wed May 25 09:40:54 2016] [warn] RSA server certificate CommonName (CN) ` xxx' does NOT match server name!?
    [Wed May 25 09:40:54 2016] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
    [Wed May 25 09:40:54 2016] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 mod_fcgid/2.3.9 configured -- resuming normal operations
    [Wed May 25 09:43:44 2016] [error] [client xxx.xxx File does not exist: /home/admin/public_html/skin/adminhtml/base, referer: xxx/admin/system_config/index/key/4a53ba7ab0fee1c48a7e26f1fa8a79ee/
    
    
    any help is greatly appreciated,

    Mehdi
     
  2. medievil2003

    medievil2003 Registered

    Joined:
    May 25, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK, London
    cPanel Access Level:
    Root Administrator
    To add, just today the server restarted 117 times, found out by using the command:

    cat /usr/local/apache/logs/error_log|grep restart |grep "May 25"|wc -l
     
  3. webhostuk

    webhostuk Well-Known Member

    Joined:
    Sep 11, 2013
    Messages:
    55
    Likes Received:
    6
    Trophy Points:
    8
    cPanel Access Level:
    Website Owner
    Hello,

    Have you tried recompiling apache ? I found some useful info on internet you try below :


     
    #3 webhostuk, May 25, 2016
    Last edited by a moderator: May 25, 2016
  4. medievil2003

    medievil2003 Registered

    Joined:
    May 25, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK, London
    cPanel Access Level:
    Root Administrator
    Hi, thanks for your reply.

    I'm recompling apache now, i'm using the same config settings so not sure it'll make a huge amount of difference but of course its worth a shot. With the modules, i disabled every module that was running within magento previously but that made no difference.

    Can i ask, does recompiling apache also recompile php?
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,814
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Are you using EasyApache to rebuild Apache? If so, yes, it also rebuilds PHP. Have you considered upgrading to Apache 2.4?

    Thank you.
     
Loading...

Share This Page