Linux - SoftwareThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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:
This means each line in your web server log file need to have "combined log format" like this:
184.108.40.206 - - [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):
220.127.116.11 - - [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?