prankstr25

Member
Jun 27, 2004
11
0
151
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)
 
Last edited:

prankstr25

Member
Jun 27, 2004
11
0
151
That's what I have..There is only 1 file in the tmp directory, the awstats .conf file...
 

p-root

Active Member
Nov 1, 2008
31
0
56
INDIA
I have the same problem,I have linux shared hosting server with WHM,from last couple of days our AWSTATS not updating/not working,i have tried with all the option,whenever i just update AWSTATS from user Cpanel it throws error :-

================================================== ============================
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.com 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):
118.94.161.217 - - [12/Sep/2010:21:18:04 +0530] "GET /adda/wp-content/uploads/avatars/1/75a71ca2ddfd423e7a9276ff8b6f22dd-bpthumb.jpg HTTP/1.1" 200 1722


Setup ('/home/user/tmp/awstats/awstats.domain.com.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
================================================== =======================

Permission of /home/user/tmp/awstats is 755 and all files has 644 permission,Please do the needful and let me know how to get rid of this error...