Bon,
J'ai bien un fichier /etc/awstats.ignace72.eu.conf
À la première ligne non commentée, je crois qu'il y a une erreur.
il y a LogFile="/var/log/httpd/mylog.log" pourtant mon log d'apache est /var/log/httpd/access_log
Bon, je vais tester avec la bonne ligne, on vera bien.
Bon, avec la commande suivante :
Code : Tout sélectionner
perl /usr/share/webapps/awstats/cgi-bin/awstats.pl -config=ignace72.eu -update
J'ai un message comme quoi Awstats ne trouve pas de ligne valide :
Code : Tout sélectionner
Create/Update database for config "/etc/awstats/awstats.ignace72.eu.conf" by AWStats version 7.3 (build 20140126)
From data in log file "/var/log/httpd/access_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/httpd/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 "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 - - [10/Aug/2014:10:25:30 +0000] "GET /phpBB/styles/prosilver/theme/images/icon_home.gif HTTP/1.1" 200 306
Setup ('/etc/awstats/awstats.ignace72.eu.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
Ma dernière ligne externe de log externe est :
Code : Tout sélectionner
2.9.171.115 - - [13/Aug/2014:00:19:04 +0000] "GET / HTTP/1.1" 302 204 "-" "Mozilla/5.0 (ABE, http://noscript.net/abe/wan)"
ou une autre :
Code : Tout sélectionner
89.92.209.215 - - [12/Aug/2014:22:22:20 +0000] "GET /phpBB/viewforum.php?f=1 HTTP/1.1" 200 3704
Je ne vois pas de différence entre le formatage configuré et celui présent.
Intel i3-12100F Quad-Core,32 Go de RAM DDR5.
Wifi 6E, Ethernet 2,5 Gb, USB3.2 gen 1 et 2, S-ATA 3
21,5" LCD x2 sur Intel Arc A310.
XFce et BÉPO.
Site perso : https://ignace72.eu