View Full Version : Solution to awstats stop work after update
nandelbosc
7th April 2009, 09:45
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...
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...
/root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php
I hope this help somebody!
;)
AcidKat
7th April 2009, 18:04
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
nandelbosc
7th April 2009, 19:09
To see all months...
http://www.example.com/awstats
To see April...
http://www.example.com/awstats/awstats.www.example.com.2009-04.html
If you are prompted for a username / pass, use the same as webalizer
I hope this help you.
AcidKat
8th April 2009, 17:06
All records are empty (no data).
Is there a way to fix this?
Thax again.
nandelbosc
9th April 2009, 09:52
What shows your apache logs?
AcidKat
13th April 2009, 19:51
What shows my apache logs?
I do not understand the question.
nandelbosc
13th April 2009, 23:54
What is the content of the file /var/www/webX/log/web.log and /var/log/apache2/other_vhosts_access.log ?
AcidKat
14th April 2009, 17:49
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.
nandelbosc
14th April 2009, 17:57
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... ;(
AcidKat
15th April 2009, 16:22
Aye, the stats are not being updated to the web.lob file.
Thanx for all your help. I really appreciate it.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.