• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

webalizer and subdomains

I

ianh

Guest
I have a subdomain configured and is logging hits etc to a separate log file, but I can't get webalizer to analyze the file.

I have tried the command line of ...

webalizer -d -p -q -c /var/www/vhosts/domain/conf/webalizer.conf -o /var/www/vhosts/domain/subdomains/shop/webstat /var/www/vhosts/domain/statistics/logs/shop_access_log

Which gives the following results ....

Warning: Invalid keyword 'DNSCache' (/var/www/vhosts/domain/conf/webalizer.conf)
Warning: Invalid keyword 'DNSChildren' (/var/www/vhosts/domain/conf/webalizer.conf)
Webalizer V2.01-10 (Linux 2.6.9-022stab078.14-enterprise) English
Using logfile /var/www/vhosts/domain/statistics/logs/shop_access_log (clf)
Creating output in /var/www/vhosts/domain/subdomains/shop/webstat
Hostname for reports is 'hostname'
Reading history file... webalizer.hist
Reading previous run data.. webalizer.current
Generating report for June 2007
Saving current run data... [07/02/2007 21:04:05]
Generating report for July 2007
Saving history information...
25059 records (49 ignored) in 0.54 seconds

A .html file is created for June and July but it doesn't display in a browser and no index.html file is created.

Header sample of the .html file is ...
sub { my ($data) = {}; $data->{total_hit} = 21642; $data->{total_url} = 207 ......

Any help or solutions greatly appreciated.
Thanks
Ian
 
Back
Top