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.

Frequent 500 Internal Server Error

Discussion in 'General Discussion' started by firemagician, Feb 18, 2015.

  1. firemagician

    firemagician Member

    Joined:
    Dec 31, 2014
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hi,

    My - Removed - is having a frequent 500 Internal Server Error

    When I browse the site, occasionally, I will be redirected to a 500 page error but refreshing it will load it normally.
    I want to get rid of it.
    I've already tried a few troubleshooting but still no luck:
    - replaced .htaccess
    - deactivate all plugins

    I've read something about flushing cache but can't quite comprehend to what it does and how to do it.

    I'm really new to web developing and this seems to be the only problem I'm having for now and I'm stuck here.

    Any help would be appreciated. THanks!
     
    #1 firemagician, Feb 18, 2015
    Last edited by a moderator: Feb 18, 2015
  2. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

    Joined:
    May 2, 2014
    Messages:
    509
    Likes Received:
    64
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hello,

    When Apache serves a ISE 500 (Internal Server Error 500), it will usually output to the logs in /usr/local/apache/logs/error_log about why it served a 500 page. The next time you see these errors, check that log. It should provide you a place to start.
     
  3. firemagician

    firemagician Member

    Joined:
    Dec 31, 2014
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hi, Jacob thanks for the response

    I'm using cPanel (ofcourse) and I checked the error log but there's nothing in it.

    Simply blank. And I don't know where I can find the "/usr/local/apache/logs/error_log"
    Can please elaborate?
    Thanks
     
  4. Prewebhost_Host

    Joined:
    Feb 18, 2015
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    Yes, you suppose to tail the apache logs at the moment when you are facing such issues, you can do that easily with the help of below steps :

    1. Login into the shell prompt of your hosting server

    2. Do fire the command as below tail -f /usr/local/apache/logs/error_log | grep domainname (domain name suppose to be replaced with the exact domain name)

    This will give you the exact cause...if permission and .htaccess is correct then it must be due to cloudlinux or due to resources given for the user, so kindly tail the logs and you will get the exact cause.

    Thank you.
     
Loading...

Share This Page