LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-03-2006, 02:05 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, 02:31 AM   #2
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,180

Rep: Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377
If you updated and then started receiving this, then it could be a botched update. If the updates are not security updates try reverting to a previous version.

Also, was it really necessary to duplicate your posts?
 
Old 01-03-2006, 08:31 AM   #3
gerilaradio
LQ Newbie
 
Registered: Mar 2005
Distribution: fedora 4, slackware 10.2
Posts: 21

Original Poster
Rep: Reputation: 15
sorry for the repeat post, actually this is happended because i got an error while posting the thread. sorry for this incident. ok lets talk about my problem above...
Quote:
Originally Posted by Jeebiz
If you updated and then started receiving this, then it could be a botched update. If the updates are not security updates try reverting to a previous version.
this is not an update to a new version or security or whatever. actually this is statistics update for Awstats. Awastats web analyzer need to do update (manual or schedule) before you got the output (from log file).
 
  


Reply


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
Awstats : update problem gerilaradio Slackware 1 01-03-2006 04:14 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

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

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