Article ID: 4305, created on Mar 24, 2008, last review on May 11, 2014

  • Applies to:
  • Sphera

Symptoms

Can not view statistics of previous months in webalizer stats.

Resolution

Please use the following steps in order to retrieve the information of the past logs which have already gone through logrotate.
 
To re-generate these files you will need to:
1. Login to the machine using the VDS access details.
2. cd /www/htdocs/plugins/Webalizers
3. Move <instance name> to <instance name>.save
4. Create directory /www/htdocs/plugins/Webalizers/<instance name> 
5. cd to /www/log/
6. Run gzip -d to all saved access_log.
7. Execute /www/cgi-bin/plugins/Webalizers/<instance name>/webalizer /usr/local/apache/logs/access_log.<serial num>  combined this command should be executed for every log file by the order they have been created.
8. gzip the log files

5f478287f7e74fe9b07217d8131cd741 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF