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.

PHP for the selected domain has failed

Discussion in 'General Discussion' started by x1024, May 22, 2014.

  1. x1024

    x1024 Active Member

    Joined:
    May 19, 2014
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi, after re-compiling with Easy Apache's PHP Encryption / E-commerce profile
    The server displays the following error.

    Code:
    ! PHP for the selected domain has failed.
    
    Installatron Plugin is unable to install to a domain where PHP is not working.
    
    Your hosting provider can help you resolve this error.
    
    Error code: 1; HTTP code: 500
    The server works fine with the Basic profile
    However we require some of the modules to be activated

    I have been searching online and through many forums but no one has encountered such incident
    I am clueless of what solutions we could use
    We look forward to your kind assistance.

    The following are the configuration we have used

    *************************************************

    Profile Selection (PHP Encryption / E-commerce)
    WebHost Manager – ns1.png

    Apache Version (2.4.9)
    WebHost Manager – ns1(1).png

    PHP Version (5.4.28)
    WebHost Manager – ns1(2).png

    Short Options List (Mod SuPHP, IonCube Loader, Mod Bandwidth, Mod Security, Xcache 3.0.3)
    WebHost Manager – ns1(3).png

    Exhaustive Options List
    (The list is long, but it is basically all checked)
     

    Attached Files:

  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Could you post the output from /usr/local/apache/logs/error_log when attempting to open your website or using your Installatron application? Are there any errors during the EasyApache build itself?

    Thank you.
     
  3. x1024

    x1024 Active Member

    Joined:
    May 19, 2014
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi Michael, thank you for your promptly response

    after reviewing the error_log you specified
    i found a lot of memory-related issues being displayed

    below is a part of the error messages

    Code:
    [Thu May 22 17:16:00 2014] [notice] Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    [Thu May 22 19:14:10 2014] [alert] [client 50.193.202.82] /home/devilex/public_html/.htaccess: RewriteEngine must be On or Off
    [Thu May 22 19:14:10 2014] [alert] [client 50.193.202.82] /home/devilex/public_html/.htaccess: RewriteEngine must be On or Off
    [Thu May 22 19:23:20 2014] [alert] [client 50.193.202.82] /home/devilex/public_html/.htaccess: RewriteEngine must be On or Off
    [Thu May 22 19:23:20 2014] [alert] [client 50.193.202.82] /home/devilex/public_html/.htaccess: RewriteEngine must be On or Off
    [Thu May 22 20:11:38 2014] [notice] Graceful restart requested, doing restart
    [Thu May 22 20:11:38 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Thu May 22 20:11:38 2014] [notice] Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    [Thu May 22 20:45:40 2014] [notice] caught SIGTERM, shutting down
    [Thu May 22 20:45:42 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Thu May 22 20:45:42 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Thu May 22 20:45:42 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Thu May 22 20:45:42 2014] [notice] Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    [Thu May 22 20:56:35 2014] [alert] [client 100.43.83.139] /home/devilex/public_html/.htaccess: RewriteEngine must be On or Off
    [Thu May 22 20:56:35 2014] [alert] [client 100.43.83.139] /home/devilex/public_html/.htaccess: RewriteEngine must be On or Off
    [Thu May 22 21:10:43 2014] [notice] Graceful restart requested, doing restart
    [Thu May 22 21:10:43 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Thu May 22 21:10:43 2014] [notice] Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    [Thu May 22 21:12:20 2014] [notice] caught SIGTERM, shutting down
    [Thu May 22 21:13:45 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Thu May 22 21:13:45 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Thu May 22 21:13:45 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Thu May 22 21:13:45 2014] [notice] Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    [Thu May 22 21:46:29 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Thu May 22 21:46:29 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Thu May 22 21:46:29 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Thu May 22 21:46:29 2014] [notice] Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    [Thu May 22 22:01:02 2014] [notice] caught SIGTERM, shutting down
    [Thu May 22 22:01:04 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Thu May 22 22:01:04 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Thu May 22 22:01:04 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Thu May 22 22:01:04 2014] [notice] Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    [Thu May 22 22:01:56 2014] [alert] [client 61.223.7.41] /home/devilex/public_html/.htaccess: RewriteEngine must be On or Off
    [Thu May 22 22:01:56 2014] [alert] [client 61.223.7.41] /home/devilex/public_html/.htaccess: RewriteEngine must be On or Off
    [Thu May 22 22:01:56 2014] [alert] [client 61.223.7.41] /home/devilex/public_html/.htaccess: RewriteEngine must be On or Off
    [Thu May 22 22:01:56 2014] [alert] [client 61.223.7.41] /home/devilex/public_html/.htaccess: RewriteEngine must be On or Off
    [Thu May 22 22:01:56 2014] [alert] [client 61.223.7.41] /home/devilex/public_html/.htaccess: RewriteEngine must be On or Off
    [Thu May 22 22:01:56 2014] [alert] [client 61.223.7.41] /home/devilex/public_html/.htaccess: RewriteEngine must be On or Off
    [Thu May 22 22:01:56 2014] [alert] [client 61.223.7.41] /home/devilex/public_html/.htaccess: RewriteEngine must be On or Off
    [Thu May 22 22:01:56 2014] [alert] [client 61.223.7.41] /home/devilex/public_html/.htaccess: RewriteEngine must be On or Off
    [Thu May 22 22:01:58 2014] [alert] [client 61.223.7.41] /home/devilex/public_html/.htaccess: RewriteEngine must be On or Off
    [Thu May 22 22:01:58 2014] [alert] [client 61.223.7.41] /home/devilex/public_html/.htaccess: RewriteEngine must be On or Off
    [Thu May 22 22:21:11 2014] [notice] caught SIGTERM, shutting down
    [Thu May 22 22:21:14.038827 2014] [ssl:warn] [pid 23826] AH01906: ns1.quickroutedns.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Thu May 22 22:21:14.040712 2014] [ssl:error] [pid 23826] AH02217: ssl_stapling_init_cert: Can't retrieve issuer certificate!
    [Thu May 22 22:21:14.040777 2014] [ssl:error] [pid 23826] AH02567: Unable to configure certificate ns1.quickroutedns.com:443:0 for stapling
    [Thu May 22 22:21:14.063556 2014] [suexec:notice] [pid 23826] AH01232: suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Thu May 22 22:21:14.063727 2014] [:notice] [pid 23826] ModSecurity for Apache/2.8.0 (http://www.modsecurity.org/) configured.
    [Thu May 22 22:21:14.063741 2014] [:notice] [pid 23826] ModSecurity: APR compiled version="1.5.0"; loaded version="1.5.0"
    [Thu May 22 22:21:14.063751 2014] [:notice] [pid 23826] ModSecurity: PCRE compiled version="8.21 "; loaded version="8.21 2011-12-12"
    [Thu May 22 22:21:14.063763 2014] [:notice] [pid 23826] ModSecurity: LUA compiled version="Lua 5.1"
    [Thu May 22 22:21:14.063771 2014] [:notice] [pid 23826] ModSecurity: LIBXML compiled version="2.9.0"
    [Thu May 22 22:21:14.063778 2014] [:notice] [pid 23826] Status engine is currently disabled, enable it by set SecStatusEngine to On.
    [Thu May 22 22:21:15.002325 2014] [ssl:warn] [pid 23827] AH01906: ns1.quickroutedns.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Thu May 22 22:21:15.002476 2014] [ssl:error] [pid 23827] AH02217: ssl_stapling_init_cert: Can't retrieve issuer certificate!
    [Thu May 22 22:21:15.002488 2014] [ssl:error] [pid 23827] AH02567: Unable to configure certificate ns1.quickroutedns.com:443:0 for stapling
    [Thu May 22 22:21:15.007036 2014] [:notice] [pid 23827] mod_bw : Memory Allocated 0 bytes (each conf takes 48 bytes)
    [Thu May 22 22:21:15.007124 2014] [:notice] [pid 23827] mod_bw : Version 0.92 - Initialized [0 Confs]
    [Thu May 22 22:21:15.023785 2014] [mpm_prefork:notice] [pid 23827] AH00163: Apache/2.4.9 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    [Thu May 22 22:21:15.023906 2014] [core:notice] [pid 23827] AH00094: Command line: '/usr/local/apache/bin/httpd -D SSL'
    [Thu May 22 22:23:44.474311 2014] [core:alert] [pid 23833] [client 61.223.7.41:54780] /home/devilex/public_html/.htaccess: RewriteEngine must be On or Off
    [Thu May 22 22:23:44.475309 2014] [core:alert] [pid 23833] [client 61.223.7.41:54780] /home/devilex/public_html/.htaccess: RewriteEngine must be On or Off
    [Thu May 22 23:02:44.835652 2014] [mpm_prefork:notice] [pid 23827] AH00171: Graceful restart requested, doing restart
    [Thu May 22 23:02:45.003000 2014] [ssl:warn] [pid 23827] AH01906: ns1.quickroutedns.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Thu May 22 23:02:45.003104 2014] [ssl:error] [pid 23827] AH02217: ssl_stapling_init_cert: Can't retrieve issuer certificate!
    [Thu May 22 23:02:45.003116 2014] [ssl:error] [pid 23827] AH02567: Unable to configure certificate ns1.quickroutedns.com:443:0 for stapling
    [Thu May 22 23:02:45.004359 2014] [:notice] [pid 23827] mod_bw : Memory Allocated 0 bytes (each conf takes 48 bytes)
    [Thu May 22 23:02:45.004399 2014] [:notice] [pid 23827] mod_bw : Version 0.92 - Initialized [0 Confs]
    [Thu May 22 23:02:45.004709 2014] [mpm_prefork:notice] [pid 23827] AH00163: Apache/2.4.9 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    [Thu May 22 23:02:45.004736 2014] [core:notice] [pid 23827] AH00094: Command line: '/usr/local/apache/bin/httpd -D SSL'
    [Thu May 22 23:15:33.000021 2014] [mpm_prefork:notice] [pid 23827] AH00171: Graceful restart requested, doing restart
    [Thu May 22 23:15:34.002047 2014] [ssl:warn] [pid 23827] AH01906: ns1.quickroutedns.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
    [Thu May 22 23:15:34.003854 2014] [ssl:error] [pid 23827] AH02217: ssl_stapling_init_cert: Can't retrieve issuer certificate!
    [Thu May 22 23:15:34.003920 2014] [ssl:error] [pid 23827] AH02567: Unable to configure certificate ns1.quickroutedns.com:443:0 for stapling
    [Thu May 22 23:15:34.006138 2014] [:notice] [pid 23827] mod_bw : Memory Allocated 0 bytes (each conf takes 48 bytes)
    [Thu May 22 23:15:34.006183 2014] [:notice] [pid 23827] mod_bw : Version 0.92 - Initialized [0 Confs]
    [Thu May 22 23:15:34.006452 2014] [mpm_prefork:notice] [pid 23827] AH00163: Apache/2.4.9 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    [Thu May 22 23:15:34.006478 2014] [core:notice] [pid 23827] AH00094: Command line: '/usr/local/apache/bin/httpd -D SSL'
    [Thu May 22 23:15:51.575595 2014] [:error] [pid 26302] [client 61.223.7.41:56432] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory, referer: http://devilex.com/wp-admin/network/plugins.php?activate=true&plugin_status=all&paged=1&s=
    [Thu May 22 23:15:51.576012 2014] [core:error] [pid 26302] [client 61.223.7.41:56432] End of script output before headers: admin-ajax.php, referer: http://devilex.com/wp-admin/network/plugins.php?activate=true&plugin_status=all&paged=1&s=
    [Thu May 22 23:15:51.583551 2014] [:error] [pid 26302] [client 61.223.7.41:56432] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory, referer: http://devilex.com/wp-admin/network/plugins.php?activate=true&plugin_status=all&paged=1&s=
    [Thu May 22 23:15:51.583863 2014] [core:error] [pid 26302] [client 61.223.7.41:56432] End of script output before headers: index.php, referer: http://devilex.com/wp-admin/network/plugins.php?activate=true&plugin_status=all&paged=1&s=
    [Thu May 22 23:16:49.236045 2014] [:error] [pid 26301] [client 61.223.7.41:56427] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory, referer: http://devilex.com/wp-admin/network/plugin-install.php?tab=upload
    [Thu May 22 23:16:49.236188 2014] [core:error] [pid 26301] [client 61.223.7.41:56427] End of script output before headers: update.php, referer: http://devilex.com/wp-admin/network/plugin-install.php?tab=upload
    [Thu May 22 23:16:49.246914 2014] [:error] [pid 26301] [client 61.223.7.41:56427] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory, referer: http://devilex.com/wp-admin/network/plugin-install.php?tab=upload
    [Thu May 22 23:16:49.247440 2014] [core:error] [pid 26301] [client 61.223.7.41:56427] End of script output before headers: index.php, referer: http://devilex.com/wp-admin/network/plugin-install.php?tab=upload
    [Thu May 22 23:16:49.921103 2014] [:error] [pid 26303] [client 61.223.7.41:56488] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory
    [Thu May 22 23:16:49.921989 2014] [core:error] [pid 26303] [client 61.223.7.41:56488] End of script output before headers: index.php
    [Thu May 22 23:16:49.942435 2014] [:error] [pid 26303] [client 61.223.7.41:56488] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory
    [Thu May 22 23:16:49.942934 2014] [core:error] [pid 26303] [client 61.223.7.41:56488] End of script output before headers: index.php
    [Thu May 22 23:16:52.221132 2014] [:error] [pid 26304] [client 61.223.7.41:56490] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory, referer: http://devilex.com/wp-admin/network/plugins.php?activate=true&plugin_status=all&paged=1&s=
    [Thu May 22 23:16:52.221527 2014] [core:error] [pid 26304] [client 61.223.7.41:56490] End of script output before headers: admin-ajax.php, referer: http://devilex.com/wp-admin/network/plugins.php?activate=true&plugin_status=all&paged=1&s=
    [Thu May 22 23:16:52.232928 2014] [:error] [pid 26304] [client 61.223.7.41:56490] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory, referer: http://devilex.com/wp-admin/network/plugins.php?activate=true&plugin_status=all&paged=1&s=
    [Thu May 22 23:16:52.237641 2014] [core:error] [pid 26304] [client 61.223.7.41:56490] End of script output before headers: index.php, referer: http://devilex.com/wp-admin/network/plugins.php?activate=true&plugin_status=all&paged=1&s=
    [Thu May 22 23:17:09.216181 2014] [:error] [pid 26300] [client 61.223.7.41:56504] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory
    [Thu May 22 23:17:09.216896 2014] [core:error] [pid 26300] [client 61.223.7.41:56504] End of script output before headers: index.php
    [Thu May 22 23:17:09.228864 2014] [:error] [pid 26300] [client 61.223.7.41:56504] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory
    [Thu May 22 23:17:09.229586 2014] [core:error] [pid 26300] [client 61.223.7.41:56504] End of script output before headers: index.php
    [Thu May 22 23:17:09.862172 2014] [:error] [pid 26310] [client 61.223.7.41:56507] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory
    [Thu May 22 23:17:09.863002 2014] [core:error] [pid 26310] [client 61.223.7.41:56507] End of script output before headers: index.php
    [Thu May 22 23:17:09.876453 2014] [:error] [pid 26310] [client 61.223.7.41:56507] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory
    [Thu May 22 23:17:09.876881 2014] [core:error] [pid 26310] [client 61.223.7.41:56507] End of script output before headers: index.php
    [Thu May 22 23:17:13.682517 2014] [:error] [pid 26302] [client 61.223.7.41:56523] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory
    [Thu May 22 23:17:13.683007 2014] [core:error] [pid 26302] [client 61.223.7.41:56523] End of script output before headers: index.php
    [Thu May 22 23:17:13.698225 2014] [:error] [pid 26302] [client 61.223.7.41:56523] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory
    [Thu May 22 23:17:13.698553 2014] [core:error] [pid 26302] [client 61.223.7.41:56523] End of script output before headers: index.php
    [Thu May 22 23:17:14.289569 2014] [:error] [pid 26301] [client 61.223.7.41:56532] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory
    [Thu May 22 23:17:14.291371 2014] [core:error] [pid 26301] [client 61.223.7.41:56532] End of script output before headers: index.php
    [Thu May 22 23:17:14.312009 2014] [:error] [pid 26301] [client 61.223.7.41:56532] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory
    [Thu May 22 23:17:14.312441 2014] [core:error] [pid 26301] [client 61.223.7.41:56532] End of script output before headers: index.php
    [Thu May 22 23:18:52.186883 2014] [:error] [pid 26303] [client 61.223.7.41:56628] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory, referer: http://devilex.com/wp-admin/network/plugins.php?activate=true&plugin_status=all&paged=1&s=
    [Thu May 22 23:18:52.187264 2014] [core:error] [pid 26303] [client 61.223.7.41:56628] End of script output before headers: admin-ajax.php, referer: http://devilex.com/wp-admin/network/plugins.php?activate=true&plugin_status=all&paged=1&s=
    [Thu May 22 23:18:52.194776 2014] [:error] [pid 26303] [client 61.223.7.41:56628] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory, referer: http://devilex.com/wp-admin/network/plugins.php?activate=true&plugin_status=all&paged=1&s=
    [Thu May 22 23:18:52.195134 2014] [core:error] [pid 26303] [client 61.223.7.41:56628] End of script output before headers: index.php, referer: http://devilex.com/wp-admin/network/plugins.php?activate=true&plugin_status=all&paged=1&s=
    [Thu May 22 23:18:57.186527 2014] [:error] [pid 26304] [client 69.28.94.239:49992] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory
    [Thu May 22 23:18:57.186929 2014] [core:error] [pid 26304] [client 69.28.94.239:49992] End of script output before headers: deleteme.rztp1nrw.php
    [Thu May 22 23:18:57.195233 2014] [:error] [pid 26304] [client 69.28.94.239:49992] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory
    [Thu May 22 23:18:57.195620 2014] [core:error] [pid 26304] [client 69.28.94.239:49992] End of script output before headers: index.php
    [Thu May 22 23:18:57.291071 2014] [:error] [pid 26300] [client 69.28.94.239:49993] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory
    [Thu May 22 23:18:57.291457 2014] [core:error] [pid 26300] [client 69.28.94.239:49993] End of script output before headers: deleteme.rztp1nrw.php
    [Thu May 22 23:18:57.375495 2014] [:error] [pid 26310] [client 69.28.94.239:49994] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory
    [Thu May 22 23:18:57.375895 2014] [core:error] [pid 26310] [client 69.28.94.239:49994] End of script output before headers: deleteme.rztp1nrw.php
    [Thu May 22 23:19:13.546314 2014] [:error] [pid 26302] [client 69.28.94.239:49995] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory
    [Thu May 22 23:19:13.546666 2014] [core:error] [pid 26302] [client 69.28.94.239:49995] End of script output before headers: deleteme.w0bda25r.php
    [Thu May 22 23:19:13.554162 2014] [:error] [pid 26302] [client 69.28.94.239:49995] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory
    [Thu May 22 23:19:13.554491 2014] [core:error] [pid 26302] [client 69.28.94.239:49995] End of script output before headers: index.php
    [Thu May 22 23:19:13.654137 2014] [:error] [pid 26301] [client 69.28.94.239:49996] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory
    [Thu May 22 23:19:13.654480 2014] [core:error] [pid 26301] [client 69.28.94.239:49996] End of script output before headers: deleteme.w0bda25r.php
    [Thu May 22 23:19:13.720216 2014] [:error] [pid 26303] [client 69.28.94.239:49997] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory
    [Thu May 22 23:19:13.720558 2014] [core:error] [pid 26303] [client 69.28.94.239:49997] End of script output before headers: deleteme.w0bda25r.php
    [Thu May 22 23:20:52.191607 2014] [:error] [pid 26300] [client 61.223.7.41:56684] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory, referer: http://devilex.com/wp-admin/network/plugins.php?activate=true&plugin_status=all&paged=1&s=
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Is this a VPS? If so, check /proc/user_beancounters (OpenVZ, Virtuozzo) to see if there are any fail counts for the parameters in this file. Also, let us know the output from:

    Code:
    grep RLimit /usr/local/apache/conf/httpd.conf
    Thank you.
     
  5. x1024

    x1024 Active Member

    Joined:
    May 19, 2014
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi Michael, thank you for your promptly response.

    Regarding the error_log you specified
    I have found quite a few memory-related issues showing in the log

    Currently the server has an installed of 1GB of RAM
    With set of...
    1. memory_limit=64M
    2. post_max_size=128M
    3. upload_max_filesize=128M

    I wonder if these settings could the issue.

    Code:
    [Fri May 23 06:38:38.525995 2014] [:error] [pid 15467] [client 180.76.5.81:16419] /usr/bin/php: error while loading shared libraries: libxcb.so.1: failed to map segment from shared object: Cannot allocate memory
    [Fri May 23 06:38:38.526432 2014] [core:error] [pid 15467] [client 180.76.5.81:16419] End of script output before headers: index.php
    Also I am not certain the meaning of these error code as well
    These are shown after Easy Apache has been re-compiled with Basic profile
    (I thought Basic profile may cause the least trouble!)

    Code:
    [Fri May 23 09:04:10 2014] [notice] Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
    [Fri May 23 09:46:19 2014] [error] [client 94.177.121.102] File does not exist: /usr/local/apache/htdocs/dawdwadwaad
    [Fri May 23 09:46:19 2014] [error] [client 94.177.121.102] File does not exist: /usr/local/apache/htdocs/dawdwadwaad
    [Fri May 23 09:46:19 2014] [error] [client 94.177.121.102] File does not exist: /usr/local/apache/htdocs/web-console
    [Fri May 23 09:46:19 2014] [error] [client 94.177.121.102] File does not exist: /usr/local/apache/htdocs/web-console
    [Fri May 23 09:46:20 2014] [error] [client 94.177.121.102] Invalid method in request XGET /web-console/ServerInfo.jsp HTTP/1.0
    [Fri May 23 09:46:20 2014] [error] [client 94.177.121.102] File does not exist: /usr/local/apache/htdocs/501.shtml
    [Fri May 23 09:46:20 2014] [error] [client 94.177.121.102] File does not exist: /usr/local/apache/htdocs/jmx-console
    [Fri May 23 09:46:20 2014] [error] [client 94.177.121.102] Invalid method in request XGET /jmx-console/HtmlAdaptor HTTP/1.0
    [Fri May 23 09:46:20 2014] [error] [client 94.177.121.102] File does not exist: /usr/local/apache/htdocs/501.shtml
    [Fri May 23 09:46:21 2014] [error] [client 94.177.121.102] File does not exist: /usr/local/apache/htdocs/jmx-console
    [Fri May 23 09:46:21 2014] [error] [client 94.177.121.102] File does not exist: /usr/local/apache/htdocs/zecmd
    [Fri May 23 09:46:21 2014] [error] [client 94.177.121.102] File does not exist: /usr/local/apache/htdocs/iesvc
    [Fri May 23 09:46:22 2014] [error] [client 94.177.121.102] File does not exist: /usr/local/apache/htdocs/cmd1
    [Fri May 23 09:46:22 2014] [error] [client 94.177.121.102] File does not exist: /usr/local/apache/htdocs/cmd
    [Fri May 23 09:46:22 2014] [error] [client 94.177.121.102] File does not exist: /usr/local/apache/htdocs/safe2
    [Fri May 23 09:46:22 2014] [error] [client 94.177.121.102] File does not exist: /usr/local/apache/htdocs/man
    [Fri May 23 09:46:23 2014] [error] [client 94.177.121.102] File does not exist: /usr/local/apache/htdocs/browser
    [Fri May 23 09:46:23 2014] [error] [client 94.177.121.102] File does not exist: /usr/local/apache/htdocs/manager
    I am on the edge of thinking if I should just format & restart installing
    But also afraid that I may face the same situation again.

    Below is the whole log file until today
    External log link removed
     
    #5 x1024, May 23, 2014
    Last edited by a moderator: May 23, 2014
  6. x1024

    x1024 Active Member

    Joined:
    May 19, 2014
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi Michael, thank you for your quick reply.

    Yes it is a VPS hosting
    However the server came with CentOS + licensed WHM & preinstalled
    So I am not certain if I have the access to outside of the Container

    After I tried typing cat /proc/user_beancounters

    Code:
    root@ns1 [/]# cat /proc/user_beancounters
    cat: /proc/user_beancounters: No such file or directory
    root@ns1 [/proc]# 

    The grep RLimit /usr/local/apache/conf/httpd.conf shows the result below

    Code:
    root@ns1 [/]# grep RLimit /usr/local/apache/conf/httpd.conf
    RLimitMEM 87074133
    RLimitCPU 240
     
  7. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Please avoid linking to an external site to show log entries. Either attach the relevant log portion directly to your reply, as an attachment, or include it inline using CODE tags. Thank you.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Try removing the "RLimitMEM" entry in the httpd.conf file, and restarting Apache. Check to see if the issue still persists, and then run the Apache distiller to preserve the change if you find it resolves the issue:

    Code:
    /usr/local/cpanel/bin/apache_conf_distiller --update
    Thank you.
     
  9. x1024

    x1024 Active Member

    Joined:
    May 19, 2014
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi Jared, noted with thanks.
     
  10. x1024

    x1024 Active Member

    Joined:
    May 19, 2014
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi Michael, thank you for your patience and kind help.
    After removing RLimitMEM entry + distilled the Apache config and recompiled Easy Apache

    I have found the website's front-end displays the following error

    Code:
    Fatal error: Out of memory (allocated 6291456) (tried to allocate 3072 bytes) in ***/public_html/wp-includes/category.php on line 39
    Easy Apache has also failed to recompile
    So I am unable to check against if current solution is applicable.

    Below is the partial log indicating where it has failed
    Kindly also check the attachment for full details if necessary.


    Thank you.

    Code:
    /bin/sh /home/cpeasyapache/src/php-5.4.28/libtool --silent --preserve-dup-deps --mode=compile cc  -Iext/dom/ -I/home/cpeasyapache/src/php-5.4.28/ext/dom/ -DPHP_ATOM_INC -I/home/cpeasyapache/src/php-5.4.28/include -I/home/cpeasyapache/src/php-5.4.28/main -I/home/cpeasyapache/src/php-5.4.28 -I/home/cpeasyapache/src/php-5.4.28/ext/date/lib -I/home/cpeasyapache/src/php-5.4.28/ext/ereg/regex -I/opt/xml2/include/libxml2 -I/opt/pcre/include -I/opt/curlssl//include -I/usr/include/enchant -I/usr/include/freetype2 -I/opt/php_with_imap_client//include -I/home/cpeasyapache/src/php-5.4.28/ext/mbstring/oniguruma -I/home/cpeasyapache/src/php-5.4.28/ext/mbstring/libmbfl -I/home/cpeasyapache/src/php-5.4.28/ext/mbstring/libmbfl/mbfl -I/opt/libmcrypt//include -I/usr/include/mysql -I/opt/mm//include -I/opt/tidy//include -I/opt/xslt/include -I/opt/xslt//include -I/home/cpeasyapache/src/php-5.4.28/TSRM -I/home/cpeasyapache/src/php-5.4.28/Zend    -g -O2 -fvisibility=hidden  -c /home/cpeasyapache/src/php-5.4.28/ext/dom/userdatahandler.c -o ext/dom/userdatahandler.lo 
    /bin/sh /home/cpeasyapache/src/php-5.4.28/libtool --silent --preserve-dup-deps --mode=compile cc  -Iext/enchant/ -I/home/cpeasyapache/src/php-5.4.28/ext/enchant/ -DPHP_ATOM_INC -I/home/cpeasyapache/src/php-5.4.28/include -I/home/cpeasyapache/src/php-5.4.28/main -I/home/cpeasyapache/src/php-5.4.28 -I/home/cpeasyapache/src/php-5.4.28/ext/date/lib -I/home/cpeasyapache/src/php-5.4.28/ext/ereg/regex -I/opt/xml2/include/libxml2 -I/opt/pcre/include -I/opt/curlssl//include -I/usr/include/enchant -I/usr/include/freetype2 -I/opt/php_with_imap_client//include -I/home/cpeasyapache/src/php-5.4.28/ext/mbstring/oniguruma -I/home/cpeasyapache/src/php-5.4.28/ext/mbstring/libmbfl -I/home/cpeasyapache/src/php-5.4.28/ext/mbstring/libmbfl/mbfl -I/opt/libmcrypt//include -I/usr/include/mysql -I/opt/mm//include -I/opt/tidy//include -I/opt/xslt/include -I/opt/xslt//include -I/home/cpeasyapache/src/php-5.4.28/TSRM -I/home/cpeasyapache/src/php-5.4.28/Zend    -g -O2 -fvisibility=hidden  -c /home/cpeasyapache/src/php-5.4.28/ext/enchant/enchant.c -o ext/enchant/enchant.lo 
    /bin/sh /home/cpeasyapache/src/php-5.4.28/libtool --silent --preserve-dup-deps --mode=compile cc  -Iext/exif/ -I/home/cpeasyapache/src/php-5.4.28/ext/exif/ -DPHP_ATOM_INC -I/home/cpeasyapache/src/php-5.4.28/include -I/home/cpeasyapache/src/php-5.4.28/main -I/home/cpeasyapache/src/php-5.4.28 -I/home/cpeasyapache/src/php-5.4.28/ext/date/lib -I/home/cpeasyapache/src/php-5.4.28/ext/ereg/regex -I/opt/xml2/include/libxml2 -I/opt/pcre/include -I/opt/curlssl//include -I/usr/include/enchant -I/usr/include/freetype2 -I/opt/php_with_imap_client//include -I/home/cpeasyapache/src/php-5.4.28/ext/mbstring/oniguruma -I/home/cpeasyapache/src/php-5.4.28/ext/mbstring/libmbfl -I/home/cpeasyapache/src/php-5.4.28/ext/mbstring/libmbfl/mbfl -I/opt/libmcrypt//include -I/usr/include/mysql -I/opt/mm//include -I/opt/tidy//include -I/opt/xslt/include -I/opt/xslt//include -I/home/cpeasyapache/src/php-5.4.28/TSRM -I/home/cpeasyapache/src/php-5.4.28/Zend    -g -O2 -fvisibility=hidden  -c /home/cpeasyapache/src/php-5.4.28/ext/exif/exif.c -o ext/exif/exif.lo 
    /bin/sh /home/cpeasyapache/src/php-5.4.28/libtool --silent --preserve-dup-deps --mode=compile cc -I/home/cpeasyapache/src/php-5.4.28/ext/fileinfo/libmagic -Iext/fileinfo/ -I/home/cpeasyapache/src/php-5.4.28/ext/fileinfo/ -DPHP_ATOM_INC -I/home/cpeasyapache/src/php-5.4.28/include -I/home/cpeasyapache/src/php-5.4.28/main -I/home/cpeasyapache/src/php-5.4.28 -I/home/cpeasyapache/src/php-5.4.28/ext/date/lib -I/home/cpeasyapache/src/php-5.4.28/ext/ereg/regex -I/opt/xml2/include/libxml2 -I/opt/pcre/include -I/opt/curlssl//include -I/usr/include/enchant -I/usr/include/freetype2 -I/opt/php_with_imap_client//include -I/home/cpeasyapache/src/php-5.4.28/ext/mbstring/oniguruma -I/home/cpeasyapache/src/php-5.4.28/ext/mbstring/libmbfl -I/home/cpeasyapache/src/php-5.4.28/ext/mbstring/libmbfl/mbfl -I/opt/libmcrypt//include -I/usr/include/mysql -I/opt/mm//include -I/opt/tidy//include -I/opt/xslt/include -I/opt/xslt//include -I/home/cpeasyapache/src/php-5.4.28/TSRM -I/home/cpeasyapache/src/php-5.4.28/Zend    -g -O2 -fvisibility=hidden  -c /home/cpeasyapache/src/php-5.4.28/ext/fileinfo/fileinfo.c -o ext/fileinfo/fileinfo.lo 
    /bin/sh /home/cpeasyapache/src/php-5.4.28/libtool --silent --preserve-dup-deps --mode=compile cc -I/home/cpeasyapache/src/php-5.4.28/ext/fileinfo/libmagic -Iext/fileinfo/ -I/home/cpeasyapache/src/php-5.4.28/ext/fileinfo/ -DPHP_ATOM_INC -I/home/cpeasyapache/src/php-5.4.28/include -I/home/cpeasyapache/src/php-5.4.28/main -I/home/cpeasyapache/src/php-5.4.28 -I/home/cpeasyapache/src/php-5.4.28/ext/date/lib -I/home/cpeasyapache/src/php-5.4.28/ext/ereg/regex -I/opt/xml2/include/libxml2 -I/opt/pcre/include -I/opt/curlssl//include -I/usr/include/enchant -I/usr/include/freetype2 -I/opt/php_with_imap_client//include -I/home/cpeasyapache/src/php-5.4.28/ext/mbstring/oniguruma -I/home/cpeasyapache/src/php-5.4.28/ext/mbstring/libmbfl -I/home/cpeasyapache/src/php-5.4.28/ext/mbstring/libmbfl/mbfl -I/opt/libmcrypt//include -I/usr/include/mysql -I/opt/mm//include -I/opt/tidy//include -I/opt/xslt/include -I/opt/xslt//include -I/home/cpeasyapache/src/php-5.4.28/TSRM -I/home/cpeasyapache/src/php-5.4.28/Zend    -g -O2 -fvisibility=hidden  -c /home/cpeasyapache/src/php-5.4.28/ext/fileinfo/libmagic/apprentice.c -o ext/fileinfo/libmagic/apprentice.lo 
    virtual memory exhausted: Cannot allocate memory
    make: *** [ext/fileinfo/libmagic/apprentice.lo] Error 1
    !! 'make' failed with exit code '512' !!
    !! 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/fixmailman' !!
    !! Executing '/scripts/update_apachectl' !!
    !! Executing '/scripts/enablefileprotect' !!
    !! Registering the Mod Security addon !!
    !! WARNING: This causes cpsrvd to restart and might cause logging output to stop !!
    Notification => cyril@sleepingforest.co.uk via EMAIL [level => 2]
    Notification => cyril@sleepingforest.co.uk via PAGER [level => 2]
    modsec registered
    Compiling report...
    Sending report. As some of the attached files may be quite large, this could take a few minutes. Thanks for your patience.
    !! If you  want to create a support ticket with cPanel regarding this please reference 'BuildAP Report Id': '13616841' !!
    Report processed.
    !! Feel free to submit a support ticket at https://tickets.cpanel.net/submit/index.cgi?reqtype=tickets !!
    !! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1400899380' !!
    
     

    Attached Files:

  11. x1024

    x1024 Active Member

    Joined:
    May 19, 2014
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi Michael, I really appreciated your kind help.
    However we have re-installed the VPS and server is up & running now

    1. Easy Apache could install modules properly
    2. No more memory-related issues

    My conclusion of the issue would probably be the "Memory Usage Restrictions" function under Apache Configuration
    Where it has inserted a RLimitMEM entry in the httd.conf & caused random problems

    If you can input further advice maybe it'd help the others as well.
    Again I appreciate your kind assistance.
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    While it's possible the RLimit values were partly the cause, the EasyApache build failure output indicates there was a memory problem on the entire server:

    It's likely the VPS itself was out of memory.

    Thank you.
     
Loading...

Share This Page