Well it turns out that the latest Ubuntu package of Webalizer V2.01-10 contains a few bugs including the inability to parse zero length base logs in a rotated log setup. It also appears that webalizer ignores the LogFile directive and also fails to read logfile data from STDIN when run from the command line - it keeps complaining:
Error: Can't open log file /var/log/apache/access.log.1
After knocking around in the config for an hour or so, trying to coerce it into normal operation, I decided to go with a source build from the lastest good bundle available on the site.
Of course I had to also recompile libgd, libpng - and then I pulled down the freshest webalizer source bundle from ftp://ftp.mrunix.net/pub/webalizer/webalizer-2.21-02-src.tgz
a few seconds of compilation and I was in good shape again:
root@host-95-154-195-17:/usr/src/webalizer-2.21-02# cat /var/log/torkalot/access.log |/usr/local/bin/webalizer -o /export/torkalot/www/admin/stats -t 'Spiration Web Statistics'
Webalizer V2.21-02 (Linux 2.6.26-2-openvz-amd64 i686) English
Using logfile STDIN (clf)
Creating output in /export/torkalot/www/admin/stats
Hostname for reports is 'host-95-154-195-17.rsclientdns.com'
Reading history file... webalizer.hist
Warning: Truncating oversized hostname
Skipping bad record (1)
No valid records found!
Generating summary report
ho hum - another day in linuxy web server admin world..






