Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Easy Apache failure - backup first

Discussion in 'EasyApache' started by monkey64, Jun 26, 2014.

  1. monkey64

    monkey64 Well-Known Member

    Joined:
    Nov 6, 2011
    Messages:
    94
    Likes Received:
    3
    Trophy Points:
    58
    cPanel Access Level:
    Root Administrator
    I tried to update one of my PHP modules (XSL) recently and recomplied with Easy Apache. BTW I had chosen to install PHP5.X which was marked as experimental. During the build, there were quite a few red lines but surpisingly the build carried on and I was left with a non startable Apache. I couldn't afford the down time so in desperation, I re-imaged the server from a backup I made.

    I don't have the error log to hand which I know is no use.:mad:
    I am soon going to have to bite the bullet and run Easy Apache again because I need the XSL module, and this time I have to make it work.

    There is a strong chance that this build will fail as well and I ask what precautions I should take?
    I could make a backup which could be restored in case of failure...

    Code:
    cp -a /usr/local/apache /usr/local/apache-bak
    
    That way if anything goes wrong during or after the update, simply revert and restart apache.
    
    rm -fR /usr/local/apache ; cp -a /usr/local/apache/apache-bak /usr/local/apache
    
    Any ideas?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,301
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    It's difficult to pinpoint any particular reason for the build failure without the logs. I suggest simply opening a support ticket using the link in my signature and have us run EasyApache for you. This way, we can immediately address any issues that arise. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. monkey64

    monkey64 Well-Known Member

    Joined:
    Nov 6, 2011
    Messages:
    94
    Likes Received:
    3
    Trophy Points:
    58
    cPanel Access Level:
    Root Administrator
    Ticket: 5156991
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,301
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    To update, EasyApache was able to complete successfully after removing some invalid entries in /usr/local/apache/conf/modsec2.conf and allowing the build to regenerate a default instance of that file.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice