LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Closed Thread
  Search this Thread
Old 01-03-2006, 01:34 AM   #1
gerilaradio
LQ Newbie
 
Registered: Mar 2005
Distribution: fedora 4, slackware 10.2
Posts: 21

Rep: Reputation: 15
Question Awstats : update problem


i got the problem while doing update for Awastats (web log analyzer)
Quote:
root@www:/var/log/apache2# /usr/local/awstats/tools/awstats_updateall.pl now
Running '"/usr/local/awstats/wwwroot/cgi-bin/awstats.pl" -update -config=www.ilpkb.gov.my -configdir="/etc/awstats"' to update config www.ilpkb.gov.my
Update for config "/etc/awstats/awstats.www.ilpkb.gov.my.conf"
With data in log file "/var/log/apache2/access_log"...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
AWStats did not find 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/apache2/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 an example of records AWStats found in your log file (the record number 50 in your log):
172.16.0.1 - - [01/Jan/2006:10:11:59 +0800] "GET /v5/bm/templates/247portal-b-blue/images/modul.jpg HTTP/1.0" 304 -
Setup ('/etc/awstats/awstats.www.ilpkb.gov.my.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
anyone got the same problem like this?
 
Old 01-03-2006, 04:14 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 problem gerilaradio Slackware 2 01-03-2006 05:27 AM
Problem with awstats Tamara Linux - General 2 11-04-2005 11:41 AM
I have problem to update with the update function under fedora core 2 babyboss Fedora 4 08-10-2005 07:34 AM
awstats comprookie2000 Linux - Security 2 05-01-2005 05:55 PM
AWstats WiWa Linux - Software 11 08-17-2003 11:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:20 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