Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th August 2009, 21:57
Been Told Been Told is offline
HowtoForge Supporter
 
Join Date: Nov 2008
Posts: 123
Thanks: 29
Thanked 10 Times in 4 Posts
Default After accidental file delete - stats not being updated

Hi,
when a webX folder was almost completely deleted, I re-uploaded the contents of the webX/web folder and I thought I only needed to recreate the other folders (only the log folder and the web folder were deleted I think). But now I wanted to check stats and saw, there were none there for that user. Other webX folders are fine and they are keeping track of stats.

So I'm guessing I over-simplified my thinking on this one (i.e. didn't think right lol) - can anyone give me a hint on how to make that webX user start making access logs again so I can get stats with my awstats (which work on other webX users)?

The server is the root server in my signature.
__________________
My stats:
  • RootServer running ISPconfig 2 on Debian Lenny
  • vServer running PLESK 8.4 on openSUSE 10.3
  • vServer running PLESK 9 on Ubuntu
Reply With Quote
Sponsored Links
  #2  
Old 4th August 2009, 23:52
Been Told Been Told is offline
HowtoForge Supporter
 
Join Date: Nov 2008
Posts: 123
Thanks: 29
Thanked 10 Times in 4 Posts
Default

OK it's getting weirder:
You know how ISPconfig creates symlinks like webX -> www.domain.tld

Now I just saw that the relevant symlink is not a symlink but an actual folder with the name of the domain of user/website webX. There is a huge Apache log file in there, but no log files in webX/log
Also when I go into ISPconfig, open the relevant site, and click the statistics tab: The statistics are all at 0.
__________________
My stats:
  • RootServer running ISPconfig 2 on Debian Lenny
  • vServer running PLESK 8.4 on openSUSE 10.3
  • vServer running PLESK 9 on Ubuntu
Reply With Quote
  #3  
Old 5th August 2009, 09:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,678
Thanks: 819
Thanked 5,318 Times in 4,171 Posts
Default

Copy the apache log file to the correct subfolder in webx, then delete the www.domain.tld folder and replace it with a symlink to the webx folder.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
Been Told (5th August 2009)
  #4  
Old 5th August 2009, 10:23
Been Told Been Told is offline
HowtoForge Supporter
 
Join Date: Nov 2008
Posts: 123
Thanks: 29
Thanked 10 Times in 4 Posts
Default

Hi Till, thanks for that!
I've done this - but now I have another problem. I have a stats and an awstats folder in my /var/www/webX/web folder and I have disabled htaccess protection on both.
When I call them in my browser (www.domain.tld/stats or www.domain.tld/awstats) it gives me a 403 error.
Should I just wait for new stats to be added? Or reload apache2 perhaps?
__________________
My stats:
  • RootServer running ISPconfig 2 on Debian Lenny
  • vServer running PLESK 8.4 on openSUSE 10.3
  • vServer running PLESK 9 on Ubuntu
Reply With Quote
  #5  
Old 5th August 2009, 10:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,678
Thanks: 819
Thanked 5,318 Times in 4,171 Posts
 
Default

You will have to wait until the stats get generated tomorrow morning.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
Been Told (5th August 2009)
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
Postfix delivery problem erebus Installation/Configuration 8 29th July 2014 20:17
Transaction error Perfect FC6 setup ACDII HOWTO-Related Questions 1 6th July 2007 14:56
Chroot SSH + ISPConfig Norman Installation/Configuration 27 26th March 2007 03:40
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19
PHP error chrno Installation/Configuration 2 7th September 2006 13:27


All times are GMT +2. The time now is 06:54.


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