#1  
Old 27th January 2007, 23:00
Davide Davide is offline
Senior Member
 
Join Date: Jul 2006
Posts: 123
Thanks: 16
Thanked 9 Times in 8 Posts
Default Erroneus quota

Sometimes showed quota at control panel are erroneus.

For example, I'm getting "quota warning" emails about a domain of a reseller since January 5. It's correct, a du-hs shows it:

du -hs *

0 cgi-bin
368K log
0 Maildir
0 phptmp
0 ssl
98M user
2,4M web


But in the control panel, I can see:

Storage space: 100 MB
used: 3.30M

/log 368K
/ssl 0
/web 2.4M
/user 552K
/phptmp 0
/cgi-bin 0

Why "user" space is not correctly shown?

I'd like to know too if is it possible to automatically send an e-mail to the reseller with their quota violations

Thank you!
Reply With Quote
Sponsored Links
  #2  
Old 28th January 2007, 13:41
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,484 Times in 4,316 Posts
Default

Quote:
Why "user" space is not correctly shown?
You must configure your server that the du command can be run by sudo with root priveliges. Then set $go_info["server"]["sudo_du_enabled"] = 1; in the file /home/admispconfig/ispconfig/lib/config.inc.php
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 28th January 2007, 23:40
Davide Davide is offline
Senior Member
 
Join Date: Jul 2006
Posts: 123
Thanks: 16
Thanked 9 Times in 8 Posts
Default

Quote:
Originally Posted by till
You must configure your server that the du command can be run by sudo with root priveliges. Then set $go_info["server"]["sudo_du_enabled"] = 1; in the file /home/admispconfig/ispconfig/lib/config.inc.php
I suppose I have to allow sudo du to user admispconfig, isn't it?

Thank you very much for your quick reply!
Reply With Quote
  #4  
Old 28th January 2007, 23:41
Davide Davide is offline
Senior Member
 
Join Date: Jul 2006
Posts: 123
Thanks: 16
Thanked 9 Times in 8 Posts
Default

Quote:
Originally Posted by till
You must configure your server that the du command can be run by sudo with root priveliges. Then set $go_info["server"]["sudo_du_enabled"] = 1; in the file /home/admispconfig/ispconfig/lib/config.inc.php
Is it possible to send an e-mail to a reseller informing about quota violations, or those emails are only sent only to system administrator?

Thank you
Reply With Quote
  #5  
Old 29th January 2007, 08:01
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,484 Times in 4,316 Posts
 
Default

Quote:
Originally Posted by Davide
I suppose I have to allow sudo du to user admispconfig, isn't it?
yes. Otherwise the controlpanel is not able to "see" all files from the users and so may show a incorrect quota value.

Quote:
Is it possible to send an e-mail to a reseller informing about quota violations, or those emails are only sent only to system administrator?
It is currently only available for the admin.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Print Server & Quota Tuxfun HOWTO-Related Questions 12 19th December 2006 11:22
Ubunt 6.06, Quota, Segmentation Fault eldaria HOWTO-Related Questions 3 23rd June 2006 00:09
Problems with copy & paste dspuser Server Operation 3 23rd May 2006 17:21
"Better" quota usage display hastlaug Feature Requests 1 18th April 2006 22:53
Syntax error in Quota? st2xo Installation/Configuration 2 13th February 2006 11:30


All times are GMT +2. The time now is 05:30.


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