Reply
Old March 13th, 2006 Top | #1
 
Punkrulz's Avatar
Somewhat eXPerienced
Joined: December 2001
Location: Woodbury, NJ
Posts: 790
Reputation: 50
Power: 134

Default AWStats / IIS Logging for Server 2003 Issues

Hey guys,

We've been experiencing some weird issues when it comes to IIS Log formatting and the ability to take it into AWStats. I believe that this is the actual IIS Logging problem so I'm posting it in here. There is supposed to be a specific log format that AWstats uses to be able to generate data from the information in the log. The problem is though it seems that the logging somehow gets it's settings changed, and awstats can't read the log. The log is supposed to be WC3 Extended Log File Format, with certain options checked. When logging into the server and checking the options, everything looks good. But when you run the "Update Stats" button from AWStats, you get the following error message:

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 C:/Inetpub/websitename/logfiles/W3SVC39286013/extend1.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 an example of records AWStats found in your log file (the record number 50 in your log):
2006-03-09 21:28:35 GET /ts_files/scroll.html 0 - 172.16.19.6 HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+InfoPath.1) http://www.website.org/ 200 4900


Setup ('C:\Inetpub\websitename\awstats/awstats.website.name.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
When I go into the directory where the log file is, I shut down IIS, delete the log file, and then restart IIS... I wait for the new log to be generated, and for awhile the update stats button will work, but then after a day or less or so, the problem continues on with that error message.

Anyone have any ideas on the matter?

CPU: Intel C2D E8400 {3.0GHz} | Mobo: Gigabyte GA-EP45-UD3R | RAM: GSkill DDR2-1000 2x2gb | HDD: Western Digital 640gb SATA | GFX: EVGA Geforce GTX-260 216c | Speakers: Creative Inspire 5200 | Operating System: Windows Vista Business x64

If you're happy with my assistance, please click on the on the left side under my name!
Punkrulz is offline   Reply With Quote
Old March 15th, 2006 Top | #2
 
Punkrulz's Avatar
Somewhat eXPerienced
Joined: December 2001
Location: Woodbury, NJ
Posts: 790
Reputation: 50
Power: 134

Default Re: AWStats / IIS Logging for Server 2003 Issues

Anyone have any idea about this?

CPU: Intel C2D E8400 {3.0GHz} | Mobo: Gigabyte GA-EP45-UD3R | RAM: GSkill DDR2-1000 2x2gb | HDD: Western Digital 640gb SATA | GFX: EVGA Geforce GTX-260 216c | Speakers: Creative Inspire 5200 | Operating System: Windows Vista Business x64

If you're happy with my assistance, please click on the on the left side under my name!
Punkrulz is offline   Reply With Quote
Old August 18th, 2006 Top | #3
 
liquidkool's Avatar
OSNN One Post Wonder
Joined: August 2006
Posts: 1
Reputation: 0
Power: 0

Default Re: AWStats / IIS Logging for Server 2003 Issues

Did you find the solution to this. I am getting the exact same problem on Windows server 2003
liquidkool is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Shares Problem - Windows Home Server/Server 2003 indyjones Windows Server Systems 5 December 2nd, 2007 11:30pm
windows server 2003 standard or slackware linux as server Dark Atheist Benchmarks & Performance 27 July 19th, 2007 12:24am
Access 2003, technical issues. GEN3RIC Web Design & Coding 1 March 28th, 2006 11:33pm
Server 2003 Exchange 2003 connection prob for clients!! Troy Windows Server Systems 1 February 28th, 2006 12:18pm
NT4 server user base import to 2003 server? GeorgGG Windows Desktop Systems 8 December 18th, 2003 6:31am