Thread: awstats error
View Single Post
  #2   (View Single Post)  
Old 2nd December 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
Join Date: Apr 2008
Location: New Zealand
Posts: 2,201

The answer is already in the error message:

AWStats did not find any valid log lines that match your LogFormat parameter
Your log file /var/log/httpd/access.log must have a bad format or LogFormat parameter setup does not match this format.
Your AWStats LogFormat parameter is:
This means each line in your web server log file need to have "combined log format"
So you wil need to either:
o Change your webserver configuration to use the `combined log format' type of logging.
o Change the awstats LogFormat parameter to whatever your webservers log format is.
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote