Statistics never updated

Kenneth Ho
2010-02-23
2012-10-11
  • Kenneth Ho

    Kenneth Ho - 2010-02-23

    Hello,

    I have installed awstats6.95 on Fedora 12 with the a domain name defined as
    "domain ". I use the command "perl awstats.pl -config=localhost -update " to
    update the awstats database file in
    /var/lib/awstats/awstatsMMYYYY.localhost.txt. When I use the URL "http://loca
    lhost/awstats/awstats.pl?config=localhost
    " to read the statistics data, it return a message "Never
    updated (see 'Build/Update' on awstats_setup.html page). Then I use the
    command "perl awstats.pl -config=localhost -output -staticlinks >
    awstats.localhost.html " to generate a static page. I can read from the static
    html that the data is updated.

    Can anyone tell me why I can't get a updated data from using the URL "http://
    localhost/awstats/awstats.pl?config=localhost
    " and what should I do to solve it ?

     
  • Jean-Luc

    Jean-Luc - 2010-02-23

    Hi,

    Could you have several copies of awstats.pl on your system ? Maybe you call
    one when using the browser and another one from the command line.

    Jean-Luc, InternetOfficer AWStats
    Services

     
  • Anonymous - 2011-02-23

    check in your awstats configuration file that AllowToUpdateStatsFromBrowser=1

     

Log in to post a comment.