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 5th March 2007, 10:38
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,033
Thanks: 260
Thanked 145 Times in 127 Posts
Default HELP: Forced reseting Quota for users?

One of my users is having a problem receiving email at the moment.
Email is bounced back to sender with the following message
Code:
<web22_bas@host.domain.tld> (expanded from <bas@user-domain.tld>): can't create
    user output file. Command output: ==================== QUOTA: 26214400
    INBOXSIZE: 20270 MAXMSG:    26194130 /bin/cat: write error: Disk quota
    exceeded procmail: Program failure (1) of
    "/home/admispconfig/ispconfig/tools/clamav/bin/clamassassin" procmail:
    Rescue of unfiltered data succeeded [29372] warn: config: configuration
    file


/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/20_porn.cf"
    requires version 3.001007 of SpamAssassin, but this is code version
    3.001008. Maybe you need to use the -C switch, or remove the old config
    files? Skipping this file at


/home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/Sp
amAssassin/Conf/Parser.pm
    line 345. procmail: Quota exceeded while writing "/var/mail/web22_bas"
The crazy thing is the "INBOXSIZE: 20270 MAXMSG: 26194130" part!
Other users on that domain do not have a problem! It's only web22_bas who has this!

Anyway. I've now set the domain to 10GB (Space MB), and would like to get the "Quota exceeded" problem fixed right away!

Is there a command that I can run to start using the new (Space MB / Quota)?

Or.. Do I need to do something else? I really need to get the web22_bas going again a.s.a.p!

Some more info:

repquota -a
Code:
*** Report for user quotas on device /dev/sda1
Block grace time: 7days; Inode grace time: 7days
                        Block limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------

web22_bas +-    6140    5120    6144  6days      21     0     0
quota web22_bas
Code:
Disk quotas for user web22_bas (uid 10039):
     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
      /dev/sda1    6140*   5120    6144   6days      21       0       0
du -h --max-depth=1 /var/www/web22/log
Code:
13M     /var/www/web22/log/2006
8.8M    /var/www/web22/log/2007
23M     /var/www/web22/log
find /* -user web22_bas
Code:
find: /proc/3481/task: No such file or directory
find: /proc/3483/task: No such file or directory
find: /proc/3485/task: No such file or directory
find: /proc/3497/task/3497/fd/4: No such file or directory
/tmp/clamav-24465acfba690eb49a98090fe5bd3f70
/tmp/clamav-24465acfba690eb49a98090fe5bd3f70/COPYING
/tmp/clamav-24465acfba690eb49a98090fe5bd3f70/main.db
/tmp/clamav-24465acfba690eb49a98090fe5bd3f70/main.hdb
/tmp/clamav-24465acfba690eb49a98090fe5bd3f70/main.ndb
/tmp/clamav-1d03d1f461af0bde85a34f126a131995
/tmp/clamav-8347042fe600026f8eddb946364dda48
/tmp/clamav-8347042fe600026f8eddb946364dda48/COPYING
/tmp/clamav-c7b86e7471e5ab3cf97f157433f258ff
/tmp/clamav-c7b86e7471e5ab3cf97f157433f258ff/COPYING
/tmp/clamav-6d162a217546a84d66378e6efbbd731e
/tmp/clamav-6d162a217546a84d66378e6efbbd731e/COPYING
/var/mail/web22_bas
/var/www/web22/user/web22_bas
/var/www/web22/user/web22_bas/web
/var/www/web22/user/web22_bas/web/index.html
/var/www/web22/user/web22_bas/.forward
/var/www/web22/user/web22_bas/.spamassassin
/var/www/web22/user/web22_bas/.spamassassin/auto-whitelist
/var/www/web22/user/web22_bas/.spamassassin/bayes_toks
/var/www/web22/user/web22_bas/.spamassassin/bayes_seen
host:/var/www/web22/user/web22_bas#
__________________
Never execute code written on a Friday or a Monday.

Last edited by edge; 5th March 2007 at 10:43.
Reply With Quote
Sponsored Links
  #2  
Old 5th March 2007, 11:44
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

You can delete without any problem the files in /tmp.

I have /tmp in a seperate filesystem without quota management, so temp files don't count for user quota.
Reply With Quote
  #3  
Old 5th March 2007, 12:31
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Please post the output of:

ls -lah /var/mail/web22_bas
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 5th March 2007, 12:47
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,033
Thanks: 260
Thanked 145 Times in 127 Posts
Default

sure...

ls -lah /var/mail/web22_bas
Code:
-rw-------  1 web22_bas mail 552 2007-03-05 12:42 /var/mail/web22_bas
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
  #5  
Old 5th March 2007, 13:31
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Hi,

the quota of the user web2_bas is currently set to 5MB and not 10 GB. Please set the disk quota of this user to a higher value to fix the problem.

Till
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 5th March 2007, 13:37
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,033
Thanks: 260
Thanked 145 Times in 127 Posts
Default

Quote:
Originally Posted by till
Hi,

the quota of the user web2_bas is currently set to 5MB and not 10 GB. Please set the disk quota of this user to a higher value to fix the problem.

Till
Hmm I see now.. I think the user did set this himself.
I've now set it to -1 (for now)

Will this start working right away, or do I need to wait for some time?
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
  #7  
Old 5th March 2007, 13:49
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

You will have to wait approx 1 minute. You can run:

repquota -avug | grep web2_bas

to see if the quota has changed.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 5th March 2007, 13:56
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,033
Thanks: 260
Thanked 145 Times in 127 Posts
 
Default

Quote:
Originally Posted by till
You will have to wait approx 1 minute. You can run:

repquota -avug | grep web2_bas

to see if the quota has changed.
Yes.. It looks like it's working now

repquota -avug | grep web22_bas
Code:
web22_bas --    6140       0       0             21     0     0
Thank you for your help (again)
__________________
Never execute code written on a Friday or a Monday.

Last edited by edge; 5th March 2007 at 14:01.
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
quota and ispcfg related question Ovidiu Installation/Configuration 5 10th January 2008 14:24
Problems with copy & paste dspuser Server Operation 3 23rd May 2006 17:21
Quota on JFS raid1 problem- cant find filesystem Chaoticmass Server Operation 2 19th March 2006 23:03
Syntax error in Quota? st2xo Installation/Configuration 2 13th February 2006 11:30
another quota question... Ovidiu General 9 21st December 2005 01:08


All times are GMT +2. The time now is 11:26.


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