Jason Voorhees escribió:
Hola:
lo que si es cierto es que cuando hago:
/var/www/html/awstats-6.9/wwwroot/cgi-bin/awstats.pl
-config=www.mi_dominio.com -update
me da este error:
Create/Update database for config
"/etc/awstats/awstats.www.my_dominio.com.conf" by AWStats version 6.9 (build
1.925)
From data in log file "/var/log/httpd/mylog.log"...
Error: Couldn't open server log file "/var/log/httpd/mylog.log" : No existe
el fichero o el directorio
Setup ('/etc/awstats/awstats.www.my_dominio.com.conf' file, web server or
permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs'
directory).
Bueno, como que ahi ya la tienes bien claro si te detienes a leer el
mensaje antes de copiar y pegar en esta lista:
>From data in log file "/var/log/httpd/mylog.log"...
Error: Couldn't open server log file "/var/log/httpd/mylog.log" : No existe
el fichero o el directorio
Como se deja ver aparentemente tu configuración de awstats hace
referencia a /var/log/httpd/mylog.log (típico del archivo por defecto
de awstats que no ha sido tocado) el cual no existe.
Te recomendaría que primero leas en la documentación de awstats los
primeros pasos a seguir y ahí te dirá qué archivos editar.
Si ya lo hiciste entonces como te dije anteriormente, muestranos las
configuraciones de tu Apache (sólo las referentes al awstats), tu
configuracion de awstats y los paquetes instalados que coincidan con
el nombre 'apache' (dpkg -l "*apache*").
Suerte
Pero estoy dando permiso de escritura y nada
--
Arturo González Calleja
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
tenias razon y lo tenia mal instalado pero ahora lo que me pasa es lo
siguiente que es en una direccion virtual me sale perfecto y en otra
direccion virtual me sale este error:
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):
127.0.0.1 - - [25/Jan/2009:08:04:01 +0100] "GET / HTTP/1.0" 200 13758
Setup ('/etc/awstats/awstats.agcapa.com.conf' file, web server or
permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs'
directory).
gracias por todo
--
Arturo González Calleja
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]