Solved

awstats with iis6.0

Posted on 2006-10-20
7
969 Views
Last Modified: 2008-01-09
I am trying to setup awstats with iis 6.0 and I keep recieving all of my records corrupted? It keeps telling me that its an incorrect log format. In the config file I set it to 2. I do not know why this keeps happening?
0
Comment
Question by:thenone
  • 3
  • 3
7 Comments
 
LVL 9

Expert Comment

by:FixingStuff
Comment Utility
Have you selected extended logging format and selected ONLY the columns that AWstats wants in the install doc?
Also, if you have previous logs that are not exactly setup like the install wants, delete or archive them somewhere and restart IIS.
Just did this today... worked perfect.
FS-
0
 
LVL 8

Author Comment

by:thenone
Comment Utility
Yes but I need to know I have a custom config file format so I need to know exactly what parameters go into it such as

LogFormat = "%time2 %host %logname %method %url %code %bytesd %ua %referer"
0
 
LVL 9

Expert Comment

by:FixingStuff
Comment Utility
Ok... is this your log column list?   if not exactly, please provide your exact IIS log format. thanks.
FS-
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 8

Author Comment

by:thenone
Comment Utility
ok here it is its the same list as awstat

Date
Time
C-ip
CS-username
CS-method
cs-uri-stem
cs-uri-query
sc-status
sc-bytes
cs-version
cs-user-agent
referrer
0
 
LVL 9

Accepted Solution

by:
FixingStuff earned 250 total points
Comment Utility
Ok... you originally mentioned that your logformat was set to 2.... you should set your LogFormat to the following:
LogFormat="date time c-ip cs-username cs-method cs-uri-stem cs-uri-query sc-status sc-bytes cs-version cs(User-Agent) cs(Referer)"

Also, double check the following:
  your LogFile config to make sure it is pointing to the log you want.
  LogType=W
  LogSeparator=" "

Let me know how this works for you.
FS-

0
 
LVL 18

Assisted Solution

by:Sam Panwar
Sam Panwar earned 250 total points
Comment Utility
Hi,

This is happenning due to the Awsts configure so please install awstats through the following steps.

Installation of Awstats


1.      Download the Latest version of Awstats from following url:
(http://awstats.sourceforge.net/)

2.      Install the Awstats using Downloaded Installer. (Recommended path is c:\Awstats).

3.      Create a Directory with the name of Data at c:\Awstats.

4.      Make the configuration of log format in IIS (Windows 2003) IIS>web site>properties>website tab>Active Log format>properties>Advanced Tab.

5.      Create a virtual directory in IIS through which you can view the Awstats through Helm CP or directly by url like (http://IPAddress/awstats/cgi-bin/awstats.pl?config=domainname.com)

6.      Add update. bat file in the schedule task, update. bat will be available in ‘C:\Awstats\wwwroot\cgi-bin’, it will be daily process the log files and update the stats.

7.      Make sure check the Awstats after one or two days to make sure that your stats are updating or not because if any problem in installation then you can’t recover the old logs. If the Awstats is working fine also the c:\Awstats\data directory, it should contain a data file for each domain on which Awstats has been enabled.

8.      If you want to update the logs manually then please use following command:

c:\awstats\wwwroot\cgi-bin> Awstats.pl config=domain name -update

Some useful Links:

http://forums.webhostautomation.com/viewtopic.php?t=13388&postdays=0&postorder=asc&highlight=awstats+icon&start=0

http://forums.webhostautomation.com/viewtopic.php?t=1792&highlight=awstats

http://www.allscoop.com/tools/awstats-log-format/index.php
0
 
LVL 8

Author Comment

by:thenone
Comment Utility
Thanks guys for your help but I figured out my problem...
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now