Comment 5 for bug 908901

Revision history for this message
Vincent Lefevre (vincent-vinc17-net) wrote :

Any news? awstats spams me every 10 minutes! Here's the message:

Error while processing /etc/awstats/awstats.www.vinc17.net.conf
Create/Update database for config "/etc/awstats/awstats.www.vinc17.net.conf" by AWStats version 7.2 (build 1.992)
From data in log file "/srv/d_ioooi/www/www.vinc17.net/logs/www.vinc17.net-access.log"...
Phase 1 : First bypass old records, searching new record...
Direct access after last parsed record (after line 610309)
AWStats did not find any valid log lines that match your LogFormat parameter, in the 50th first non commented lines read of your log.
Your log file /srv/d_ioooi/www/www.vinc17.net/logs/www.vinc17.net-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" like this:
111.22.33.44 - - [10/Jan/2001:02:14:14 +0200] "GET / HTTP/1.1" 200 1234 "http://www.fromserver.com/from.htm" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
And this is an example of records AWStats found in your log file (the record number 50 in your log):
72.69.147.250 - - [16/May/2016:06:20:12 +0200] "\x03" 400 0 "-" "-"
Setup ('/etc/awstats/awstats.www.vinc17.net.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).