HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Solution to awstats stop work after update (http://www.howtoforge.com/forums/showthread.php?t=33363)

nandelbosc 7th April 2009 08:45

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!

;)

AcidKat 7th April 2009 17: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 18:09

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.

AcidKat 8th April 2009 16:06

All records are empty (no data).
Is there a way to fix this?
Thax again.

nandelbosc 9th April 2009 08:52

What shows your apache logs?

AcidKat 13th April 2009 18:51

What shows my apache logs?
I do not understand the question.

nandelbosc 13th April 2009 22: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 16: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 16: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 15:22

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


All times are GMT +2. The time now is 02:31.

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