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.

Internal Server Error after easyapache save and build

Discussion in 'EasyApache' started by jaoc2013, Apr 17, 2014.

  1. jaoc2013

    jaoc2013 Registered

    Joined:
    Apr 17, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Today I installed some components in easyapache, once I finish installing, I went to restart apache and thought everything was fine,
    but when I enter the website shows me a Internal Server Error,
    after going back to easyapache and shows me this error:

    No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/easyapache.pl): subprocess exited with status 12 (ENOMEM)

    Can anyone help to fix these issues?

    Thanks,
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    500 IS errors can be a number of things - please start with loading your website, then pasting us the last few lines of your Apache error log. /usr/local/apache/logs/error_log
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    It looks like your server may have reached it's memory limit. Is this a VPS? If so, check /proc/user_beancounters to see if you notice any fail counts for the parameters imposed by your VPS hosting provider.

    Thank you.
     
  4. jaoc2013

    jaoc2013 Registered

    Joined:
    Apr 17, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,
    this is the result when you run the command cat / proc / user_beancounters
    this is the result to chekiar the command

    # cat /proc/user_beancounters
    Version: 2.5
    uid resource held maxheld barrier limit failcnt
    10108461: kmemsize 19328301 19349720 9223372036854775807 9223372036854775807 0
    lockedpages 0 0 9223372036854775807 9223372036854775807 0
    privvmpages 509043 509185 524288 524288 337

    Thank you.
     
  5. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    A lot of errors for privvmpages, but it would still be helpful to see your error log as originally requested.
     
  6. jaoc2013

    jaoc2013 Registered

    Joined:
    Apr 17, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    /usr/local/apache/logs/error_log:
    Code:
    [Thu Apr 17 14:14:26 2014] [notice] caught SIGTERM, shutting down
    [Thu Apr 17 14:14:28 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Thu Apr 17 14:14:28 2014] [notice] ModSecurity for Apache/2.7.7 (http://www.modsecurity.org/) configured.
    [Thu Apr 17 14:14:28 2014] [notice] ModSecurity: APR compiled version="1.5.0"; loaded version="1.5.0"
    [Thu Apr 17 14:14:28 2014] [notice] ModSecurity: PCRE compiled version="8.21 "; loaded version="8.21 2011-12-12"
    [Thu Apr 17 14:14:28 2014] [notice] ModSecurity: LIBXML compiled version="2.9.0"
    [Thu Apr 17 14:14: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 Apr 17 14:18:11 2014] [error] [client 190.214.25.177] (12)Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/icxo/public_html/app.php, referer: http://domain.com/
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I recommend consulting with your web hosting provider to see if they can increase the memory allotted to this VPS. The fail count in /proc/user_beancounters shows that your VPS is running out of memory. Beyond that, see if any memory/CPU limits are imposed in your Apache configuration file. EX:

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

Share This Page