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 Build Stuck on DSO, suPHP wanted.

Discussion in 'EasyApache' started by josephdavidlee, Jul 25, 2013.

  1. josephdavidlee

    josephdavidlee Registered

    Joined:
    Jul 22, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Basically i run two VPS a personal and business, my personal has never had any problems with easyapache and SUphp, but for some reason this happened after i installed mod_cloudflare on my business VPS to resolve ip's properly the build failed, Apache runs fine with all the bells and whistles i want but the problem is PHP, it only runs in DSO non of the others, comparing the files to my personal vps, ive looked and tried everything but always reslting in down time on my vps which is really not a option so ive left it run in DSO but really could do with SUphp back here is my last failed build.

    Code:
    
    -- End opt 'PHP 5.3.26 support' --
    
    -- Begin 'Suhosin for PHP' is off--
    -- End 'Suhosin for PHP' is off --
    
    -- Begin 'SourceGuardian Loader for PHP' is off--
    -- End 'SourceGuardian Loader for PHP' is off --
    
    -- Begin 'Xcache for PHP' is off--
    -- End 'Xcache for PHP' is off --
    
    -- Begin 'Zend Guard Loader for PHP' is off--
    -- End 'Zend Guard Loader for PHP' is off --
    
    -- Begin 'EAccelerator for PHP' is off--
    -- End 'EAccelerator for PHP' is off --
    
    -- Begin 'IonCube Loader for PHP' is off--
    -- End 'IonCube Loader for PHP' is off --
    
    Building global cache for cpanel...Done
    Distilled successfully
    !! Failed to utilize existing Apache configuration file. Resetting Apache configuration to default. !!
    Distilled successfully
    !! Failed to generate a syntactically correct Apache configuration (/usr/local/apache/conf/httpd.conf.1373906982):
    Configuration problem detected on line 453 of file /usr/local/apache/conf/modsec2.user.conf:    Error creating rule: Could not open phrase file "/usr/local/apache/conf/modsecurity_46_slr_et_wordpress.data": No such file or directory
    
        --- /usr/local/apache/conf/modsec2.user.conf ---
        447# 
        448# This ruleset was created by Trustwave SpiderLabs Research Team and includes data from: 
        449#    
        450#    http://www.emergingthreats.net/ 
        451# 
        452 
        453 ===> SecRule REQUEST_FILENAME "!@pmFromFile modsecurity_46_slr_et_wordpress.data" "id:'2000005',phase:2,nolog,pass,t:none,t:urlDecodeUni,t:htmlEntityDecode,t:normalisePathWin,skipAfter:END_SLR_ET_WORDPRESS_RULES" <===
        454 
        455# (2011256) SpiderLabs Research (SLR) Public Vulns: ET WEB_SPECIFIC_APPS FireStats window-add-excluded-ip.php Cross Site Scripting Attempt 
        456SecRule REQUEST_LINE "@contains /wp-content/plugins/firestats/php/window-add-excluded-ip.php" "chain,phase:2,block,t:none,t:urlDecodeUni,t:htmlEntityDecode,t:normalisePathWin,capture,logdata:'%{TX.0}',severity:'2',id:2011256,rev:2,msg:'SLR: ET WEB_SPECIFIC_APPS FireStats window-add-excluded-ip.php Cross Site Scripting Attempt',tag:'web-application-attack'" 
        457SecRule ARGS:edit "(?i:edit\x3d.+(script|onmouse[a-z]+|onkey[a-z]+|onload|onunload|ondragdrop|onblur|onfocus|onclick|ondblclick|onsubmit|onreset|onselect|onchange|style\x3D))" "ctl:auditLogParts=+E,setvar:'tx.msg=ET WEB_SPECIFIC_APPS FireStats window-add-excluded-ip.php Cross Site Scripting Attempt',setvar:tx.anomaly_score=+%{tx.critical_anomaly_score},setvar:'tx.%{rule.id}-WEB_ATTACK/WORDPRESS-%{matched_var_name}=%{matched_var}'" 
        458 
        459 
        --- /usr/local/apache/conf/modsec2.user.conf ---
    
    !!
    !! 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 !!
    !! Done Archiving successful build !!
    !! Restoring original working apache !!
    !! Executing '/scripts/initsslhttpd' !!
    !! Restarting 'httpd' ... !!
    !! Failed to restart Apache. !!
    !! Apache restart failed. Unable to load pid from pid file and no httpd process found in process list.
    
    If apache restart reported success but it failed soon after, it may be caused by oddities with mod_ssl.
    
    You should run /usr/local/cpanel/scripts/ssl_crt_status as part of your troubleshooting process. Pass it --help for more details.
    
    Also be sure to examine apache's various log files.
    Apache Restart Output:
    
    Log:
    [Mon Jul 15 16:33:27 2013] [error] [client 141.101.70.91] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Mon Jul 15 16:33:29 2013] [error] [client 84.19.38.50] File does not exist: /home/buyabusi/public_html/favicon.ico
    [Mon Jul 15 16:33:29 2013] [error] [client 84.19.38.50] File does not exist: /home/buyabusi/public_html/404.shtml
    [Mon Jul 15 16:33:45 2013] [error] [client 82.132.239.131] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Mon Jul 15 16:33:48 2013] [error] [client 82.132.239.131] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Mon Jul 15 16:33:49 2013] [error] [client 82.132.239.131] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Mon Jul 15 16:33:49 2013] [error] [client 82.132.239.131] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Mon Jul 15 16:34:14 2013] [error] [client 84.19.38.50] File does not exist: /home/buyabusi/public_html/favicon.ico
    [Mon Jul 15 16:34:14 2013] [error] [client 84.19.38.50] File does not exist: /home/buyabusi/public_html/404.shtml
    [Mon Jul 15 17:01:53 2013] [error] [client 217.69.133.21] File does not exist: /usr/local/apache/htdocs/robots.txt
    [Mon Jul 15 17:03:34 2013] [notice] caught SIGTERM, shutting down !!
    Building global cache for cpanel...Done
    !! Executing '/scripts/initfpsuexec' !!
    !! Executing '/scripts/initsslhttpd' !!
    !! Executing '/scripts/update_apachectl' !!
    !! Executing '/scripts/enablefileprotect' !!
     
  2. josephdavidlee

    josephdavidlee Registered

    Joined:
    Jul 22, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Fixed the other systems administrator has set RLimitMEM & RLimitCPU in the httpd.conf
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    The primary error message I see from your initial post is:

    Line 453 in /usr/local/apache/conf/modsec2.user.conf references a file that does not exist. You will need to import this file from your Mod_Security rules provider, or remove this entry from the modsec2.user.conf file.

    Thank you.
     
Loading...

Share This Page