#1  
Old 23rd September 2009, 16:04
Captain Captain is offline
Senior Member
 
Join Date: Feb 2009
Posts: 287
Thanks: 82
Thanked 8 Times in 7 Posts
Default Problem with Awstats log

Hello!

After update ISPConfig to 2.2.33. ISPConfig include Awstats statistic.
But its dont work. Statistic is empty. I see only "www.mydomain.com"
What I need to configured?

Big thnks.
Reply With Quote
Sponsored Links
  #2  
Old 23rd September 2009, 16:55
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 531
Thanks: 11
Thanked 175 Times in 79 Posts
Default

did you already try the steps mentioned here?
http://howtoforge.com/forums/showpos...90&postcount=7
Reply With Quote
  #3  
Old 23rd September 2009, 22:36
Captain Captain is offline
Senior Member
 
Join Date: Feb 2009
Posts: 287
Thanks: 82
Thanked 8 Times in 7 Posts
Default

Yes. But didnot work.

Last edited by Captain; 23rd September 2009 at 22:40.
Reply With Quote
  #4  
Old 24th September 2009, 03:26
nikopol nikopol is offline
Junior Member
 
Join Date: Sep 2009
Posts: 8
Thanks: 2
Thanked 0 Times in 0 Posts
Default

After the step above I did:

/usr/src/ISPConfig_awstats_pkg/install.sh

and everything was working fine again. If you don't want to wait until the awstats cron job is running at 4:00 you can force it with

/root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php

All "web's" are running no awstats as webalizer statistics. You can find this new feature unter the option tab in ispconfig 2.2.33.

Because the webalizer statistics is now stored in /var/www/webX/web/webalizer and not anymore in /var/www/webX/web/stats I did a

cp -R /var/www/webX/web/webalizer/ /var/www/webX/web/webalizer.backup

cp /var/www/webX/web/stats/* /var/www/webX/web/webalizer

If you did the above commands as root you should do:

chown -R webX_user:webX webalizer (replace webX_user and webX with the user and group of your ispconfig web)

start the webalizer statistics generation if you don't want to wait until the cronjob is started:

/root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php

I know this is of course only a solution if you are running a few webs with your ispconfig installation, but it fixed it for me.

It would be fine if someone could explain how to setup webalizer and awstats statistics after upgrading from ispconfig 2.2.32 to 2.2.33 for all webs with a script for example.

It would also be fine to get a howto on deinstalling the /usr/src/ISPConfig_awstats_pkg/ after the ispconfig 2.2.33 installation to use the new integrated ispconfig awstats feature standalone.

Thanks + Regards,

Robert

Last edited by nikopol; 24th September 2009 at 11:45.
Reply With Quote
  #5  
Old 25th September 2009, 12:10
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 531
Thanks: 11
Thanked 175 Times in 79 Posts
Default

for the webalizer problem, there is a solution in this thread

http://howtoforge.com/forums/showpos...8&postcount=19


/usr/src/ISPConfig_awstats_pkg/ is only the install directory, so it can be deleted. For the rest, as the destination directories are the same, in both methods, there should be no "remaining files" from the old installation method.
Reply With Quote
The Following User Says Thank You to jnsc For This Useful Post:
nikopol (25th September 2009)
  #6  
Old 25th September 2009, 16:10
Captain Captain is offline
Senior Member
 
Join Date: Feb 2009
Posts: 287
Thanks: 82
Thanked 8 Times in 7 Posts
Default

I 'am re-install ISPConfig and Awstats start working, but didnot see images in Awstat.
What I can do?
Reply With Quote
  #7  
Old 25th September 2009, 16:49
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 531
Thanks: 11
Thanked 175 Times in 79 Posts
Default

Yes this is a bug was already reprted, i will have to look why it does not work on update. As a workaround you can add this to you apache configuration
Code:
### AWStats Section ###
Alias /icon "/home/admispconfig/ispconfig/tools/awstats/wwwroot/icon/"
### End of AWStats Section ###
Reply With Quote
The Following User Says Thank You to jnsc For This Useful Post:
Captain (27th September 2009)
  #8  
Old 25th September 2009, 23:42
Captain Captain is offline
Senior Member
 
Join Date: Feb 2009
Posts: 287
Thanks: 82
Thanked 8 Times in 7 Posts
 
Default

Thnk you very much. Now it works very well.
We too have this problems when we install our products.
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
Email duplication problem sbbobd Installation/Configuration 9 15th February 2009 17:42
Samba Ldap Problem ZenMatrix Server Operation 1 10th August 2008 08:02
Log problem hochanh Server Operation 3 6th April 2008 19:10
custom firewall showe1966 Installation/Configuration 0 8th February 2008 04:10
Apache log problem XarK Installation/Configuration 3 26th January 2008 21:15


All times are GMT +2. The time now is 13:09.


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