login via /cpanel gives a 500 internal server error

cyon

Well-Known Member
PartnerNOC
Jan 15, 2003
314
0
241
hi,

if a client wants to enter in his cpanel, he got this:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected]****.ch and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
the error_log tells this:

[Thu Dec 11 16:46:09 2003] [error] [client 138.189.119.***] (12)Cannot allocate memory: getpwuid: invalid userid 32289
[Thu Dec 11 16:46:09 2003] [error] (12)Cannot allocate memory: exec of /usr/local/cpanel/base/redirect.cgi failed
[Thu Dec 11 16:46:09 2003] [error] [client 138.189.119.***] Premature end of script headers: /usr/local/cpanel/base/redirect.cgi
any ideas?
don't know how this could happen.
 

cyon

Well-Known Member
PartnerNOC
Jan 15, 2003
314
0
241
solution:

I had this line in my httpd.conf:

RLimitMEM 23178922 (~22 MB)

I replaced it with

RLimitMEM 157286400 (~150 MB)

and now it works!