Hallo, habe mich nun etwas mit awstats auf meinen Linux Server rumgeschlagen ( 9.3 Pro - auf Suse Linux - ansonsten alles neuste Versionen ).
Awstats habe ich mit Webmin istalliert bzw konfiguriert.
Wenn ich folgendes in die Adressleiste in Browser www.domain.de/cgi-bin/awstats.pl eingebe, kommt auch die statistik nur ohne Werte.
Beim Generieren kommt folgende Meldung in Webmin
----------------------------------------------------------------------------------------------------------
Run update process with command:
/srv/www/cgi-bin/awstats.pl -update -config=kbhund -configdir=/etc/awstats
Please wait...
Update for config "/etc/awstats/awstats.kbhund.conf" With data in log file "//var/log/apache2/kbboxer_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/kbboxer_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): p54b8a4cd.dip0.t-ipconnect.de - - [27/Oct/2005:10:24:34 +0200] "GET /typo3/ HTTP/1.1" 200 299 Setup ('/etc/awstats/awstats.kbhund.conf' file, web server or permissions) may be wrong. Check config file, permissions and AWStats documentation (in 'docs' directory).
------------------------------------------------------------------------------------------------------------------
Aus meiner Sicht muss es am Logformat liegen.
Im Virtuellen Host steht in "CostumLog" der Pfad zur Logdatei ....../kboxer_log common
In "LogFormat" "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" common
Die Info hierfür habe ich von dieser Seite: http://www.x-fish.org/apache_awstats.html
Würde mich für eine kleine Hilfe sehr freuen
Mfg wupp
Awstats habe ich mit Webmin istalliert bzw konfiguriert.
Wenn ich folgendes in die Adressleiste in Browser www.domain.de/cgi-bin/awstats.pl eingebe, kommt auch die statistik nur ohne Werte.
Beim Generieren kommt folgende Meldung in Webmin
----------------------------------------------------------------------------------------------------------
Run update process with command:
/srv/www/cgi-bin/awstats.pl -update -config=kbhund -configdir=/etc/awstats
Please wait...
Update for config "/etc/awstats/awstats.kbhund.conf" With data in log file "//var/log/apache2/kbboxer_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/kbboxer_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): p54b8a4cd.dip0.t-ipconnect.de - - [27/Oct/2005:10:24:34 +0200] "GET /typo3/ HTTP/1.1" 200 299 Setup ('/etc/awstats/awstats.kbhund.conf' file, web server or permissions) may be wrong. Check config file, permissions and AWStats documentation (in 'docs' directory).
------------------------------------------------------------------------------------------------------------------
Aus meiner Sicht muss es am Logformat liegen.
Im Virtuellen Host steht in "CostumLog" der Pfad zur Logdatei ....../kboxer_log common
In "LogFormat" "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" common
Die Info hierfür habe ich von dieser Seite: http://www.x-fish.org/apache_awstats.html
Würde mich für eine kleine Hilfe sehr freuen
Mfg wupp