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
  #11  
Old 19th April 2008, 19:23
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,385 Times in 4,231 Posts
Default

It is fine that the logfiles are owned by root. The quota is applied by a nightly ISPConfig script and not the Linux quota. If you change the ownership to a user with quota, your apache will fail when quota is reached. I recommend that you change back the ownership to root.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Sponsored Links
  #12  
Old 20th April 2008, 01:44
tom tom is offline
Senior Member
 
Join Date: Apr 2006
Posts: 492
Thanks: 8
Thanked 8 Times in 7 Posts
Default

Quote:
Originally Posted by till
It is fine that the logfiles are owned by root. The quota is applied by a nightly ISPConfig script and not the Linux quota. If you change the ownership to a user with quota, your apache will fail when quota is reached. I recommend that you change back the ownership to root.
If've compared the ownership of the dangerus big error.log form the web user with other users and I find that all error.log files are owned by the web user. After I've recogniced that I changed the ownership of the logfile.

Now I find an other strange thing - how can that be? The the linited storage space ist smaler than the used space. Should'nt the quota take place before the limit ist reached? That I've noticed on the ISP Site form.
Quote:
ISP Site

Storage space: 60 MB
used: 77.92M
Reply With Quote
  #13  
Old 20th April 2008, 10:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,385 Times in 4,231 Posts
Default

Thats not really strange if you know how the statistics and quota works. What ISPCOnfig displays as used space is the amount of space used inside the website directory for all users while the website quota is a linux group quota. If you copy now a file e.g. owned by root into the website dierctory, it will be shown as used space but it did bot account to the quota value.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #14  
Old 20th April 2008, 12:55
tom tom is offline
Senior Member
 
Join Date: Apr 2006
Posts: 492
Thanks: 8
Thanked 8 Times in 7 Posts
Default

I'm a bit confused now ...

At the bottom of the Administrator Manual from ISPConfig is noticed:
Quote:
The storage space used by all users of a web cannot become bigger the the value specified under "Space MB" on the tab "Basis" of a site.
Here: ISP Site --> Basis --> Space MB: 50MB (ISPConfig counter?)
the storage space for all users can be set. Right? This usage of it has no effect to the system quote for the webuser managed here:

ISP Site --> User & Email --> WebSpace MB: 60MB (usage of system quota)

Right?
Reply With Quote
  #15  
Old 22nd April 2008, 08:45
tom tom is offline
Senior Member
 
Join Date: Apr 2006
Posts: 492
Thanks: 8
Thanked 8 Times in 7 Posts
Default

I'm still confused about this things ...
Reply With Quote
  #16  
Old 22nd April 2008, 11:28
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,385 Times in 4,231 Posts
Default

Quote:
Here: ISP Site --> Basis --> Space MB: 50MB (ISPConfig counter?)
the storage space for all users can be set. Right? This usage of it has no effect to the system quote for the webuser managed here:

ISP Site --> User & Email --> WebSpace MB: 60MB (usage of system quota)
Thats all correct and fine. The used space is not from a user of this site as I explained above.

Example:

We have the site /var/www/web1/ with the user web1_test. The quota of the site is 10 MB.

Now we upload a 5 MB file with FTP as user web1_test and the website statistic will show 5 MB used space and the used quota is 5 MB too. Now you login as root user (root is not a member of this site) and copy a file with 100 MB size on the shell into the directory /var/www/web1/.

The website statistics will show now 105 MB used space for the directory /var/www/web1/, but the quota which is used by the users of the site is still just 5 MB.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
tom (22nd April 2008)
  #17  
Old 22nd April 2008, 12:16
tom tom is offline
Senior Member
 
Join Date: Apr 2006
Posts: 492
Thanks: 8
Thanked 8 Times in 7 Posts
 
Default

Thanks, for your explanation. Now I got it very clear.

But why you told above. I mean the logfile ever belong the user, is'nt it like that?
Quote:
Originally Posted by till
It is fine that the logfiles are owned by root. The quota is applied by a nightly ISPConfig script and not the Linux quota. If you change the ownership to a user with quota, your apache will fail when quota is reached. I recommend that you change back the ownership to root.

Last edited by tom; 22nd April 2008 at 12:19.
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
Limit the size of email sent shawnbishop General 1 9th February 2008 18:30
cacti problem - graphs have huge gaps Chip Installation/Configuration 7 7th February 2008 23:24
Changing Email Attachment size limit grandpagenocide General 1 23rd September 2007 17:29
from http to https after installation? Mahir Installation/Configuration 25 7th December 2005 20:40
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30


All times are GMT +2. The time now is 20:23.


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