Recreating webalizer stats for domain

Discussion in 'Server Operation' started by Alex Hulshof, Jun 1, 2015.

  1. Alex Hulshof

    Alex Hulshof Member

    Still not able to recreate my webalizer stats after server crash.

    First I deleted webalizer.hist in /var/www/clients/client1/web1/web/stats/ by running rm webalizer.hist
    Then I went to directory: /var/www/clients/client1/web1/log where the webalizer.conf file is for this domain.
    In webalizer.conf I changed for each day the Logfile from /var/log/apache2/access.log to Logfile /access location where i put all daily i.e.: 20150503-access.log file to 20150531-access.log
    After changing the webalizer.conf for each access.log file I saved webalizer.conf and run service apache2 restart. After this I run webalizer still in the log directory
    For every day I run sequentially, still in the log directory, webalizer for the access.log of that day
    This did not recreate my stats either.

    Webalizer.conf :
    Outputdir /var/www/clients/client1/web1/web/stats/
    HistoryName /var/www/clients/client1/web1/web/stats/webalizer.hist
    IncrementalName /var/www/clients/client1/web1/web/stats/webalizer.current

    Perfect server ubuntu 15.04 with apache, php, mysql, pureFTPD, Bind, Postfix, Dovecot and ISPconfig 3 latest version.

    Please help me resolve this.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    did you delete the webalizer.hist and webalizer.current files in the stats directory first? If they exist, then webalizer will skip all older stats files.
  3. Alex Hulshof

    Alex Hulshof Member

    No since earlier you only mentioned to remove the history file...
    I will try it again after deleting both
  4. Alex Hulshof

    Alex Hulshof Member

    Worked perfect thx

Share This Page