
17th April 2007, 12:36
|
|
Member
|
|
Join Date: Mar 2007
Posts: 64
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Webalizer Problem
Hi All,
I could still not configure webalizer to make the stats. Its installed but in the stats folder of each web there is only .htaccess. I have followed this thread:
http://www.howtoforge.com/forums/showthread.php?t=851
and this one:
http://www.howtoforge.com/forums/sho...27&postcount=8 -
"fixed" the cron and then waited 24h - nothing happens. Then i have also tried to run the cronjob manually from shell: /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php, but i get only: creation of the stats folder for new sites, and when i look at it - it contains also only the .htaccess file and for the older sites - there is no change, the folder contains also only .htaccess. Nothing helped till now....
Any ideas?
thanks in advance
Regards
|

17th April 2007, 13:02
|
|
Member
|
|
Join Date: Mar 2007
Posts: 64
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Hi All,
i have used strace to see what the webalizer.php tries to make. It looks for logs in /var/www/*/log but unfortunately on my server the log folder for all the sites contains only 2 files - error.log and .no_delete. Most of the sites are more than 1 month "old" and have been accessed!
Any ideas guys?
thanks
|

17th April 2007, 13:09
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,903
Thanks: 693
Thanked 4,193 Times in 3,211 Posts
|
|
This means that the logs have not been splitted at all. Please execute:
/root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php
as root user. Do you now have a access.log file in the log folders of the sites?
|

17th April 2007, 13:37
|
|
Member
|
|
Join Date: Mar 2007
Posts: 64
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Yes,
and it seems that none of the scripts in the cron run ropertly - they doesnt run at all. I had also no stats for resellers and customers (traffic e.t.c.). I have runned all the cronjobs manually and they can be seen now, i will now wait to see if everything runs smoothly over the night... and report back
Its very strange, it was all cron issue
thanks for the help!
|

18th April 2007, 19:26
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Are all cron jobs listed properly when you run as root?
|

19th April 2007, 10:31
|
|
Member
|
|
Join Date: Mar 2007
Posts: 64
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Yes they are listed propertly:
crontab -l
30 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/ftp_logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/mail_logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/cleanup.php &> /dev/null
0 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php &> /dev/null
0,30 * * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_services.php &> /dev/null
15 3,15 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/quota_msg.php &> /dev/null
40 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/traffic.php &> /dev/null
05 02 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/backup.php &> /dev/null
*/5 * * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/mysql_quota.php &> /dev/null
0 10 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_mx.php
I think this problem has nothing to do with ispconfig. Anyway its strange because i use debian sarge on this ispconfig box, as on many of my other servers and i run in to troubles with the cron daemon for the first time
thanks for the help guys
|

19th April 2007, 12:42
|
|
Moderator
|
|
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,252
Thanks: 208
Thanked 642 Times in 291 Posts
|
|
About one year ago, i could not startup Webalizer as well.
I got it up and running by:
/etc/init.d/cron stop
pkill cron (Make sure no cron processes are left.)
Edit your crontab (crontab -e) and save it again.
Then restart cron: /etc/init.d/cron start
Maybe it works for you too.
__________________
Hans
BB-Hosting | Quality Web Hosting since 2005
|

20th April 2007, 14:09
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
If Hans' suggestion doesn't work - what's your ISPConfig version?
|

20th April 2007, 14:35
|
|
Member
|
|
Join Date: Mar 2007
Posts: 64
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
it works now. i have tried it in the very beginning...
i use latest stable
thanks for the help
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 21:02.
|
|
Recent comments
15 hours 14 min ago
21 hours 56 min ago
1 day 1 hour ago
1 day 3 hours ago
1 day 11 hours ago
1 day 21 hours ago
1 day 22 hours ago
2 days 1 hour ago
2 days 6 hours ago
2 days 6 hours ago