cpanel or whm gives internal server error

mido99

Registered
Oct 6, 2005
3
0
151
Hello every one !

I'm not able to to get to my cpanel or whm from your domain.com/cpanel or domain.com/whm

every time I try to login . cpanel or whm gives 500 internal server error

could any one tell me the way to solve that annoying problem !

thanks in advance !
 

Bucanero

Member
May 8, 2004
10
0
151
Same problem here

Hi

the same is happening to my sever, how ever I cant no tell to my 200 clients to change their login method ...

Any fix for this ?

Centos 4.5
cpanel latetest release

Bucanero
 

n3tph4t

Active Member
Jan 31, 2004
39
0
156
try the logs here too: /usr/local/apache/logs/suexec_log


Also, what version(s) of PHP & Apache are you running?
 

Bucanero

Member
May 8, 2004
10
0
151
On apache log

[Sun Nov 25 07:48:21 2007] [error] [client 65.11.114.232] (22)Invalid argument: setting of resource limits failed
[Sun Nov 25 07:48:21 2007] [error] [client 65.11.114.232] Premature end of script headers: redirect.cgi
[Sun Nov 25 07:48:21 2007] [error] [client 65.11.114.232] File does not exist: /home/vicomsol/public_html/500.shtml

on the suexec log no entry for today

:(

Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.7a mod_bwlimited/1.4 mod_auth_passthrough/2.1 PHP/5.2.5
 
Last edited:

n3tph4t

Active Member
Jan 31, 2004
39
0
156
Try checking ownership and permissions of redirect.cgi:

Code:
# ll -L /usr/local/cpanel/cgi-sys/redirect.cgi
-rwxr-xr-x 1 root wheel 915 Nov 23 2007 /usr/local/cpanel/cgi-sys/redirect.cgi*
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,221
4
193
Minneapolis, MN

Bucanero

Member
May 8, 2004
10
0
151
internal server error

Thanks for your reply, here is the result

# ll -L /usr/local/cpanel/cgi-sys/redirect.cgi
-rwxr-xr-x 1 root wheel 152 Aug 16 02:01 /usr/local/cpanel/cgi-sys/redirect.cgi
 

technix

Member
Oct 22, 2007
8
0
51
Plz be descriptive

Hello,

Can you please more descriptive ? as I can help you if I get the issue clearly

Thank you.
 

Michel McA

Member
PartnerNOC
Sep 1, 2007
13
0
51
1) SSH in and run the command service cpanel restart , please post any error messages that happens

2) Are you able to resolve correctly out of your server? (host myextralife.com, if it returns an IP address you are able to resolve correctly)

3) Are you hitting disk space limits or memory limits on your server? I notice in the error log (22)Invalid argument: setting of resource limits failed comes up
 

handsonhosting

Well-Known Member
Feb 17, 2002
151
0
316
Omaha, NE
cPanel Access Level
Root Administrator
Wanted to post a comment on there that we're seeing the same thing.

We had a user install an SSL cert on their site and once they did that, they now get an Internal Server Error.

A restart of Apache returned their site to normal, but a restart shouldn't have been necessary as it restarted once the SSL was installed anyway.

A few things;

Perl 5.8.8
Apache 2.2.6
cpanel 11.15-0-C18181

So a restart solved it, but anyone got any ideas on how to not have that happen to begin with.
 

a.sheipani

Member
Jan 29, 2007
16
0
151
Try This

i wonder if you still have the problem, if you do, here is a possible solution:

-ssh to your server
-pico /usr/local/apache/conf/httpd.conf
comment the two follwoing lines:
RLimitMEM 198569301
RLimitCPU 240

restart apache and see if the problem is fixed.

if it is fixed, uncomment the lines but this time change the limits to a higher value.

Best Regards
 
Aug 15, 2006
13
0
151
i wonder if you still have the problem, if you do, here is a possible solution:

-ssh to your server
-pico /usr/local/apache/conf/httpd.conf
comment the two follwoing lines:
RLimitMEM 198569301
RLimitCPU 240

restart apache and see if the problem is fixed.

if it is fixed, uncomment the lines but this time change the limits to a higher value.

Best Regards
Hi,

I don't see such an option in my /usr/local/apache/conf/httpd.conf, what OS version of WHM are you running?