Prev Previous Post   Next Post Next
  #1  
Old 19th July 2012, 06:13
mexxchan mexxchan is offline
Junior Member
 
Join Date: Apr 2010
Posts: 6
Thanks: 1
Thanked 1 Time in 1 Post
Default 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
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
AWStats - Fix and Improvement (working) erosbk Developers' Forum 33 1st May 2012 12:04
Need help setting up or accessing AWStats on 3.0.2 please jwlinux Installation/Configuration 2 17th April 2010 16:38
Awstats config problem Paladinemishakal HOWTO-Related Questions 1 13th February 2009 13:38
Ispconfig + awstats on debian etch Dennis Installation/Configuration 1 19th April 2008 22:57
Suse Ispconfig and AWstats shajazzi Installation/Configuration 4 15th May 2006 23:04


All times are GMT +2. The time now is 17:37.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.