Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th September 2009, 14:54
pssara pssara is offline
Junior Member
 
Join Date: Jan 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Webalizer changed path, stats were losts

Dear,
I am using ISPconfig for several years now and I had extensive statistics for my sites, using Webalizer. When I upgraded from 2.2.29 to 2.2.33 the Webalizer path changed from $web_path . "/stats" to $web_path . "/webalizer". This change was not graceful and the statistics on the old path didn't move on the new path. Now, I only have statistics for September 2009.
Is there an automatic way to move all statistics to the new folder ?
Should I use something like this :
Quote:
find /var/www/ -maxdepth 1 -name "web*" -type d -exec rm -rf {}/web/webalizer/ \;
find /var/www/ -maxdepth 1 -name "web*" -type d -exec mv -f {}/web/stats {}/web/webalizer \;
Regards,
P.

Last edited by pssara; 28th September 2009 at 15:29.
Reply With Quote
Sponsored Links
  #2  
Old 28th September 2009, 21:22
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 525
Thanks: 10
Thanked 170 Times in 77 Posts
 
Default

I would use something like that :
http://howtoforge.com/forums/showpos...9&postcount=19
Reply With Quote
Reply

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
Webalizer stats only showing 1 or 2 days? TimeRider General 1 17th August 2009 13:30
missing webalizer stats bolero Installation/Configuration 15 12th November 2008 16:28
Disable Webalizer stats bixtro General 2 10th September 2008 09:09
Failover with VMWare Server - /var/vm isn't the right size.. Bart van Kleef HOWTO-Related Questions 24 30th August 2008 11:00
again on webalizer stats gilas Installation/Configuration 6 6th October 2006 16:16


All times are GMT +2. The time now is 07:00.


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