LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Awstats : update problem (https://www.linuxquestions.org/questions/slackware-14/awstats-update-problem-398905/)

gerilaradio 01-03-2006 01:34 AM

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?

acid_kewpie 01-03-2006 04:14 AM

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


All times are GMT -5. The time now is 02:33 PM.