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.

After update today 500 errors on entire server!!

Discussion in 'General Discussion' started by lynnette, Dec 12, 2009.

  1. lynnette

    lynnette Member

    Joined:
    Mar 27, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    How can I fix this quickly please?
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    What exactly was updated and what were the manual changes made on the server?

    What do the Apache error logs say at:

     
  3. lynnette

    lynnette Member

    Joined:
    Mar 27, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Just checking the logs now. Just the normal scripts/upcp everything was fine before it. No manual changes made.
     
  4. lynnette

    lynnette Member

    Joined:
    Mar 27, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    The logs are just showing Premature End of Script Headers and Invalid method in request \x16\x03\x01
     
  5. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    strange... have someone login and check as the logs aren't giving clear indication of the exact problem.
     
  6. Janak

    Janak Well-Known Member

    Joined:
    Jul 18, 2009
    Messages:
    71
    Likes Received:
    1
    Trophy Points:
    6
    Make sure that the port in all of your VirtualHost & NameVirtualHost directives are up to date in your apache httpd config file.
     
  7. lynnette

    lynnette Member

    Joined:
    Mar 27, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    No other error messages anywhere, ports are up to date nothing different.
     
  8. lynnette

    lynnette Member

    Joined:
    Mar 27, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Found this error message at the very start of the other errors:

    Request exceeded the limit of 10 internal redirects due to probable configuration error Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace

    But that was at the start and not since.

    Also rebuilt apache with no difference
     
    #8 lynnette, Dec 12, 2009
    Last edited: Dec 12, 2009
  9. Janak

    Janak Well-Known Member

    Joined:
    Jul 18, 2009
    Messages:
    71
    Likes Received:
    1
    Trophy Points:
    6
    Can you please provide more details like when are you getting 500 errors? while browsing websites hosted on server? can you please paste exact error here?
     
  10. lynnette

    lynnette Member

    Joined:
    Mar 27, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Internal Server Error

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

    Please contact the server administrator, webmaster@theguruonline.biz 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.
    ==========================================
    Just when we are trying to get to the websites
     
  11. lynnette

    lynnette Member

    Joined:
    Mar 27, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    We turned off Apache suexec and can now see the pages, any ideas?
     
  12. lynnette

    lynnette Member

    Joined:
    Mar 27, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Well its fixed, rebuilt apache without mod suphp then rebuilt it again with and now it all works.
     
  13. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    Great to here your issue is resolved. Basically, suPHP is more secure for running PHP applications. It will prevent 777 permissions to files and folders. With suPHP 777 is equivalent to 755. It was giving 500 error because of 777 permissions of your website files and folders.
     
  14. lynnette

    lynnette Member

    Joined:
    Mar 27, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    We have always had suphp on our server with no problems, so it wasn't a permissions issue. We had to rebuild apache without it and then rebuild it again with it, so all I can assume is there was a problem with suphp.
     
  15. gmartins

    gmartins Registered

    Joined:
    Nov 13, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Explanation of the solution

    Form some reason, apache can't handle suphp logs greatest than 2 GB.
    So if you are experiencing this kind of problem, please go and check your:

    /usr/local/apache/logs/suphp_log

    If is more than 2 GB, sure it is the cause of the problem.
    Rename it, so cPanel creates it again, clean :)

    And all is working again !

    Bye!!

    German.:)
     
  16. ModServ

    ModServ Well-Known Member

    Joined:
    Oct 17, 2006
    Messages:
    332
    Likes Received:
    5
    Trophy Points:
    18
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    I totally agree with gmartins. suPHP log can handle a maximum of 2GB, So when you removed and installed again the logs rotated so the site worked well. From WHM go to Apache Configuration then Log Rotation then enable suphp_log and click save, That will rotate it automatically to not face this problem again.
     
Loading...

Share This Page