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.

EasyApache not rebuilding.

Discussion in 'EasyApache' started by Spetsnaz, Feb 22, 2013.

  1. Spetsnaz

    Spetsnaz Well-Known Member

    Joined:
    Jun 25, 2011
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    To my thinking is that folder or file
    /usr/local/apache/conf/
    is not chmod correctly?
    But here is the out put of easyapache update.

    Code:
    Updating Apache configuration
    Updating Apache configuration
    Distilled successfully
    !! Failed to build '/usr/local/apache/conf/httpd.conf': Unable to write /usr/local/apache/conf/httpd.conf.1361547960: No such file or directory !!
    !! Archiving successful build so it can be restored via --restore-archive once the httpd.conf are resolved !!
    
    !! 'safecopy(/usr/local/apache/etc, /usr/local/apache.ea3-buildok-confgen-failed)' did not return true !!
    !! '/usr/local/apache/conf/httpd.conf.1361547960' does not exist, using '/usr/local/apache/conf/httpd.conf' instead !!
    !! Done Archiving successful build !!
    
    !! Restoring original working apache !!
    
    !! Executing '/scripts/initsslhttpd' !!
    !! Restarting 'httpd' ... !!
    !! 'httpd' restart complete. !!
    Building global cache for cpanel...Done
    !! Executing '/scripts/initfpsuexec' !!
    !! Executing '/scripts/initsslhttpd' !!
    !! Executing '/scripts/update_apachectl' !!
    !! Executing '/scripts/enablefileprotect' !!
    !! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1361576206' !!
     
  2. cPanelJamyn

    cPanelJamyn Social Engineer
    Staff Member

    Joined:
    Jan 29, 2009
    Messages:
    105
    Likes Received:
    2
    Trophy Points:
    0
    Distilled successfully
    !! Failed to build '/usr/local/apache/conf/httpd.conf': Unable to write /usr/local/apache/conf/httpd.conf.1361547960: No such file or directory !!

    This implies the temporary file used to test the config (/usr/local/apache/conf/httpd.conf.1361547960) is missing. Is your system configured to submit EasyApache build failures to cPanel? Alternatively, if you can email a copy of the build log to me (jamyn@cpanel.net), I'll be happy to take a quick look at it. Thanks!
     
  3. Spetsnaz

    Spetsnaz Well-Known Member

    Joined:
    Jun 25, 2011
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    Ticket # 3787291
     
  4. cPanelJamyn

    cPanelJamyn Social Engineer
    Staff Member

    Joined:
    Jan 29, 2009
    Messages:
    105
    Likes Received:
    2
    Trophy Points:
    0
    For reference, after looking over the case - this issue appears to have been caused by a combination of events:

    - problematic custom Apache templates, and
    - per-vhost mod_security rules with invalid directives.

    As a result, httpd.conf would not rebuild successfully.
     
Loading...

Share This Page