#201  
Old 12th December 2008, 13:51
matrixn matrixn is offline
Member
 
Join Date: Jul 2008
Location: Ramnicu Valcea, Valcea, Romania
Posts: 47
Thanks: 6
Thanked 2 Times in 2 Posts
Send a message via Yahoo to matrixn
Default

hello,
first i want to thank about the awstats plugin and secondly i wish to ask if is possible to use the awstats mail statistics... i take a look at the awstats plugin but it does not contain the mail modules...

Is there any possibilities to integrate the mail info in the future...?


Thanks
Reply With Quote
Sponsored Links
  #202  
Old 23rd January 2009, 00:06
dennisuello dennisuello is offline
Junior Member
 
Join Date: Aug 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I followed the instructions here http://jnsc.ch/ispconfig.php

When I run "/root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php" I get no errors, but also no data generated, awstats folders were created in all sites, but empty except for .htaccess file.
Reply With Quote
  #203  
Old 28th January 2009, 14:45
dvazart dvazart is offline
Junior Member
 
Join Date: Dec 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by dennisuello View Post
I followed the instructions here http://jnsc.ch/ispconfig.php

When I run "/root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php" I get no errors, but also no data generated, awstats folders were created in all sites, but empty except for .htaccess file.
Yeahh... the same thing here !!!
Reply With Quote
  #204  
Old 29th January 2009, 09:47
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 525
Thanks: 10
Thanked 172 Times in 77 Posts
Default

Are your webalizer stats generated corectly? do you have a web.log file in you log directory?
Reply With Quote
  #205  
Old 29th January 2009, 16:11
dennisuello dennisuello is offline
Junior Member
 
Join Date: Aug 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by jnsc View Post
Are your webalizer stats generated corectly? do you have a web.log file in you log directory?
Webalizer works, but only after I updated to 2.2.29 from 2.2.6. I have no web.log in /var/log. My Webalizer uses /var/log/httpd/access_log, I believe.
Reply With Quote
  #206  
Old 29th January 2009, 16:33
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 525
Thanks: 10
Thanked 172 Times in 77 Posts
Default

sorry, i was talking about /var/www/webXX/log/web.log
Reply With Quote
  #207  
Old 30th January 2009, 13:47
dvazart dvazart is offline
Junior Member
 
Join Date: Dec 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Red face

I'm using ISPConfig 2.2.29 but i don't have a web.log file in my web directory, i only have an error.log file...

ls /var/www/web1/log/
Code:
error.log
And i think is normal when i look this :

nano /etc/apache2/vhosts/Vhosts_ispconfig.conf
Code:
<VirtualHost 192.168.1.200:80>
ServerName www.daniel.org:80
ServerAdmin webmaster@daniel.org
DocumentRoot /var/www/web2/web
ServerAlias daniel.org
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ErrorLog /var/www/web2/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_flag safe_mode Off
Alias /error/ "/var/www/web2/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web2/user/$1/web/$3
<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
  RewriteRule .* - [F]
</IfModule>
</VirtualHost>
So... thats may be a bug in ISPConfig 2.2.29 are you forget to include this file in the vhost config ?? OR you have to modify your AWstats script....

--------- EDIT -----------

I found this... In ISPConfig 2.2.27 (awstats and webalizer are working ok) :

ls -l log/
Code:
total 4
drwxr-xr-x 3 web2_daniel web2 4096 2008-11-19 00:30 2008
-rw-r--r-- 1 web2_daniel web2    0 2008-11-18 09:35 error.log
lrwxrwxrwx 1 web2_daniel web2   45 2008-11-19 00:30 web.log -> /var/www/www.daniel.local/log/2008/11/web.log
But in ISPConfig 2.2.29 Nothing (no awstats, no webalizer, no web.log).

ISPConfig 2.2.27 :

grep -r "web.log" /root/
Code:
/root/ispconfig/scripts/shell/logs.php:        return "$webroot/$virtual_host/log/$jahr/$monat/web.log";
/root/ispconfig/scripts/shell/logs.php:                if(@readlink("$webroot/$virtual_host/log/web.log") != get_filename($virtual_host)) {
/root/ispconfig/scripts/shell/logs.php:                        if(is_link("$webroot/$virtual_host/log/web.log")) @unlink("$webroot/$virtual_host/log/web.log");
/root/ispconfig/scripts/shell/logs.php:                        @symlink(get_filename($virtual_host),"$webroot/$virtual_host/log/web.log");
ISPConfig 2.2.29 :

grep -r "web.log" /root/
Code:
/root/ispconfig/scripts/shell/logs.php:        return "$webroot/$virtual_host/log/$jahr/$monat/web.log";
/root/ispconfig/scripts/shell/logs.php:                if(@readlink("$webroot/$virtual_host/log/web.log") != get_filename($virtual_host)) {
/root/ispconfig/scripts/shell/logs.php:                        if(is_link("$webroot/$virtual_host/log/web.log")) @unlink("$webroot/$virtual_host/log/web.log");
/root/ispconfig/scripts/shell/logs.php:                        @symlink(get_filename($virtual_host),"$webroot/$virtual_host/log/web.log");
All seems to be OK.... no ?

Last edited by dvazart; 30th January 2009 at 14:31.
Reply With Quote
  #208  
Old 30th January 2009, 14:07
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 525
Thanks: 10
Thanked 172 Times in 77 Posts
Default

I don't recall exactly how the web.log is generated, and I don't have access to a server right now. Maybe Falko or Till can help here. Isn't the web.log generated by a splitlog script? if yes what is the name of the script?

Thank's
Jonas
Reply With Quote
  #209  
Old 30th January 2009, 16:19
dvazart dvazart is offline
Junior Member
 
Join Date: Dec 2007
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry.... not seen this:
crontab -l
Code:
30 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php &> /dev/null
Everythig are working ok !!!
Reply With Quote
  #210  
Old 12th August 2009, 12:53
YuKu YuKu is offline
Junior Member
 
Join Date: Aug 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I like the stats a lot, however when I put try to import old stats from my old server (awstats 6.4) and I run the cron job I don't get any new stats, just the new one from the ispconfig server

running ubuntu 9.04 with ispconfig 2.2.32

I've put the files in /web/awstats when I log in with ftp or should they be placed in other directory, this was place where other (new) statsfile was.
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 19:14
AWStats as .pkg-AddOn-package TobiasTM Feature Requests 8 13th October 2006 17:27
Suse Ispconfig and AWstats shajazzi Installation/Configuration 4 15th May 2006 23:04
php-nuke installer... how to do it? danf.1979 General 8 20th December 2005 19:23
Help config Awstats domino Programming/Scripts 4 6th September 2005 06:47


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


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