Quote:
Originally Posted by till
You compiled your webalizer with the wrong path. You should have used the same path then the webalizer that was already installed on your system.
To correct this without recompiling you should rename the webalizer binray from your system, so the which cammand finds your newly compiled version.
|
I did this also. i compiled webalizer 2.2 with default path /usr/local/bin/webalizer
'which webalizer' now returns /usr/local/bin/webalizer
Whatever i try, path stays /usr/local/bin/webalizer
I tried apt-get remove webalizer but I guess it only remove 2.01 version
I tried to recompile webalizer with --prefix=/usr/bin but 'which webalizer' still returns /usr/local/bin/webalizer
here is what I get when I run Webalizer manually (domain names replaced with xxxxxxx.net):
www:~# /root/ispconfig/php/php -q /root/ispconfig/scripts/shell/webalizer.php
Error: Can't open log file /var/www/web1/log/web.log (symlink)
Error: Can't open log file /var/www/web19/log/web.log (symlink)
Error: Can't open log file /var/www/web18/log/web.log (symlink)
Error: Can't open log file /var/www/web21/log/web.log (symlink)
Error: Can't open log file /var/www/web6/log/web.log (symlink)
Error: Can't open log file /var/www/web22/log/web.log (symlink)
Domain: xxxxxxx.net
Log Dir: /var/www/web1/log
Max Log size: 15728640000
Current Log size: 12999005596
Domain: xxxxxxx.net
Log Dir: /var/www/web18/log
Max Log size: 31457280000
Current Log size: 79087581
Domain: xxxxxxx.net
Log Dir: /var/www/web19/log
Max Log size: 3145728000
Current Log size: 89201961
Domain: xxxxxxx.net
Log Dir: /var/www/web7/log
Max Log size: 31457280000
Current Log size: 3272915
Domain: xxxxxxx.net
Log Dir: /var/www/web6/log
Max Log size: 62914560000
Current Log size: 8572937204
Domain: xxxxxxx.net
Log Dir: /var/www/web8/log
Max Log size: 31457280
Current Log size: 0
Domain: xxxxxxx.net
Log Dir: /var/www/web21/log
Max Log size: 15728640000
Current Log size: 152756092
Domain: xxxxxxx.net
Log Dir: /var/www/web22/log
Max Log size: 31457280000
Current Log size: 468181120
i don't know what to do and how to enable new webalizer 2.2 to work with ISPConfig
Any help?
Recent comments
1 day 7 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 14 hours ago
1 day 16 hours ago
1 day 20 hours ago
1 day 21 hours ago
1 day 23 hours ago
2 days 12 hours ago
2 days 14 hours ago