Generating Web Site Statistics With AWStats & JAWStats On Debian Lenny

Discussion in 'HOWTO-Related Questions' started by robertlouwen, Jul 19, 2010.

  1. robertlouwen

    robertlouwen New Member

    Hello all,

    I have followed this tut. Generating Web Site Statistics With AWStats & JAWStats On Debian Lenny and I got it working for 98%

    Awstats generates every hour an awstatsMMYYYY.www.domain.nu.txt file ( I can see this on the timestamp of the files )
    The problem is that jawstats speaks a different language.

    jawstats wants to read a file with the name awstatsYYYYM.www.domain.nu.txt to make jawstats speak the same language as awstats I added this: "statsname" => "awstats[MM][YYYY].www.domain.nu.txt", to the jawstats config.php file but it did not help.

    What can I do to solve this ?
     
    Last edited: Jul 19, 2010
  2. falko

    falko Super Moderator Howtoforge Staff

    You must put the correct file name in the LogFile variable in that site's awstats configuration.
     
  3. robertlouwen

    robertlouwen New Member

    Hello Falko,

    The LogFile variable is for the input file, isn't it ? ( for fedora 13 & ispconfig: /var/log/httpd/access_log )

    My issue is with the output file:
    awstats creates this file awstatsMMYYYY.www.domain.nu.txt
    jawstats wants this file awstatsYYYYM.www.domain.nu.txt

    Have a nice day
     

    Attached Files:

    Last edited: Jul 19, 2010
  4. falko

    falko Super Moderator Howtoforge Staff

    Maybe you can configure the name of the file that AWStats creates? Did you change anything else in the AWStats configuration than what is shown in the tutorial?
     
  5. mrhhug

    mrhhug New Member

    change the way JAWStats interprets, not the AWStats writes

    there is a stats name variable as of patched 0.7 of JAWStats. it looks like this :
    $aConfig["site1"] = array(
    "statspath" => "/path/to/data/",
    "statsname" => "myformat[YYYY][MM].txt",
    "updatepath" => "/path/to/awstats.pl/",
    "siteurl" => "http://www.my-1st-domain.com",
    "sitename" => "My 1st Domain",
    "theme" => "default",
    "fadespeed" => 250,
    "password" => "my-1st-password",
    "includes" => "",
    "language" => "en-gb"
    );

    i copied this info from http://www.jawstats.com/documentation
     

Share This Page