The Community Forums

Interact with an entire community of cPanel & WHM users.
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

500 Internal Server Error

Discussion in 'General Discussion' started by crazyaboutlinux, Apr 6, 2009.

  1. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    hi

    im sorry if this has been asked

    can anyone tell me how to fix below error ?

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, webmaster@predator.alakmalak.net 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.
    Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at predator.alakmalak.net Port 80
     
  2. Tam

    Tam Well-Known Member

    Joined:
    Jul 31, 2004
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    akk!!! there is that dreaded word ... Frontpage

    Try running /scripts/chownpublichtmls in SSH and also check sub folder permissions are 0755 on any affected account. Frontpage is wonderful for screwing with folder permissions, although it could be something else, remotely possible I guess.
     
  3. Tam

    Tam Well-Known Member

    Joined:
    Jul 31, 2004
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    pps: also check your /usr/local/apache/logs/suexec_log if it is over 2gb in size this will also cause 500 errors to be issued ;) If it is over 2gb then either delete or rename it.
     
  4. Warrenw

    Warrenw Active Member
    PartnerNOC

    Joined:
    Nov 1, 2008
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    This sort of error is often caused by bad lines in the .htaccess file. If your server is running phpsuexec you can not put any php flags in .htaccess. Look over your .htaccess, make sure there are no php flags or garbage lines.

    One quick way to check if .htaccess is the problem, rename .htaccess to .htaccess.bak or comment out any suspicious lines and see if you still get this problem.

    You can tail /usr/local/apache/logs/error_log and hit the page that generates the error to see the exact error that apache is throwing.

    There are other possible causes of 500 error but this is the most common I think.
     
  5. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    Hi

    Thanks guys thanks for your wonderful reply

    i just renamed .htaccess to .htaccess.bkp

    & website is working fine


    thanks guys once again

    Cheerssssssssss!!!!!!!!!!

    Nilesh
     
Loading...

Share This Page