500 Internal Server Error while accessing WHM

lfrankyfranky

Registered
Mar 31, 2008
1
0
51
500 Internal Server Error in Cpanel

Exactly the same issue - and don't find a reason for it.

If I type www.mydomain.com/cpanel I get the Internal Server Error Screen

I have not made changes to my server configuration. And it worked fine before.
 

libin

Member
Jul 4, 2006
6
0
151
Hi,

Can you please check your server logs and check if you have the error:

“Premature end of script headers:”
 
Last edited by a moderator:

Dannyblaze

Member
PartnerNOC
Sep 28, 2004
24
0
151
Gatineau, Quebec, Canada
Hi Guys,

I've seen this happen before. :eek:

Log into WHM and change the THEME on that specific cPanel account. Ensure it's set to x or x3 and see if that works for you.

edit: I just noticed you mentioned you were getting the 500 when trying to access /whm as well ... this really confuses me. Does http://domain.com:2086 work?

Hope this helps! :D
 

LiNUxG0d

Well-Known Member
Jun 25, 2003
206
1
168
Gatineau, Quebec, Canada
Hey there,

For starters, you can check a couple logs to make sure that you're not seeing anything weird, namely:

/usr/local/apache/logs/access_log
/usr/local/apache/logs/error_log


Also, you can make sure cPanel is ok, using this log:

/usr/local/cpanel/logs/error_log
/usr/local/cpanel/logs/access_log


Use the `tail -f /path/to/log` command where /path/to/log is the paths above, and try to login with the browser. You'll see errors and what generated them, usually.

I really DO NOT THINK you guys should be CHMODDING /usr/bin recursively to 755 as libin suggested above. Please don't. PLEASE don't.

;)

Ah, and you can always try updating cPanel to be sure it's not just something... odd... cPanel when updating will reset perms on core files.

- Log in as root.
- /scripts/upcp --force

Give 'er!

Regards,
 
Last edited:

pooprscooper

Registered
Mar 27, 2008
3
0
51
I too am getting this same error.
upcp --force doesn't fix it, nor does 755 on bin


Anyone have any solutions? I don't see anything weird in the error logs. both WHM and cPanel give 500 internal server errors.

Should we do a force reinstall??
 
Last edited: