Am reusit... for i in *-access_log ; do cat $i >> awstats.log ; done ./awstats.pl -config=awstats.conf -output -update > /srv/www/htdocs/usage/awstats.html
dar... 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/apache2/awstats.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 a sample of records AWStats found in your log file (the record number 50 in your log): 212.93.129.182 - - [22/Apr/2003:14:52:28 +0300] "GET /icons/blank.gif HTTP/1.0" 304 0 Setup ('./awstats.conf' file, web server or permissions) may be wrong. See AWStats documentation in 'docs' directory for informations on how to setup awstats. :) Il descurc eu de aici... sper :P Daniel -----Original Message----- From: Daniel Secareanu Sent: Wed 9/24/2003 4:12 PM To: [EMAIL PROTECTED] Cc: Subject: [rlug] Re: trafic analyzer Ok, l-am gasit in /srv/www/cgi-bin/awstats.pl. (SuSE 8.2 Pro) As vrea sa stiu in config cum ii dau sa citeasca un intreg director de loguri, si nu doar un awstats.log. Sau trebuie sa cat *-access.log > awstats.log? Daniel -- Binary/unsupported file stripped by Ecartis -- -- Type: application/ms-tnef -- File: winmail.dat --- Detalii despre listele noastre de mail: http://www.lug.ro/
