#1  
Old 3rd October 2006, 10:51
gilas gilas is offline
Member
 
Join Date: Jun 2006
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default again on webalizer stats

Dear Falko and folks,
this is a very annoying problem. Some months ago I installed successfully ispconfig and webalizer. Then I reinstalled ispconfig 2.2.6 and since installation webalizer seems not work propely.

I tried all you suggest: edit crontab etc., waited for 24 hours and then ran the php program to force the system to a manual creation of the records:

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

(CLI mode), nothing appears.

Then I tried to restart ispconfig, none -- and check log errors (/var/log/messages), give a wich webalizer command.

All seems to be really OK, I can login and view the stats, but the stats are not update..... could you help me??

Thank you....
Reply With Quote
Sponsored Links
  #2  
Old 4th October 2006, 10:12
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,703
Thanks: 819
Thanked 5,320 Times in 4,173 Posts
Default

Quote:
php /root/ispconfig/scripts/shell/webalizer.php
This is not correct, you use the wrong PHP binary! The correct command is:

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

But you will have to run the logsplit script (logs.php) before you run the webslizer script.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 4th October 2006, 11:40
gilas gilas is offline
Member
 
Join Date: Jun 2006
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default none....

I ran:
/root/ispconfig/php/php -q /root/ispconfig/scripts/shell/logs.php

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

but nothing seems appear.... no logs on video... just less than half second the linux prompt returns, but no messages or other...

what can I do more?
Reply With Quote
  #4  
Old 4th October 2006, 17:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

What's the output of
Code:
df -h
?
__________________
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 6th October 2006, 03:43
Jack98 Jack98 is offline
Junior Member
 
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Same problem

I have the same problem here. Same origin, same results. Have performed same tests with same results.

The result of my df -h is:

/dev/mapper/VolGroup00-LogVol00
179G 5.0G 165G 3% /
/dev/sda1 99M 14M 80M 15% /boot
/dev/shm 474M 0 474M 0% /dev/shm

Thanks, Jack
Reply With Quote
  #6  
Old 6th October 2006, 05:18
Jack98 Jack98 is offline
Junior Member
 
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Fixed it

Hello all again,

I have fixed it. The problem seemed to be that in my last update, ispconfig have updated the script (webalizer.php in this case) and not the ispconfig tables in the DB. So webalizer.php was checking in the table for a new field in the table isp_isp_web called webalizer_stats to have value 1, but that field was not in my table. So just added it, filled it with 1's and it worked!

Then I have manually created temporary symbolic links of /homw/www/www.mysite.com/log/web.log to the months I lost... and run webalizer again...

logs.php restored the links after that (I previously have deleted them all)

Any question? just post...

Jack
http://www.latinexperts.com
Reply With Quote
  #7  
Old 6th October 2006, 16:16
gilas gilas is offline
Member
 
Join Date: Jun 2006
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default thanks!

Just solved like Jack98 suggest.... unfortunately some days ago I added a table named: 'webalizer_stat' and not ' webalized_stats' so that ISPConfig was not running as expected.
Now I've updated the tables manually and all seems to work....

thank you again!
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
Force the creation of Webalizer stats? Anim Installation/Configuration 8 23rd July 2013 08:55
Webalizer stats encoding SupuS Installation/Configuration 9 6th July 2013 11:56
Howto: Make Webalizer show full QueryString!! Zoon Tips/Tricks/Mods 1 5th November 2007 02:12
webalizer stats not accessible only for one user gilas Installation/Configuration 4 21st July 2006 13:08
view webalizer stats kuyaedz General 22 12th March 2006 14:45


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


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