Страница 1 из 1

AwStats

Добавлено: 2007-02-28 13:25:25
Vic

Код: Выделить всё

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 /opt/apache/logs/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 "link" "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): 
192.168.0.7 - - [25/Apr/2006:17:00:16 +0300] "GET / HTTP/1.1" 403 281


Setup ('/etc/awstats/awstats.eet.imode.lv.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory). 
обьясните пожалуйста в чём проблема (
Логи апача - combined,а он ругается на неправильный формат логов
какие права должны быть на конф файл ?
всё стоит на OpenBSD

Добавлено: 2007-02-28 13:27:45
Alex Keda

Код: Выделить всё

or LogFormat parameter setup does not match this format.