We have the same problem since Sept 2nd and after some review,
I found out that problem is that Apache is no longer generating quotes
around the fields in any log files but even though I know the cause of
the problem, I'm still not sure how to get AwStats working again:
Instead of:
127.0.0.1 - - [01/Sep/2006:14:35:01 -0400] "GET /file.txt HTTP/1.0" 200 11200 "-" "-"
It's now like:
127.0.0.1 - - [01/Sep/2006:14:35:01 -0400] GET /whm-server-status HTTP/1.0 200 11200 - -
The change in the log format occurred following a Cpanel update earlier this week
and the problem seems to be associated with that.
We have multiple servers where this problem has emerged this week
------
EDIT: I may have possibly found the solution --- just ran a compare of httpd.conf from an unchanged server
against one of the servers having the AwStats and Logformat problem and found the following:
Server that still works:
Code:
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
Server that is broken:
Code:
LogFormat "%h %l %u %t %r %>s %b %{Referer}i %{User-Agent}i" combined
Apparently the most recent cpanel update changed the LogFormat for some really bizarre reason!
Changing the LogFormat in httpd.conf back to normal, restarting Apache, and removing the existing log
files from /etc/httpd/domlogs did the trick and AwStats is once again working!