500 errors when entering domain.com/cpanel

Asked By 10 points N/A Posted on -
qa-featured

 

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.

SHARE
Best Answer by Carl Jack
Answered By 40 points N/A #94396

500 errors when entering domain.com/cpanel

qa-featured

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.

Best Answer
Best Answer
Answered By 10 points N/A #94397

500 errors when entering domain.com/cpanel

qa-featured

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

Related Questions