Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#234 Cannot read IIS 6.0 logs

closed
5
2012-10-11
2003-10-13
BobOki
No

I have been using AWstats for a LONG time and its
great. I recently upgraded my 2000 box to 2003 server
which uses IIS 6.0, and I guess the log files are now
different, becuase with same settings as I had in the IIS
5.0 box, AWstats cannot read those logs.

Here is the error I get:

AWStats did not found any valid log lines that match
your LogFormat parameter, in the 50th first non
commented lines read of your log.
Your log file D:/Users/Kei/W3SVC5/ex0310.log must have
a bad format or LogFormat parameter setup does not
match this format.

Your AWStats LogFormat parameter is: 2
This means each line in your web server log file need to
have "MSIE Extended W3C log format" like this:
date time c-ip c-username cs-method cs-uri-sterm sc-
status sc-bytes cs-version cs(User-Agent) cs(Referer)

And this is a sample of records AWStats found in your
log file (the record number 50 in your log):
2003-10-01 00:01:01 GET /kei/fanart/tb/kojiro.jpg -
219.95.18.23 HTTP/1.1 Mozilla/4.0+
(compatible;+MSIE+6.0;+Windows+NT+5.1)
http://kei.boboki.com/ 200 1423

Setup ('EDITIEDHERE\cgi-bin\awstats.conf' file, web
server or permissions) may be wrong.
See AWStats documentation in 'docs' directory for
informations on how to setup awstats.

Discussion

  • BobOki
    BobOki
    2003-10-13

    Logged In: YES
    user_id=886311

    p.s. Just noticed while rereading this post, that theres a typo
    as well.
    "AWStats did not found any valid log lines " Should
    be "AWStats did not find any valid log lines "

     
  • Logged In: YES
    user_id=96898

    You must use a predefined log format with IE6.
    Take a look at FAQ.
    Request kept open until typo error is corrected.

     
  • Logged In: YES
    user_id=96898

    You must use a predefined log format with IE6.
    Take a look at FAQ.
    Request kept open until typo error is corrected.