LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   AWStats Help Needed (https://www.linuxquestions.org/questions/linux-software-2/awstats-help-needed-109230/)

mattbeekler 10-27-2003 04:55 PM

AWStats Help Needed
 
Im still king of a newbie at linux, I've been running a simple webserver with a few virtual domains and I am now trying to setup AWStats.

My main problem lies within my log format i belive, but I am not sure how to make changes. I am just using the GUI that comes with RedHat 9.0, I do not know if this is the best thing to be using but I am trying. I run the AWStats.pl program and I get this returned,

Update for config "./awstats.cstrike.zorakmonkey.net.conf"
With data in log file "/var/log/httpd/zmcs_access_log"...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
AWStats did not found any valid log lines that match your LogFormat parameter, in the 50th first non commented lines read of your log.
Your log file /var/log/httpd/zmcs_access_log must have a bad format or LogFormat parameter setup does not match this format.
Your AWStats LogFormat parameter is:
1
This means each line in your web server log file need to have "combined log format" like this:
111.22.33.44 - - [10/Jan/2001:02:14:14 +0200] "GET / HTTP/1.1" 200 1234 "http://www.fromserver.com/from.htm" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
And this is a sample of records AWStats found in your log file (the record number 50 in your log):
81.226.10.239 - - [26/Oct/2003:04:21:08 -0600] "GET /hlstatsimg//weapons/cstrike/deagle.gif HTTP/1.1" 200 444
Setup ('./awstats.cstrike.zorakmonkey.net.conf' file, web server or permissions) may be wrong.
See AWStats documentation in 'docs' directory for informations on how to setup awstats.


How can i edit my awstats.cstrike.zorakmonkey.net.conf file to accept the type of log format that my webserver is outputting?

Any Help is greatly appreciated

Thanks, Matt Beekler


All times are GMT -5. The time now is 09:12 PM.