p-root

Active Member
Nov 1, 2008
31
0
56
INDIA
Hi,

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).
=========================================================================

Please do the needful and let me know how to get rid of this error...
 

Elfofdark

Member
Mar 7, 2007
24
0
151
Same problem here

I have enable AWstats from 48h and when i look into CPanel at AWstats it shows " There are no domains which have awstats stats to display."