Asked By
emmamorales
10 points
N/A
Posted on - 02/21/2012
Â
Hello, experts!Â
We were wondering if you could help us with our problem. We are getting about 500 error messages whenever we try to go to domain.com/cpanel.
Error log:
[Wed Dec 14 12:08:07 2011] [error] (12)Cannot allocate memory: couldn't create child process: 12: redirect.cgi
[Wed Dec 14 12:08:07 2011] [error] [client ] Premature end of script headers: redirect.cgi
[Wed Dec 14 12:08:07 2011] [error] [client ] File does not exist: /home/user/public html/500.shtml
[Wed Dec 14 12:08:08 2011] [error] [client ] daemon couldn't find CGI process for connection 279
Please help us solve this error. Your answers are needed as soon as possible. Thanks in advance.
500 errors when entering domain.com/cpanel
You are getting an forbidden message. it means that accessing to your file / folder you are trying to open have been denied. Misconfigurations and bad system or / and security and / or  firewall settings can cause this error.
All the directory listing whether the directory listing is shown is always determined by "Indexes" in Main >> Service Configuration >> Apache Configuration >> Global Configuration. From your description and errors, the box next to "Indexes" is probably not checked on your server, this might be the error since you receive memory errors
[Wed Dec 14 12:08:07 2011] [error] (12)Cannot allocate memory: couldn't create child process: 12: redirect.cgi
and many co-related errors.
500 errors when entering domain.com/cpanel
Hello Emma,
Check if there are any errors showing in /usr/local/cpanel/logs/error_log location when trying to access cPanel. After you have verified that,you will need to check WHM > Tweak Settings for the Max cPanel Process Memory value and check what is shown there to get a clue of what could be the cause of the error message.
The quickest way to solve those problems that you are getting will be by looking at the following logs:
/usr/local/apache/logs/error_log
/usr/local/apache/logs/suphp.log
Or you can alternatively look at the following:
ps faux
ps faux |grep username
kill -9 pid
Â
Hope this helps.
Regards,
Carl