Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th July 2010, 03:21
robertlouwen robertlouwen is offline
Senior Member
 
Join Date: Apr 2009
Location: Brielle, Netherlands
Posts: 141
Thanks: 20
Thanked 3 Times in 2 Posts
Default Generating Web Site Statistics With AWStats & JAWStats On Debian Lenny

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 ?
__________________
With Respect, Robert
------------------------------------------------
Fedora 15 - ISPConfig v3.0.3.3
On Dell Optiplex GX270, Pentium 4, 2.8 GHz, 1024 Mb

Last edited by robertlouwen; 19th July 2010 at 14:29.
Reply With Quote
Sponsored Links
  #2  
Old 19th July 2010, 13:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,716 Times in 2,558 Posts
Default

You must put the correct file name in the LogFile variable in that site's awstats configuration.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 19th July 2010, 14:48
robertlouwen robertlouwen is offline
Senior Member
 
Join Date: Apr 2009
Location: Brielle, Netherlands
Posts: 141
Thanks: 20
Thanked 3 Times in 2 Posts
Default

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 Images
  
__________________
With Respect, Robert
------------------------------------------------
Fedora 15 - ISPConfig v3.0.3.3
On Dell Optiplex GX270, Pentium 4, 2.8 GHz, 1024 Mb

Last edited by robertlouwen; 19th July 2010 at 14:56.
Reply With Quote
  #4  
Old 20th July 2010, 14:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,716 Times in 2,558 Posts
Default

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?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 9th January 2011, 03:35
mrhhug mrhhug is offline
Junior Member
 
Join Date: Jan 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SAMBA PDC + Debian Lenny with LDAP backend troubles richardnixonshead Server Operation 0 9th September 2009 00:35
Static Web Site Configurations christopher Installation/Configuration 8 18th November 2006 14:43
Suse Ispconfig and AWstats shajazzi Installation/Configuration 4 15th May 2006 23:04
how i can open a web site hadisaadeh Installation/Configuration 10 20th January 2006 15:46
testing web site by its external ip address rosa hsiao General 9 12th January 2006 21:32


All times are GMT +2. The time now is 18:32.


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