when I open AWStats for 1 of the websites, there are 0 everywhere, not a single visit is logged. When I tried to run /scripts/runweblogs for that user, here is the output:
Searching new records from beginning of log file...
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 /usr/local/apache/domlogs/domain.org must have a bad format o
r 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 form
at" 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 num
ber 50 in your log):
67.132.43.2 - - [01/Sep/2005:12:56:34 -0400] "GET /images/myphonecom.gif HTTP/1.
1" 304 -
Setup ('/home/domain/tmp/awstats/awstats.domain.org.conf' file, web server or
permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
Complete
Any idea on why this might be happening, and how to fix it? Other domains on the server work perfectly.
EDIT: I corrected the path to the log file in the AWstats conf file for that domain, but now when I run /scripts/runweblogs, I get this:
No qualified records found in log (19 corrupted, 0 dropped)
Searching new records from beginning of log file...
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 /usr/local/apache/domlogs/domain.org must have a bad format o
r 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 form
at" 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 num
ber 50 in your log):
67.132.43.2 - - [01/Sep/2005:12:56:34 -0400] "GET /images/myphonecom.gif HTTP/1.
1" 304 -
Setup ('/home/domain/tmp/awstats/awstats.domain.org.conf' file, web server or
permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
Complete
Any idea on why this might be happening, and how to fix it? Other domains on the server work perfectly.
EDIT: I corrected the path to the log file in the AWstats conf file for that domain, but now when I run /scripts/runweblogs, I get this:
No qualified records found in log (19 corrupted, 0 dropped)
Last edited: