[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Error al actualizar AWstats en Debian Lenny



El Wed, 22 Aug 2012 07:29:13 -0700, fritto escribió:

(...)

> el error que me da a la hora de actualizar el AWstats es el siguiente:
(...)
> Your log file /var/log/apache2/www_p80-error.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):
> [Sun Aug 19 08:22:41 2012] [error] [client xxx.xxx.xxx.xx] File does not
> exist: /home/web/wwwpro/img/pagination.png, referer:
> http://www.xxxxxxx.com/css/global.css Setup
> ('/etc/awstats/awstats.xxxxxx.com.conf' file, web server or permissions)
> may be wrong.
> Check config file, permissions and AWStats documentation (in 'docs'
> directory).
> 
> Entonces que hice, cambie los parametros del LogFormat y la permisologia
> del archivo de configuracion del AWstats y nada, me sigue mostrando el
> error; no se si es algo que no veo yo, por eso les solicito su apoyo

Según esto:

http://www.debianhelp.co.uk/awstats.htm

Tienes que poner en la plantilla de configuración del sitio de awstats (/
etc/awstats/awstats.xxxxxx.com.conf) un valor para "LogFormat=1" (también 
comprueba que apache usa un registro de formato combinado), que el valor 
"SiteDomain" contenga el nombre del sitio a monitorizar y que los 
archivos log de apache (¡¡ojo!! los archivos *de apache* no de awstats) 
sean legibles por awstats.

Saludos,

-- 
Camaleón


Reply to: