Solution to awstats stop work after update

Discussion in 'Installation/Configuration' started by nandelbosc, Apr 7, 2009.

  1. nandelbosc

    nandelbosc New Member

    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!

    ;)
     
  2. AcidKat

    AcidKat New Member

    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
     
  3. nandelbosc

    nandelbosc New Member

    Last edited: Apr 7, 2009
  4. AcidKat

    AcidKat New Member

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

    nandelbosc New Member

    What shows your apache logs?
     
  6. AcidKat

    AcidKat New Member

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

    nandelbosc New Member

    What is the content of the file /var/www/webX/log/web.log and /var/log/apache2/other_vhosts_access.log ?
     
  8. AcidKat

    AcidKat New Member

    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.
     
  9. nandelbosc

    nandelbosc New Member

    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... ;(
     
  10. AcidKat

    AcidKat New Member

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

Share This Page