Webalizer
Webalizer log file analyser for web site hit statistics
Apparently, "Webalizer is a highly detailed and easily configurable web site statistics package that analyses the access log files that we automatically create for your website."
Where I have Webalizer installed
I have Webalizer installed on:
NoNewWars.co.uk and <---- not being updated. Why? I think i is to do with .htaccess
NoNewWars.org.uk *** CORRECT THESE ***
index.cgi or index.html ?
I am unsure whether one is supposed to access it through index.cgi, e.g. nonewwars.org.uk/webalizer/index.cgi or 11112018.org.uk/webalizer/index.html
, e.g. [http://www.nonewwars.org.uk/webalizer/index.html nonewwars.org.uk/webalizer/index.html. Using index.cgi makes it take longer to load and the statistics get updated.
It does not display anything while updating the statistics.
Daily updating
I believe that to ensure the statistics are updated, one should have a crontab entry running each day. But I have no idea what it should be for a web site running cpanel. I have tried running index.html and index.cgi using cron but both fail with errors.
/home/sites/conscienceonline.org.uk/public_html/webalizer2/index.cgi Died at /home/sites/conscienceonline.org.uk/public_html/webalizer2/index.cgi line 19.
/home/sites/conscienceonline.org.uk/public_html/webalizer2/index.cgi -d Died at /home/sites/conscienceonline.org.uk/public_html/webalizer2/index.cgi line 19.
/home/sites/conscienceonline.org.uk/public_html/webalizer2/index.cgi -d -c /home/sites/conscienceonline.org.uk/public_html/webalizer2/webalizer.conf Died at /home/sites/conscienceonline.org.uk/public_html/webalizer2/index.cgi line 19.
/usr/bin/perl /home/sites/conscienceonline.org.uk/public_html/webalizer2/index.cgi -d Died at /home/sites/conscienceonline.org.uk/public_html/webalizer2/index.cgi line 19.
/usr/bin/perl /home/sites/conscienceonline.org.uk/public_html/webalizer2/index.cgi -d -c /home/sites/conscienceonline.org.uk/public_html/webalizer2/webalizer.conf Died at /home/sites/conscienceonline.org.uk/public_html/webalizer2/index.cgi line 19.
/home/sites/conscienceonline.org.uk/public_html/webalizer2/index.html nice: /home/sites/conscienceonline.org.uk/public_html/webalizer2/index.html: Permission denied
/usr/bin/webalizer Error: Unable to open DNS cache file /var/lib/webalizer/dns_cache.db
/usr/bin/webalizer -c /etc/webalizer/webalizer.conf Error: Unable to open configuration file /etc/webalizer/webalizer.conf Error: Unable to open DNS cache file /var/lib/webalizer/dns_cache.db
But for webalizer, it is necessary to run index.cgi to get the statistic updated, one way or another.