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

inspiredearth

Member
Dec 1, 2015
19
2
3
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463
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.
 

inspiredearth

Member
Dec 1, 2015
19
2
3
New Zealand
cPanel Access Level
Reseller Owner
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.
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?
 
Last edited:

inspiredearth

Member
Dec 1, 2015
19
2
3
New Zealand
cPanel Access Level
Reseller Owner
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.
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.