LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-27-2003, 04:55 PM   #1
mattbeekler
LQ Newbie
 
Registered: Feb 2003
Posts: 19

Rep: Reputation: 0
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
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
awstats comprookie2000 Linux - Security 2 05-01-2005 05:55 PM
Awstats with sendmail help gquiring Linux - Software 1 03-01-2005 03:18 PM
Awstats question tommytomato Linux - Software 0 09-24-2004 07:00 AM
AWStats Errors pnh73 Linux - Software 0 08-30-2003 02:38 PM
AWstats WiWa Linux - Software 11 08-17-2003 11:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration