Bonjour,
J'ai teste la manip et rien a faire je me mange ca :
xserve2://Library/WebServer/CGI-Executables root# /Library/WebServer/CGI-Executables/awstats.pl -config=esac-pau.fr -update
Update for config "/Library/WebServer/CGI-Executables/awstats.esac-pau.fr.conf"
With data in log file "/Library/WebServer/CGI-Executables/logresolvemerge.pl /var/log/httpd/access_log.* |"...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
zcat: /var/log/httpd/access_log.1128556800.gz.Z: No such file or directory
zcat: /var/log/httpd/access_log.1126742400.gz.Z: No such file or directory
zcat: /var/log/httpd/access_log.1129161600.gz.Z: No such file or directory
zcat: /var/log/httpd/access_log.1130371200.gz.Z: No such file or directory
zcat: /var/log/httpd/access_log.1126137600.gz.Z: No such file or directory
zcat: /var/log/httpd/access_log.1129766400.gz.Z: No such file or directory
zcat: /var/log/httpd/access_log.1125532800.gz.Z: No such file or directory
zcat: /var/log/httpd/access_log.1127347200.gz.Z: No such file or directory
zcat: /var/log/httpd/access_log.1130976000.gz.Z: No such file or directory
zcat: /var/log/httpd/access_log.1127952000.gz.Z: No such file or directory
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 /Library/WebServer/CGI-Executables/logresolvemerge.pl /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):
210.86.34.43 - - [10/Nov/2005:02:33:05 +0100] "GET /favicon.ico HTTP/1.1" 200 7782
Setup ('/Library/WebServer/CGI-Executables/awstats.esac-pau.fr.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
xserve2://Library/WebServer/CGI-Executables root#
Je precise que contrairement a ce qui est dit dans le warning message j'ai bien choisi un format combined pour la journalisation
des idées
cordialement