Thread: Logsize issue
View Single Post
  #17  
Old 6th January 2008, 19:42
wpwood3 wpwood3 is offline
Senior Member
 
Join Date: Oct 2007
Location: Atlanta, GA USA
Posts: 197
Thanks: 21
Thanked 30 Times in 20 Posts
Question Log file still too large after manual run

Quote:
Originally Posted by till
If you want to debug the function on your server, have a look in the script /root/ispconfig/scripts/lib/webalizer.php. You can start the script manually with the command:
/root/ispconfig/php/php -q /root/ispconfig/scripts/lib/webalizer.php
On my system webalizer.php is in /root/ispconfig/scripts/shell/webalizer.php
Should I move it to lib?

I ran /root/ispconfig/php/php -q /root/ispconfig/scripts/shell/webalizer.php
and got the following results:
Code:
 
[root@centos5 shell]# /root/ispconfig/php/php -q /root/ispconfig/scripts/shell/webalizer.php
Warning: Truncating oversized referrer field
Warning: Truncating oversized referrer field
Warning: Truncating oversized referrer field
Warning: Truncating oversized request field
Warning: Truncating oversized request field
Warning: Truncating oversized request field
Warning: Truncating oversized request field
Warning: Truncating oversized request field
2826474 records (2826465 ignored) in 468.50 seconds, 6033/sec
[root@centos5 shell]#
Running webalizer did not change the log file /var/www/web2/log/2008/01/web.log . It is still 739MB which is way over the limit I set in ISPConfig.

Any other ideas?
__________________
CentOS 5.4 64bit (the Perfect Setup)
ISPConfig 2.2.40
WP3 Photography
Reply With Quote