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 7th April 2009, 08:45
nandelbosc nandelbosc is offline
Member
 
Join Date: Feb 2009
Posts: 32
Thanks: 0
Thanked 5 Times in 5 Posts
Default Solution to awstats stop work after update

Hi,

this is not a question, it's a solution...

after upgrade from 2.2.27 to 2.2.30 awstats stop work. To solve this i need to reinstall awstats...

Code:
cd /usr/src
wget http://jnsc.ch/downloads/ISPConfig_awstats_pkg_RC1.tar.gz
tar -xvzf ISPConfig_awstats_pkg_RC1.tar.gz
cd ISPConfig_awstats_pkg
./install.sh
to generate the stats...

Code:
/root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php
I hope this help somebody!

Reply With Quote
The Following User Says Thank You to nandelbosc For This Useful Post:
AcidKat (7th April 2009)
Sponsored Links
  #2  
Old 7th April 2009, 17:04
AcidKat AcidKat is offline
Member
 
Join Date: Dec 2007
Posts: 43
Thanks: 11
Thanked 1 Time in 1 Post
Default

After running your commands (thax by the way), it gave me this,
Main HTML page is 'awstats.www.example.com.2009-04.html'.
(I replaced my real webpage with example.com)
I typed that into my browser and got a 404.
My question is this, what exactly do I type into my browser to see the stats?
Thax in advance.
AK
Reply With Quote
  #3  
Old 7th April 2009, 18:09
nandelbosc nandelbosc is offline
Member
 
Join Date: Feb 2009
Posts: 32
Thanks: 0
Thanked 5 Times in 5 Posts
Default

To see all months...

http://www.example.com/awstats

To see April...

http://www.example.com/awstats/awsta...m.2009-04.html

If you are prompted for a username / pass, use the same as webalizer

I hope this help you.

Last edited by nandelbosc; 7th April 2009 at 18:10. Reason: change domain name
Reply With Quote
The Following User Says Thank You to nandelbosc For This Useful Post:
AcidKat (7th April 2009)
  #4  
Old 8th April 2009, 16:06
AcidKat AcidKat is offline
Member
 
Join Date: Dec 2007
Posts: 43
Thanks: 11
Thanked 1 Time in 1 Post
Default

All records are empty (no data).
Is there a way to fix this?
Thax again.
Reply With Quote
  #5  
Old 9th April 2009, 08:52
nandelbosc nandelbosc is offline
Member
 
Join Date: Feb 2009
Posts: 32
Thanks: 0
Thanked 5 Times in 5 Posts
Default

What shows your apache logs?
Reply With Quote
  #6  
Old 13th April 2009, 18:51
AcidKat AcidKat is offline
Member
 
Join Date: Dec 2007
Posts: 43
Thanks: 11
Thanked 1 Time in 1 Post
Default

What shows my apache logs?
I do not understand the question.
Reply With Quote
  #7  
Old 13th April 2009, 22:54
nandelbosc nandelbosc is offline
Member
 
Join Date: Feb 2009
Posts: 32
Thanks: 0
Thanked 5 Times in 5 Posts
Default

What is the content of the file /var/www/webX/log/web.log and /var/log/apache2/other_vhosts_access.log ?
Reply With Quote
  #8  
Old 14th April 2009, 16:49
AcidKat AcidKat is offline
Member
 
Join Date: Dec 2007
Posts: 43
Thanks: 11
Thanked 1 Time in 1 Post
Default

the contents of /var/www/webX/log/web.log are all from november. There has been no updating of the log.
I dont see anything remarkable in the 2nd log.
Reply With Quote
  #9  
Old 14th April 2009, 16:57
nandelbosc nandelbosc is offline
Member
 
Join Date: Feb 2009
Posts: 32
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Look in your /etc/awstats/awstats.www.yourdomain.com.conf file, and search a line like this...

LogFile="/var/www/webX/log/web.log"

Your awstats make stats from /var/www/webX/log/web.log file, if this file it's empty, I think you have a problem with your apache log system.

I sorry, but I'm not an expert and I can't help much more... ;(
Reply With Quote
The Following User Says Thank You to nandelbosc For This Useful Post:
AcidKat (15th April 2009)
  #10  
Old 15th April 2009, 15:22
AcidKat AcidKat is offline
Member
 
Join Date: Dec 2007
Posts: 43
Thanks: 11
Thanked 1 Time in 1 Post
 
Default

Aye, the stats are not being updated to the web.lob file.
Thanx for all your help. I really appreciate it.
Reply With Quote
Reply

Bookmarks

Tags
awstats, update, upgrade

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 config problem Paladinemishakal HOWTO-Related Questions 1 13th February 2009 13:38
Monit on Debian Hans Tips/Tricks/Mods 2 6th October 2008 13:53
will Awstats work after Update? luchs3 General 2 7th October 2007 14:10
spamassassin stop working after woody to sarge update shark_tico Server Operation 1 19th October 2006 14:01
Update manager won't work yvovandoorn Installation/Configuration 21 18th November 2005 17:01


All times are GMT +2. The time now is 11:14.


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