gkgcpanel

Well-Known Member
Jun 6, 2007
214
1
166
cPanel Access Level
DataCenter Provider
Was this issue ever resolved?

I am having the same thing but only with certain customers. Most are fine, just one or 2 that I have found have this issue.
 

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Custom theme? What version of cPanel? Are you sure the log was not rotated? You should be able to test easy enough if you haven't, visit the domain.com/hitheregkg.html and check the Error Log page in cPanel.
[date shown here] [error] [client ip.is.sho.wn] File does not exist: /home/user/public_html/hitheregkg.html

If no, does it show here in this log?
/usr/local/apache/logs/error_log
 

gkgcpanel

Well-Known Member
Jun 6, 2007
214
1
166
cPanel Access Level
DataCenter Provider
Thanks for responding.

It is a custom theme, but I have already determined that this is not the problem. I changed the account back to using the x3 theme and it still didn't work.

As for the tests you had me run. Nothing showed up in the error log (cPanel button). and nothing showed up in
/usr/local/apache/logs/error_log either. It hasn't rolled over, the size is 179M and the last time it rolled over was Oct 9th.

I got a 404 Page not found page on the browser, but nothing in the log files.

/usr/local/apache/domlogs/domain.tld has this in it when I visited the page:


XX.XXX.XXX.XX - - [03/Nov/2011:11:13:14 -0500] "GET /hitheregkg.htm HTTP/1.1" 404 571 "-" "Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0"

So it is clearly hitting the access log (and you see the 404 too).

Other accounts (using the same theme) work just fine. I also noticed that several of them have more than a few lines in the error_log. Like 30 or 40 over the past 3 days. Yet, the error log (cPanel button) shows only log entries from today. So, for example if they had:

[Wed Nov 02 23:29:10 2011] [error] [client XX.NNN.NNN.XXX] File does not exist: /home/cccccccc/public_html/404.shtml
[Wed Nov 02 23:29:12 2011] [error] [client XX.NNN.NNN.XXX] File does not exist: /home/cccccccc/public_html/robots.txt
[Wed Nov 02 23:29:12 2011] [error] [client XX.NNN.NNN.XXX] File does not exist: /home/cccccccc/public_html/404.shtml
[Wed Nov 02 23:56:57 2011] [error] [client XX.NNN.NNN.XXX] File does not exist: /home/cccccccc/public_html/robots.txt
[Wed Nov 02 23:56:57 2011] [error] [client XX.NNN.NNN.XXX] File does not exist: /home/cccccccc/public_html/404.shtml
[Thu Nov 03 00:16:35 2011] [error] [client XX.NN.NNN.XXX] File does not exist: /home/cccccccc/public_html/robots.txt
[Thu Nov 03 00:16:35 2011] [error] [client XX.NN.NNN.XXX] File does not exist: /home/cccccccc/public_html/404.shtml
[Thu Nov 03 00:27:03 2011] [error] [client XXX.NN.NNN.XX] File does not exist: /home/cccccccc/public_html/~wsbingco
[Thu Nov 03 00:27:03 2011] [error] [client XXX.NN.NNN.XX] File does not exist: /home/cccccccc/public_html/404.shtml

It would only show me 4 lines from today's date. The errors from yesterday do not show up. Clearly if it is supposed to show the last 300 lines, it does not seem to be doing that. Also, sometimes it does... It will show 4 or 5 days worth of logs.

It's different for every customer, and they are all running the latest theme.

Version of cPanel running is: WHM 11.30.3 (build 5)

I have also tested this on several different cPanel servers (most running different versions). Same result...

Thanks again...
 

gkgcpanel

Well-Known Member
Jun 6, 2007
214
1
166
cPanel Access Level
DataCenter Provider
Nevermind... I just found the problem.

Customer had a .htaccess file that said "redirect everything that is an error to another URL"

renamed the .htaccess file and now the errors are logging fine.

Posting this here in case anyone else runs into this.

Thanks again.