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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

EasyApache3 fails immediately

Discussion in 'EasyApache' started by WhiteDog, Nov 16, 2016.

  1. WhiteDog

    WhiteDog Well-Known Member

    Joined:
    Feb 19, 2008
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    66
    When trying to do a rebuild, EasyApache 3 immediately fails on the pre-checks. I have this issue on the 2 servers I tested it on. I opened a ticket (7993249) but was wondering if others are having the same problem?

    Using EasyApache 3.34.8:

    Code:
    If the browser window is closed or stopped the build will continue in the background.
    The build output should start shortly...
    ...
    Distilled successfully
    !! Executing custom hook '/usr/local/cpanel/scripts/preeasyapache' !!
    
    Backing up COMODO WAF mod_security configuration
    cp: cannot stat `/etc/apache2/conf.d/modsec2.conf': No such file or directory
    !! Done executing '/usr/local/cpanel/scripts/preeasyapache' !!
    
    !! '/usr/local/cpanel/scripts/preeasyapache 3.34.8 9999 ' failed with exit code '256' !!
    I don't have a folder /etc/apache2 :)
     
  2. WhiteDog

    WhiteDog Well-Known Member

    Joined:
    Feb 19, 2008
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    66
    Just fixed it LOL... turns out to be a minor problem in the Comodo WAF client.

    For anyone else having this problem, go into the folder: /var/cpanel/cwaf/scripts/EasyApache
    And remove the line referencing in "/etc/apache2" in the pre and post file.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.
     
Loading...

Share This Page