1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

webalizer and subdomains

Discussion in 'Plesk for Linux - 8.x and Older' started by ianh, Jul 2, 2007.

  1. ianh

    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.