Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd February 2006, 03:33
jmroth jmroth is offline
ISPConfig Developer
 
Join Date: Sep 2005
Posts: 191
Thanks: 1
Thanked 6 Times in 6 Posts
Default log directory filling up webspace

What old logfiles can I get rid of?

Just look at the following:

Code:
/home/www# du -s web72/*
384    web72/cgi-bin
71768    web72/log
4    web72/phptmp
28    web72/shared
20    web72/ssl
4    web72/user
5804    web72/web
Note that the customer is not primarily responsible for his web (filesystem group) filling up....

Can I chown the logfiles? Are they still needed/Can I delete them?

Regards,
~jm
Reply With Quote
Sponsored Links
  #2  
Old 2nd February 2006, 09:41
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

I wouldn't delete log files for the current month, but of course you can delete the old log files.
__________________
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 2nd February 2006, 17:36
jmroth jmroth is offline
ISPConfig Developer
 
Join Date: Sep 2005
Posts: 191
Thanks: 1
Thanked 6 Times in 6 Posts
Default

Would it be bad to just chown the logfiles to root or some other account without quota? What exactly happens to those files?

In that case I don't need to hurry deleting them as I have a lot of space and they won't affect the user/group's quota either?
Reply With Quote
  #4  
Old 2nd February 2006, 18:15
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,715
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
 
Default

Quote:
Originally Posted by jmroth
Would it be bad to just chown the logfiles to root or some other account without quota?
The files where chowned back to the user automatically each night by the logsplit script.

Quote:
What exactly happens to those files?
The logsplit script appends the log data each night to the file. Afterwards the webalizer script analyzes the logfile and creates the stats.

Quote:
In that case I don't need to hurry deleting them as I have a lot of space and they won't affect the user/group's quota either?
You can chown them to e.g. root, but then you will have to tweak the logs.php script that it does not chown the files back to the website user.

UPDATE:
---------------------------------------
Just recognized that i havent read your post to the end. My solution is for the logfile of the current month. Older logfiles can be chowned without problems and changing anything in the logs.php file
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 2nd February 2006 at 18:42.
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
log files, rotation and emailing them hairydog2 General 65 11th October 2006 13:18
Debian install error jf1976 Installation/Configuration 25 19th January 2006 22:31
Installation failure Suse 10 x86_64 beholder Installation/Configuration 4 19th January 2006 07:09
ISP install problems Debian sarge 3.1 lerra Installation/Configuration 1 5th January 2006 16:37


All times are GMT +2. The time now is 12:32.


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