Regenerate awstats
Dear Experts,
I have a question about awstats.
By accident I have deleted the files in the /var/www/[domain_name]/web/awstats in last weekend. Hence the awstats for this domain disappeared.
It is found that the ISPConfig cron job generates the awstats data for the current month (e.g. 2012 / 07) everyday , so now there is 2012 July awstats data. But is it possible to manually trigger the system to "regenerate" the awstats for the past few months ? (e.g. 2012 January to 2012 June).
Actually I have attempted to edit the following file:
/root/ispconfig/scripts/shell/awstats.php
(1) changed the $month to "01" and web.log to "/$webname/log/2012/01/web.log"
(2) rerun the job:
/root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php
It does generate the data for the 2012 January awstats files, but all the data are just zeros.
I believe I have missed out something, can anyone point me to the right direction ? Thanks in advance
Mexx
|
Recent comments
7 hours 58 min ago
13 hours 3 min ago
17 hours 27 min ago
19 hours 16 min ago
1 day 9 hours ago
1 day 9 hours ago
1 day 14 hours ago
1 day 21 hours ago
1 day 22 hours ago
1 day 23 hours ago