Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th May 2010, 18:15
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default Quota feature on a mailserver (debian lenny)

Hi to everybody. I've created a local mailserver on a debian lenny machine.
I would like to implement quota for my email users.
I tried following this how-to: http://www.howtoforge.com/how-to-set...n-debian-lenny
but I've this error:
Code:
mailserver:/# quotacheck -avugm
quotacheck: WARNING -  Quotafile //aquota.user was probably truncated. Cannot save quota settings...
quotacheck: WARNING -  Quotafile //aquota.group was probably truncated. Cannot save quota settings...
quotacheck: Scanning /dev/hdc2 [/] quotacheck: error (2133571361) while starting inode scan
I then tried the part concerning to quota of this how-to http://www.howtoforge.com/perfect-se...-ispconfig3-p4 that basically is the same but using not a Journaled Quota, but no lucky.

Am I wrong in something?
Thanks
Michele
Reply With Quote
Sponsored Links
  #2  
Old 28th May 2010, 14:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

What's in /etc/fstab?
__________________
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 9th December 2010, 17:31
mbsouth mbsouth is offline
Junior Member
 
Join Date: Apr 2010
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi Falko,
the same to me! I tried the "Installing A Multiserver Setup With Dedicated ...ISPCONFIG3".

Kernel: Lenny 2.6.26-2-686-bigmem

Quote:
# /etc/fstab: static file system information.
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda2 / ext3 errors=remount-ro,usrquota,grpquota 0 1
/dev/sdc1 /var/log ext3 defaults 0 2
/dev/sdb1 /var/www ext3 defaults 0 2
/dev/sda1 none swap sw 0 0
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
-> # mount -o remount /
-> # quotacheck -avugm
Quote:
quotacheck: Your kernel probably supports journaled quota but you are not using it. Consider switching to journaled quota to avoid running quotacheck after an unclean shutdown.
I also did:
Quote:
# /etc/fstab: static file system information.
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda2 / ext3 errors=remount-ro,usrquota,grpquota 0 1
/dev/sdc1 /var/log ext3 defaults 0 2
/dev/sdb1 /var/www ext3 errors=remount-ro,usrquota,grpquota 0 2
/dev/sda1 none swap sw 0 0
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
-> # mount -o remount /
-> # mount -o remount /var/www
-> # quotacheck -avugm
and got the message:
Quote:
quotacheck: Quota for users is enabled on mountpoint /var/www so quotacheck might damage the file.
Please turn quotas off or use -f to force checking.
Any idea?

mbsouth
Reply With Quote
  #4  
Old 10th December 2010, 12:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Take a look here: http://www.howtoforge.com/how-to-set...n-debian-lenny
__________________
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
  #5  
Old 10th December 2010, 13:23
mbsouth mbsouth is offline
Junior Member
 
Join Date: Apr 2010
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Thx a lot!
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
[debian 5 + ispconfig 3] Unable to send mail tanakskool HOWTO-Related Questions 6 4th November 2009 18:20
Howto upgrade from Debian 4 (Etch) to Debian 5 (Lenny) Hans Tips/Tricks/Mods 2 1st December 2008 23:40
Virtual users... Ubuntu 8.04 spaceuser HOWTO-Related Questions 12 19th June 2008 08:04
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 00:57
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42


All times are GMT +2. The time now is 01:43.


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