Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #61  
Old 3rd December 2012, 10:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

You have to wait because webalizer/AWStats are configured to create stats from the previous day.
__________________
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
Sponsored Links
  #62  
Old 3rd December 2012, 15:40
dicenl dicenl is offline
Junior Member
 
Join Date: Dec 2012
Location: Netherlands
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
You have to wait because webalizer/AWStats are configured to create stats from the previous day.
ok, tnx! if i dont see any stats i will report back.
Reply With Quote
  #63  
Old 3rd December 2012, 21:15
dicenl dicenl is offline
Junior Member
 
Join Date: Dec 2012
Location: Netherlands
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok, im terrible in waiting did some more digging and found the cronjob being executed so i just executed the command at the commandline

Code:
/usr/bin/php -q /usr/local/ispconfig/server/cron_daily.php
now for the first time i saw content inside /web/stats folder and was able to see the site specific stats! yee For one of the sites there was an error. This is the only website i configured with the isp3 panel to use awstats. any suggestions on that error? or should i just be happy and use the webaliser stats?

Code:
PHP Warning:  fileowner(): stat failed for /usr/lib/cgi-bin/awstats.pl in /usr/local/ispconfig/server/cron_daily.php on line 237
PHP Warning:  rename(/var/www/clients/client1/web5/web/stats/awstats.forum.xxx.html,/var/www/clients/client1/web5/web/stats/awsindex.html): No such file or directory in /usr/local/ispconfig/server/cron_daily.php on line 240
finished.
Reply With Quote
  #64  
Old 3rd December 2012, 22:22
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,495
Thanks: 835
Thanked 5,534 Times in 4,352 Posts
Default

Which tutorianl did you use to install ispconfig?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #65  
Old 3rd December 2012, 22:31
dicenl dicenl is offline
Junior Member
 
Join Date: Dec 2012
Location: Netherlands
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This one.
http://www.howtoforge.com/perfect-se...er-ispconfig-3
Reply With Quote
  #66  
Old 4th December 2012, 15:08
dicenl dicenl is offline
Junior Member
 
Join Date: Dec 2012
Location: Netherlands
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just a little update. i found a wrong path (on centos 6.3 x86_64 thats is) or a config boo-boo on my part ...

Code:
PHP Warning:  fileowner(): stat failed for /usr/lib/cgi-bin/awstats.pl in /usr/local/ispconfig/server/cron_daily.php on line 237
it shoud go to

Code:
/usr/share/awstats/wwwroot/cgi-bin/awstats.pl
so i made a symlink. now thats one error gone, but i still have:

Code:
PHP Warning:  rename(/var/www/clients/client1/web1/web/stats/awstats.www.xxx.html,/var/www/clients/client1/web1/web/stats/awsindex.html): No such file or directory in /usr/local/ispconfig/server/cron_daily.php on line 240
My php knowledge is not that great, but is i find whats wrong i will give an update.
Reply With Quote
  #67  
Old 4th December 2012, 15:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,495
Thanks: 835
Thanked 5,534 Times in 4,352 Posts
Default

The path to the awstats file is configurabe under system > server config > web. Please set it there to match your installation path of awstats.

The rename error will disappear after the next statistics run at night.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #68  
Old 4th December 2012, 15:40
dicenl dicenl is offline
Junior Member
 
Join Date: Dec 2012
Location: Netherlands
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ah! great. didnt had a look there yet. maybe a dumb question but you keep saying wait for stats overnight. why is that? isnt it possible to generate them with the script when you want?

and do i have to restart anything when i changed the awstats.pl path or it changed on the fly?

tnx for your help!
Reply With Quote
  #69  
Old 4th December 2012, 15:43
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,495
Thanks: 835
Thanked 5,534 Times in 4,352 Posts
Default

Quote:
ah! great. didnt had a look there yet. maybe a dumb question but you keep saying wait for stats overnight. why is that? isnt it possible to generate them with the script when you want?
No, because the logs get rotated once a day and always the log fromyesterday is processed and awstats recognizzes when new records are there, so if you run the script more then once, nothing will happen.

Quote:
and do i have to restart anything when i changed the awstats.pl path or it changed on the fly?
It will get changed in the settings and the settings are read when the script gets executed at night.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #70  
Old 4th December 2012, 16:49
dicenl dicenl is offline
Junior Member
 
Join Date: Dec 2012
Location: Netherlands
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

ok. perfect! i will check it tomorrow and let you know.
Reply With Quote
Reply

Bookmarks

Tags
403, forbidden, webalizer

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
add web site serr57 Installation/Configuration 18 13th April 2008 12:40
IMAP doesn't work..as i followed the Perfect Setup for Fedora 4 asokaajay Server Operation 11 10th June 2007 15:57
403 Forbidden (Permission to /) rannia_ptaha Installation/Configuration 9 25th January 2007 19:36
403 Error- Forbidden! on form submit Macord General 4 11th December 2006 23:22
problem with Webalizer (403 Error- Forbidden!) kong121s Installation/Configuration 9 28th April 2006 11:33


All times are GMT +2. The time now is 01:43.


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