Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 08-06-2009, 04:58 PM   #1 (permalink)
office politics's Avatar
 
It's all just 1s and 0s

Join Date: Jan 2004

Location: in the lab

Posts: 4,425

office politics will become famous soon enough

Default help setup awstats on IIS

I'm trying to setup awstats on a computer running iis on xp. I installed activeperl and awstats. I setup a virtual directory to point to the wwwroot in awstat's folder in program files.

my web hosts logs are configured as such

Quote:
#Fields: date time c-ip cs-username s-ip s-port cs-method cs-uri-stem cs-uri-query sc-status cs(User-Agent)
so i set Log format to

Quote:
LogFormat="%time2 %host %logname %host_r %other %method %url %other %code %ua"

I granted iusr_machinename modify permissions on the wwwroot folder in awstat's folder in program files

when i goto http://localhost/awstats/cgi-bin/aws...www.mysite.com and click update i see the following


Quote:
Error: Your personalized LogFormat does not include all fields required by AWStats (Add %bytesd in your LogFormat string).

Setup ('C:\Program Files\AWStats\wwwroot\cgi-bin/awstats.www.mysite.com.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).

what can i do to troubleshoot this?
office politics is offline  
Old 08-06-2009, 05:58 PM   #2 (permalink)
 

Join Date: Jul 2005

Location: England

Posts: 2,182

kmote has a spectacular aura aboutkmote has a spectacular aura about

Default Re: help setup awstats on IIS

Looks to me like you have to include %bytesd in your LogFormat so where you have
Code:
LogFormat="%time2 %host %logname %host_r %other %method %url %other %code "
you could have
Code:
LogFormat="%time2 %host %logname %host_r %other %method %url %other %code %bytesd"

__________________
MSI P43 Neo|Enermax Pro82+ 425W|E5200|silent 8500GT|250GB Samsung spinpoint F1|Samsung SATA DVD RW|4GB Corsair|Antec SOLO|openSUSE11


There are in order of increasing severity: lies, darn lies, statistics, and computer benchmarks. - diskinfo man page
kmote is offline  
Old 08-07-2009, 10:11 AM   #3 (permalink)
office politics's Avatar
 
It's all just 1s and 0s

Join Date: Jan 2004

Location: in the lab

Posts: 4,425

office politics will become famous soon enough

Default Re: help setup awstats on IIS

ugh, i was trying to avoid the requirement for this. the log file doesn't contain data for bytesd
office politics is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Win7 Ultimate RAID setup issues.. Antec-User Windows Operating Systems and Software 8 08-08-2009 12:03 PM
Internet connection sharing behind a router Mak213 Computer Networking & Internet Access 3 01-13-2009 01:26 AM
Useful list of Linux websites. tribalsun Linux, BSD, other *nixes & Open Source Software 33 11-30-2008 12:35 AM
dual-boot partition setup darkop16 Linux, BSD, other *nixes & Open Source Software 28 12-30-2007 07:40 PM