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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th February 2006, 22:49
hairydog2 hairydog2 is offline
Senior Member
 
Join Date: Oct 2005
Posts: 196
Thanks: 9
Thanked 3 Times in 2 Posts
Default Log file not being trimmed

Most of the web logs are OK, but one is getting bigger and bigger each day.

The site in question is web38 and so I guess that these error messages from webalizer's script output are part of the problem. The bit starting Warning: is repeated several times before the script finishes running.

line 167 of the webalizer.php file is

closedir($dirstream);

This is the error:

Array
(
[/home/www/web38/log/.no_delete] => 1132433862
)

Warning: closedir(): supplied argument is not a valid Directory resource in /root/ispconfig/scripts/shell/webalizer.php on line 167
Array
(
[/home/www/web38/log/.no_delete] => 1132433862
[/home/www/web38/log/error.log] => 1139779256
)


How can I fix this?
Reply With Quote
Sponsored Links
  #2  
Old 13th February 2006, 09:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Please post the output of
Code:
ls -la /home/www/web38/log
__________________
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
  #3  
Old 13th February 2006, 21:47
hairydog2 hairydog2 is offline
Senior Member
 
Join Date: Oct 2005
Posts: 196
Thanks: 9
Thanked 3 Times in 2 Posts
Default

ls -la /home/www/web38/log
total 436
drwxr-xr-x 3 stovesareus web38 4096 Feb 12 01:14 .
drwxr-xr-x 10 stovesareus web38 4096 Feb 12 21:01 ..
-r-------- 1 stovesareus web38 0 Nov 19 20:57 .no_delete
drwxr-xr-x 3 stovesareus web38 4096 Feb 2 21:06 2006
-rw-r--r-- 1 stovesareus web38 427399 Feb 13 20:40 error.log
lrwxrwxrwx 1 stovesareus web38 51 Feb 2 00:30 web.log -> /home/www/www.stovesareus.co.uk/log/2006/02/web.log
Reply With Quote
  #4  
Old 16th February 2006, 14:30
hairydog2 hairydog2 is offline
Senior Member
 
Join Date: Oct 2005
Posts: 196
Thanks: 9
Thanked 3 Times in 2 Posts
 
Default

Any ideas?
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
Mail System doesnt work! crichton Installation/Configuration 3 17th September 2007 23:49
Debian install error jf1976 Installation/Configuration 25 19th January 2006 22:31
ISP install problems Debian sarge 3.1 lerra Installation/Configuration 1 5th January 2006 16:37
PHP/MySQL/Apache2/ISPConfig configuration issues? senzapaura General 21 25th December 2005 14:01
/stats doesn't work (password not accepted) Hellbound General 6 15th September 2005 15:34


All times are GMT +2. The time now is 16:27.


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