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: Netherlands
Posts: 2,243
Default

The answer is already in the error message:

Quote:
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:
1
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