Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #81  
Old 26th October 2010, 16:16
Xenocide Xenocide is offline
Member
 
Join Date: Sep 2010
Posts: 56
Thanks: 12
Thanked 8 Times in 7 Posts
Default

Hi Till! We meet again! haha

Can you explain how one might access these? I've restored all the files that I can back to originals but I can't find any record or documentation about? Cheers
Reply With Quote
Sponsored Links
  #82  
Old 26th October 2010, 16:19
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,060
Thanks: 826
Thanked 5,395 Times in 4,239 Posts
Default

Quote:
Can you explain how one might access these?
You access them like the webalizer stats. A website has either stats created by awstats or by webalizer and both are in the same directory. The stats are created nightly, so if you switch the statsitics for a site, you will have to wait up to 24 hours.

Just make sure that you have awstats installed and the the paths to the awstats scripts under system > server config > web match the paths in your installation.

Quote:
but I can't find any record or documentation about?
It is described e.g. in the manual.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #83  
Old 26th October 2010, 16:44
Xenocide Xenocide is offline
Member
 
Join Date: Sep 2010
Posts: 56
Thanks: 12
Thanked 8 Times in 7 Posts
Default

Gotta be honest, didn't even realise there was a proper manual... I've just bought it. Thankyou very much!!

[Edit: and schedualed an upgrade in for my servers tonight... slaves first yeah?]

Last edited by Xenocide; 26th October 2010 at 17:09.
Reply With Quote
  #84  
Old 26th October 2010, 23:44
yoplait yoplait is offline
Senior Member
 
Join Date: Dec 2009
Posts: 144
Thanks: 48
Thanked 14 Times in 11 Posts
Default

yeah, that's it.
Reply With Quote
The Following User Says Thank You to yoplait For This Useful Post:
Xenocide (27th October 2010)
  #85  
Old 28th October 2010, 03:09
djtremors djtremors is offline
Senior Member
 
Join Date: Apr 2006
Location: Sydney
Posts: 278
Thanks: 0
Thanked 12 Times in 10 Posts
Default

This does work on ISPConfig 3.0.3 as it interacts as a plugin when updating domains or clients.

Errors are most times due to files not created (eg .htpasswd_stats, .htaccess, etc) and people attempting to see stats before the plugin has had a chance to create them which the errors can be seen in the error logs of the site and or apache.

Update a user/domain to force the plugin to run at least once before checking the stats and possibly run the cron once to update the awstats data files for some stats info.

Tremors.
__________________
www.emperor-it.com for ISPConfig mods/hacks
Reply With Quote
  #86  
Old 1st November 2010, 16:09
TDS TDS is offline
Junior Member
 
Join Date: Nov 2010
Location: Hanover, Germany
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

@till:

Can you provide the default ISPConfig AWStats configuration? I had the plugin before and now ISPConfig 3.0.3. I deleted the stuff coming from the plugin without success cos only one visitor is counted per day. If I run the daily cron in the evening all things are counted correctly.
Reply With Quote
  #87  
Old 1st November 2010, 18:13
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,060
Thanks: 826
Thanked 5,395 Times in 4,239 Posts
Default

The problem has been rported here and will get fixed with the next bugfix release.

http://bugtracker.ispconfig.org/inde...s&task_id=1395
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #88  
Old 6th January 2011, 12:15
Agent_M Agent_M is offline
Junior Member
 
Join Date: Jul 2010
Location: Perth, Australia
Posts: 29
Thanks: 5
Thanked 3 Times in 3 Posts
Default

I have version 3.0.3 installed which should of corrected awstats from only building stats from midnight to 12:30 am, but it still appears to be happening with a site, I was having the issue with this site before upgrading, and still seems to be there for this one site.

Anyway I can correct this so it generates the entire days stats?
__________________
If it ain't broke, then take it apart to see what makes it so bloody special!!!
Reply With Quote
  #89  
Old 6th January 2011, 12:21
djtremors djtremors is offline
Senior Member
 
Join Date: Apr 2006
Location: Sydney
Posts: 278
Thanks: 0
Thanked 12 Times in 10 Posts
Default

you might need to check when ISPC rotates it's files and when awstats is processing them, it might be rotating which then works only on a small set of logs.

I have a script which can reprocess all of ispconfig logs if you are happy to nuke your awstats dat file and reprocess the lot.
http://www.emperor-it.com/ispconfig3...layout=default
__________________
www.emperor-it.com for ISPConfig mods/hacks

Last edited by djtremors; 6th January 2011 at 12:29.
Reply With Quote
  #90  
Old 6th January 2011, 12:56
Agent_M Agent_M is offline
Junior Member
 
Join Date: Jul 2010
Location: Perth, Australia
Posts: 29
Thanks: 5
Thanked 3 Times in 3 Posts
 
Default

Quote:
Originally Posted by djtremors View Post
you might need to check when ISPC rotates it's files and when awstats is processing them, it might be rotating which then works only on a small set of logs.
at a quick glance, it looks like they are happening pretty much at the same time ( which might explain why the stats vary quite a bit on the sites that do work ), so maybe somedays awstats wins the race, and other days the log rotations win?

But for one site in particular, it looks like its only ever processes that 30mins worth of data.



Quote:
Originally Posted by djtremors View Post
I have a script which can reprocess all of ispconfig logs if you are happy to nuke your awstats dat file and reprocess the lot.
http://www.emperor-it.com/ispconfig3...layout=default
I'm not worried about loosing any of the stats to date, as they either aren't accurate, or don't contain the info I want ( I should also mention this issue >> http://www.howtoforge.com/forums/sho...137#post248137 )

Will this script change the log rotation or awstats times? or just reprocess the data ( sorry, am just a little unclear on what the script does ).
__________________
If it ain't broke, then take it apart to see what makes it so bloody special!!!
Reply With Quote
Reply

Bookmarks

Tags
awstats plugin

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
ISPConfig 3.0.0.7 Beta released till General 78 24th December 2008 11:47
Cant update ispconfig and awstats install issue supervos Installation/Configuration 6 4th November 2007 10:12
ISPConfig 2.2.13 released till General 35 23rd July 2007 16:28
Another Awstats Configuration Thingy For ISPConfig asyadiqin Installation/Configuration 2 6th August 2006 13:20
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16


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


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