Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge cyon's Avatar
    Join Date
    Jan 2003
    Posts
    323

    Default login via /cpanel gives a 500 internal server error

    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, webmaster@****.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.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge cyon's Avatar
    Join Date
    Jan 2003
    Posts
    323

    Default

    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!

Similar Threads & Tags
Similar threads

  1. 500 Internal Server Error when visiting domain.ext/cpanel, whm
    By nixgurus in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-17-2011, 07:42 AM
  2. /whm /cpanel and /webmail redirect gives 500 Internal Server Error
    By mphosting in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-02-2006, 04:55 PM
  3. cPanel Proxy + 500 Internal Server Error
    By 3en in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-10-2006, 03:49 PM
  4. Cpanel 500 Internal server error
    By artho in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 03-08-2003, 10:50 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube