Microsoft
Software
Hardware
Network
Question : Awstats running multiple hosts (error)
I am trying to get Awstats to display stats for multiple domain names. I have about 5 right now that I would like to log and they all have separate IP addresses. I have tried to copy the awstats.model.conf file and make another log for another website, but I get the following error when trying to update the log:
Error: Your personalized LogFormat does not include all fields required by AWStats (Add %bytesd in your LogFormat string)
The weird thing about it is this is on a Windows Server 2003 with IIS 6.0. I don't know why it thinks it is supposed to get stats for a unix based OS. I have also made sure that the log format is set to 2 which is for IIS. Have any suggestions on what I am doing wrong or missing?
NOTE: I have my own website running Awstats just fine, but once I run it for another website that is the message I get.
Answer : Awstats running multiple hosts (error)
The line I gave you:
# Use this LogFormat for limited IIS log (default log format from IIS 6)
LogFormat="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-bytes"
(don't put line breaks in)
goes in your awstats.model.conf file. Make a backup copy of your current awstats.model.conf file, then edit it and look for the LogFormat line. It should say LogFormat=2 -- in fact, that's what you said in your original question. So comment that line out and put the above LogFormat in, and rerun awstats against the problem log file.
Random Solutions
Access VBA If Elseif Syntax Error
Access 2007 Error on Program Start
RidManager test failed in DCdiag
protection faults
getDate and setDate in dos
Requery needed when adding records, but not when Editing - causes problem with Continuous form used to select records
WSUS Connection Error
Request for the permission of type 'Microsoft.SharePoint.Secu<wbr />rity.Share<wbr />PointPermi<wbr />ssion, Microsoft.SharePoint.Secur<wbr />ity, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e<wbr />9429c' fail
"An unexpected error has occurred."
Unique index dependent on a column