Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Consistent 500 Server Error, but no log related log entries?

Discussion in 'General Discussion' started by inspiredearth, Mar 6, 2018.

  1. inspiredearth

    inspiredearth Member

    Joined:
    Dec 1, 2015
    Messages:
    19
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    New Zealand
    cPanel Access Level:
    Reseller Owner
    Hi there,
    I am managing a dedicated server (CentOS 6.9) which has WHM/CPanel on it.

    The application on the site is Wordpress.

    There are certain things in the Wordpress admin (such as clearing the caches generated by W3TC Performance plugin) that consistently cause a 500 Server Error.

    Oddly, I can find no record of a 500 error in any of the error logs I've found paths to (by going through the forums, articles, etc.).

    I've also have done a tail -f feed of the error logs and no entries occurs when the error is happening.

    It has me baffled.

    The only error that is showing up (although no entry occurs when the 500 error happens) is

    Code:
    [core:error] [pid 19600:tid 140148440233728] [client 172.69.69.16:35505] AH00124: 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.
    This is something else that will need fixing, but I am very certain it's not related to the 500 error.

    The logs I've looked into are:

    /usr/local/apache/error_log
    /etc/apache2/logs/error_log
    /usr/local/cpanel/logs/error_log
    /usr/local/apache/logs/error_log

    I am not sure what else to try.
     
  2. Eminds

    Eminds Well-Known Member

    Joined:
    Nov 10, 2016
    Messages:
    267
    Likes Received:
    20
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    There is a error_log file in /public_html directory , may be you will find the exact error there. More over it looks redirect loop issue.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,937
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Is the account using PHP-FPM as it's PHP handler? If so, check to see if you notice any errors in the following log file:

    /home/username/logs/domain_tld.php.error.log

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. inspiredearth

    inspiredearth Member

    Joined:
    Dec 1, 2015
    Messages:
    19
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    New Zealand
    cPanel Access Level:
    Reseller Owner
    Thanks. I didn't mention that log as it is empty, as I assumed the way CP configures Apache, that log does not get utilised (which somewhat surprised me).
    Is there something I need to do to turn on error logging for a particular site in CP?
     
    #4 inspiredearth, Mar 6, 2018
    Last edited: Mar 6, 2018
  5. inspiredearth

    inspiredearth Member

    Joined:
    Dec 1, 2015
    Messages:
    19
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    New Zealand
    cPanel Access Level:
    Reseller Owner
    Thanks for mentioning this. I'd completely over looked the /home/username/logs directory. I always cd directly to the domain directory.
    I'll go over that log (which is massive), and see what I find.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice