#101  
Old 3rd January 2007, 16:15
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 531
Thanks: 11
Thanked 175 Times in 79 Posts
Default

rons_rons
You have to enable the statistics (Webalizer) for each website. AWStats only generate statistics for site that have the statistics option enabled.
Reply With Quote
Sponsored Links
  #102  
Old 3rd January 2007, 16:23
BlueStream BlueStream is offline
Member
 
Join Date: Oct 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by jnsc
Yes the logs for December are empty. This problem is the same as last month, and a closer look at my fix showed me that I missed one parameter, so the fix was ineffective.

I will publish a new version, and I hope that this time it will work.

I apologise for this problem.
No worries mate..

Just wondering though.. are the stats lost forever? cuz it's the first time one my sites got such high hits.. And I'm like very proud of it.. I know it sounds silly but... u know..

Happy New Year guys!
Reply With Quote
  #103  
Old 3rd January 2007, 16:33
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 531
Thanks: 11
Thanked 175 Times in 79 Posts
Default

No you can have a look at page 6 of this thread, there is a solution for generating statistics for the previous month. But It looks like the -logfile directive does not work on command line. So you might have to temporary edit the /etc/awstats/awstats.www.mydomain.com.conf and change the LogFile directive to something like /home/www/webX/log/2006/12/web.log
Reply With Quote
  #104  
Old 3rd January 2007, 18:02
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 531
Thanks: 11
Thanked 175 Times in 79 Posts
Default

New version has been released wich hopefully fixes definitively the last day of month bug.

The update procedure is as usual exept that this time the awstats package has also been updated. So just execute this commands :

Code:
tar xvfz awstats-6.6.tar.gz -C /home/admispconfig/ispconfig/tools
Code:
chmod 755 /home/admispconfig/ispconfig/tools/awstats-6.6/
Code:
rm /home/admispconfig/ispconfig/tools/awstats
Code:
ln -s /home/admispconfig/ispconfig/tools/awstats-6.6 /home/admispconfig/ispconfig/tools/awstats
That's it
Reply With Quote
  #105  
Old 3rd January 2007, 23:20
jfruano jfruano is offline
Member
 
Join Date: Mar 2006
Posts: 95
Thanks: 9
Thanked 0 Times in 0 Posts
Default

How to modify link of the logo awstats to open the new page in the same window ? (target='self')

Thanks and Happy New Year
Reply With Quote
  #106  
Old 4th January 2007, 16:54
4integration 4integration is offline
Member
 
Join Date: Dec 2006
Posts: 44
Thanks: 0
Thanked 2 Times in 1 Post
Default

Does the package support only web trafic or will it also be able to monitor mail trafic??

Awstats can do it as shown in: http://awstats.sourceforge.net/awstats.mail.html
__________________
Best Regards
4 Integration
Reply With Quote
  #107  
Old 4th January 2007, 17:51
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 531
Thanks: 11
Thanked 175 Times in 79 Posts
Default

jfruano: wich link are you talking about?

4integration : Have a look here
http://howtoforge.com/forums/showthr...3085#post53085
Reply With Quote
  #108  
Old 4th January 2007, 20:02
jfruano jfruano is offline
Member
 
Join Date: Mar 2006
Posts: 95
Thanks: 9
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by jnsc
jfruano: wich link are you talking about?
the link of the logo awstats that is in the right of the header that redirect to the awstats project. I like to open in the same window.

Thanks jnsc.
Reply With Quote
  #109  
Old 4th January 2007, 22:47
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 531
Thanks: 11
Thanked 175 Times in 79 Posts
Default

As this is generated automatically by AWStats, I don't think it's possible. The tool that is used to generate thes statistics is awstats_buildstaticpages. You may have a look at it, but I am not sure it will be very helpful. It might be better to search the web for a way to customize the AWStats output.

Regards
Reply With Quote
  #110  
Old 4th January 2007, 23:23
4integration 4integration is offline
Member
 
Join Date: Dec 2006
Posts: 44
Thanks: 0
Thanked 2 Times in 1 Post
 
Default

I made a small modification of install.sh because the script didn't backup my httpd.conf. My version looks as:
Code:
#!/bin/sh
mkdir /etc/awstats
cp awstats.shared.conf /etc/awstats/awstats.shared.conf
chmod 644 /etc/awstats/awstats.shared.conf
cp awstats.php /root/ispconfig/scripts/shell/awstats.php
chmod 644 /root/ispconfig/scripts/shell/awstats.php


# Decompress Awstats in the /tools directory
tar xvfz awstats-6.6.tar.gz -C /home/admispconfig/ispconfig/tools
chmod 755 /home/admispconfig/ispconfig/tools/awstats-6.6/
ln -s /home/admispconfig/ispconfig/tools/awstats-6.6 /home/admispconfig/ispconfig/tools/awstats

# First backup the Apache configuration
# Adding Apache Alias (Very experimental)
# Restart Apache
if [[ -e /etc/apache2/apache2.conf ]]
then
  cp -p /etc/apache2/apache2.conf /etc/apache2/apache2.conf.ispcfg_awstats_bkup
  sed -i -f apache.sed /etc/apache2/apache2.conf
  /etc/init.d/apache2 restart
elif [[ -e /etc/httpd/conf/httpd.conf ]]
then
  cp -p /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.ispcfg_awstats_bkup
  sed -i -f apache.sed /etc/httpd/conf/httpd.conf
  /etc/init.d/httpd restart
elif [[ -e /etc/apache2/default-server.conf ]]
then
  cp -p /etc/apache2/default-server.conf /etc/apache2/default-server.conf.ispcfg_awstats_bkup
  sed -i -f apache.sed /etc/apache2/default-server.conf
  /etc/init.d/apache2 restart
fi

# Adding a Cron Job
crontab -l > /tmp/crontab.lst
sed -i -f crontab.sed /tmp/crontab.lst
crontab /tmp/crontab.lst
__________________
Best Regards
4 Integration
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
Configuring Awstats for ispconfig feanor Installation/Configuration 26 23rd February 2009 20:14
AWStats as .pkg-AddOn-package TobiasTM Feature Requests 8 13th October 2006 18:27
Suse Ispconfig and AWstats shajazzi Installation/Configuration 4 16th May 2006 00:04
php-nuke installer... how to do it? danf.1979 General 8 20th December 2005 20:23
Help config Awstats domino Programming/Scripts 4 6th September 2005 07:47


All times are GMT +2. The time now is 08:15.


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