Current User: Guest Login
Please consider registering

Lost Your Password?

Search Forums:


Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Time to Time AWSTATS Fails

Reply to Post Add a New Topic

7:47 am
March 17, 2011



posts 3

For past two days AWSTATS updates are not running, my log format is combined

LogFormat = "%host %other %logname %time1 %methodurl %code %bytesd %refererquot %uaquot"


And Error its showing is in the below line – username [03/Mar/2011:20:48:44 -0500] "GET /Windchill/netmarkets/jsp/netmarkets/view.jsp HTTP/1.1" 401 505 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; G
TB6.6; SIMBAR={B5F792F6-43D5-11E0-9EFA-0019DB5B0D5E}; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"

 I think there is an extra character in String GTB6.6, which is causing the issue.


Any idea on how to skip this line alone and proceed on other records



10:43 am
March 17, 2011



posts 1125


This is strange. It seems there is an end-of-line sequence of characters (CR-LF) between G and TB6.6. I don't see any other special character, but some special characters may be hidden by the text editor of this forum. If there is just an end-of-line sequence, AWStats should just drop the line (two lines) because they are not valid and continue to parse the log file. In this case, the update should run almost perfectly as only the lines containing GTB6.6 would be dropped.

1:07 am
March 22, 2011



posts 3


thanks for the update, i manage clearing the line, but i lost 3 days of stats. one question, the issue occurred on March 15th and the log entry is on 3rd March, why AWSTATS recheck while calculating in current date the old datas, is there a way to stop this?

8:53 am
March 22, 2011



posts 1125


When running an AWStats update, AWStats reads (or re-reads) the log file(s) specified by the LogFile  directive of the AWStats configuration file.

In your case, I would remove the "bad" lines from the log file and I would move all AWStats data files from the DirData  directory to a temporary directory. Then you have to rerun AWStats updates for all log files of March. When this is done, you can restore the AWStats data files that were initially moved to the temporary directory (except the March data file that has just be rebuilt).

Reply to Post

Reply to Topic:
Time to Time AWSTATS Fails

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
5 + 1

About the Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
10 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 639
Posts: 2710


There are 257 Members
There have been 304 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)