Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






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

Log file IIS 6.0 error with Awstats ?

Reply to Post Add a New Topic
UserPost

10:42 pm
April 12, 2009


thaingt

Member

posts 7

I have a problem here.

Please help me.

My problem is:

1. My logfile is structure:

#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2009-04-07 01:40:44
#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
2009-04-07 01:40:44 W3SVC1031872035 118.69.203.92 GET /styles/styles.css – 80 – 210.245.54.24 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1) 304 0 0
2009-04-07 01:40:44 W3SVC1031872035 118.69.203.92 GET /styles/paging.css – 80 – 210.245.54.24 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1) 304 0 0
2009-04-07 01:40:44 W3SVC1031872035 118.69.203.92 GET /js/windows.js – 80 – 210.245.54.24 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1) 304 0 0

……

2. In awstats.www.newstar.vn.conf file. I config is:

LogFormat="%time2 %other %other %method %url %query %other %logname %host %ua %code %other %bytesd"

3. When i combined and results here:

….

Jumped lines in file: 955

Found 955 already parsed records.

Parsed line in file: 0

Found 8 dropped records,

Found 947 corrupted records,

Found 0 old records,

Found 0 new qualified records.

4. Please explain this problem. Thanks 

Thai,

Cry

5:31 am
April 13, 2009


Jean-Luc

Admin

posts 1063

Hi,

LogFormat  as you deifned it is valid and it works with the log file sample you provided in your post.

If you get 947 corrupted records, then you must have 947 records in a different format in your log file or you have a second different LogFormat  definition in your AWStats config file.

10:22 am
April 13, 2009


thaingt

Member

posts 7

Dear Jean-Luc,

There are three file:

1. Links : http://newstar.vn/temp/

2. Please help me.

Thanks.

Thai,

Cry

10:36 am
April 13, 2009


Jean-Luc

Admin

posts 1063

LogFormat  in your AWStats config file has another value than the one you indicated in your first post. Use the LogFormat  definition as in your first post and it will work.

The DirData directory must be empty when performing these tests. Move all files already in DirData  to another temporary directory if needed.

11:12 am
April 13, 2009


thaingt

Member

posts 7

Dear Jean-Duc,

DirData now is empty and  my results here:

1. I test with 3 file in here: http://www.newstar.vn/temp

2. And i captured screen:

2:24 pm
April 13, 2009


Jean-Luc

Admin

posts 1063

There is a misunderstanding here.

As I said above, LogFormat  in your AWStats config file ( awstats.www.newstar.vn.conf  ) is not valid. You need to correct it as I pointed out in my previous message.

8:15 pm
April 13, 2009


thaingt

Member

posts 7

Dear Jean-Luc,

I am now correct my Awstats file is the same my first post

LogFormat=”%time2 %other %other %method %url %query %other %logname %host %ua %code %other %bytesd”

But the result is the same is : Found 0 new qualified records.

Please help me.

Thái,

4:15 am
April 14, 2009


Jean-Luc

Admin

posts 1063

Hi Thái,

Please paste here the complete message you get when running the AWStats update.

10:33 am
April 14, 2009


thaingt

Member

posts 7

Dear Jean-Luc,

1. My log file:

#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2009-04-10 00:00:12
#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
2009-04-10 00:00:12 W3SVC98450322 118.69.203.92 GET /index.php – 80 – 123.19.96.189 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1) 200 0 0
2009-04-10 00:00:12 W3SVC98450322 118.69.203.92 GET /styles/styles.css – 80 – 123.19.96.189 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1) 200 0 64
2009-04-10 00:00:12 W3SVC98450322 118.69.203.92 GET /js/ajax.js – 80 – 123.19.96.189 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1) 200 0 64
2009-04-10 00:00:12 W3SVC98450322 118.69.203.92 GET /js/ajax.js – 80 – 123.19.96.189 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1) 200 0 64
2009-04-10 00:00:13 W3SVC98450322 118.69.203.92 GET /favicon.ico – 80 – 123.19.96.189 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1) 404 0 64
2009-04-10 00:00:13 W3SVC98450322 118.69.203.92 GET /favicon.ico – 80 – 123.19.96.189 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1) 404 0 2
2009-04-10 00:00:13 W3SVC98450322 118.69.203.92 GET /index.php – 80 – 123.19.96.189 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1) 200 0 0
2009-04-10 00:00:15 W3SVC98450322 118.69.203.92 GET /images/bg.gif – 80 – 123.19.96.189 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1) 200 0 64

……..

2. Awstats file:

3. httpd.conf

4. Log file :

5. When i update the results was show:

thanks,

Thái,

11:58 pm
April 15, 2009


thaingt

Member

posts 7

Dear Jean-Luc,

Did you use IISAWstats software?

I try this but there are no result…..

My site here:  http://timbanchat.vn/IISAWstats/

Thanks,

Thái,

2:12 am
April 16, 2009


Jean-Luc

Admin

posts 1063

Here is what I get with your log file and your AWStats config file:

[internetofficer ~/public_html/cgi-bin/newstar]$ ./awstats.pl -update -config=www.newstar.vn
Create/Update database for config "./awstats.www.newstar.vn.conf" by AWStats version 6.9 (build 1.914)
From data in log file "thaingt_log.txt"…
Phase 1 : First bypass old records, searching new record…
Searching new records from beginning of log file…
Phase 2 : Now process new records (Flush history on disk after 20000 hosts)…
Jumped lines in file: 0
Parsed lines in file: 11112
 Found 1 dropped records,
 Found 3 corrupted records,
 Found 0 old records,
 Found 11108 new qualified records.
[internetofficer ~/public_html/cgi-bin/newstar]$

Your copy of AWStats could be corrupted. You can download the latest version from the AWStats page at SourceForge.

I do not know IISAWSTATS.

11:42 am
April 16, 2009


thaingt

Member

posts 7

Dear Jean-Luck,

I am done.

Thank you very much.

Thai,

Laugh

Reply to Post

Reply to Topic:
Log file IIS 6.0 error with Awstats ?

Guest Name (Required):

Guest Email (Required):

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

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

Guest URL (required)

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


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 201

Currently Online:
12 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 513
Posts: 2447

Membership:

There are 4127 Members
There have been 254 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

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

Recent New Members: eniko, leptserkhan, JohnnyB, dweb3d, buck, newtoawstat

Administrators: Jean-Luc (1063 Posts)

Moderators: Jean-Luc (1063 Posts)