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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th February 2011, 08:53
vaio1 vaio1 is offline
Senior Member
 
Join Date: Jul 2007
Location: Italy
Posts: 664
Thanks: 77
Thanked 12 Times in 7 Posts
Question Quota problem in tutorial article.

Hi Falko and Till,

I have found a problem within this article about the Quota setup: Installing A Multiserver Setup With Dedicated Web, Email, DNS And MySQL Database Servers On Debian 5.0 With ISPConfig 3

Code:
To enable quota, run these commands:

touch /quota.user /quota.group
chmod 600 /quota.*
mount -o remount /

quotacheck -avugm
quotaon -avug
This is the result in my box:
Code:
root@webserver:/# touch /quota.user /quota.group
root@webserver:/# chmod 600 /quota.*
root@webserver:/# mount -o remount /
root@webserver:/# 
root@webserver:/# quotacheck -avugm
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.
quotacheck: WARNING - Quotafile //quota.user was probably truncated. Cannot save quota settings...
quotacheck: WARNING - Quotafile //quota.group was probably truncated. Cannot save quota settings...
quotacheck: Scanning /dev/disk/by-uuid/5376739d-9145-48f8-bf8a-f583671aea20 [/] done
quotacheck: Checked 3897 directories and 43819 files
root@webserver:/# quotaon -avug
quotaon: cannot find //aquota.group on /dev/disk/by-uuid/5376739d-9145-48f8-bf8a-f583671aea20 [/]
quotaon: cannot find //aquota.user on /dev/disk/by-uuid/5376739d-9145-48f8-bf8a-f583671aea20 [/]
root@webserver:/# ls -la
total 108
drwxr-xr-x  21 root root  4096 Feb 17 08:50 .
drwxr-xr-x  21 root root  4096 Feb 17 08:50 ..
drwxr-xr-x   2 root root  4096 Feb 16 18:13 bin
drwxr-xr-x   3 root root  4096 Feb 16 16:01 boot
drwxr-xr-x  14 root root  3120 Feb 17 08:26 dev
drwxr-xr-x  89 root root  4096 Feb 17 08:48 etc
drwxr-xr-x   3 root root  4096 Feb 17 08:42 home
lrwxrwxrwx   1 root root    28 Feb 16 15:51 initrd.img -> boot/initrd.img-2.6.32-5-686
drwxr-xr-x  12 root root 12288 Feb 16 22:40 lib
drwx------   2 root root 16384 Feb 16 15:48 lost+found
drwxr-xr-x   3 root root  4096 Feb 16 15:49 media
drwxr-xr-x   2 root root  4096 Dec 14 22:54 mnt
drwxr-xr-x   2 root root  4096 Feb 16 15:50 opt
dr-xr-xr-x 118 root root     0 Feb 17 08:26 proc
-rw-------   1 root root 32128 Feb 17 08:50 quota.group
-rw-------   1 root root 32096 Feb 17 08:50 quota.user
drwx------   3 root root  4096 Feb 16 17:12 root
drwxr-xr-x   2 root root  4096 Feb 16 22:50 sbin
drwxr-xr-x   2 root root  4096 Jul 21  2010 selinux
drwxr-xr-x   2 root root  4096 Feb 16 15:50 srv
drwxr-xr-x  12 root root     0 Feb 17 08:26 sys
drwxrwxrwt   4 root root  4096 Feb 17 08:51 tmp
drwxr-xr-x  11 root root  4096 Feb 16 22:40 usr
drwxr-xr-x  15 root root  4096 Feb 17 00:30 var
lrwxrwxrwx   1 root root    25 Feb 16 15:51 vmlinuz -> boot/vmlinuz-2.6.32-5-686
root@webserver:/#
FSTAB

Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# / was on /dev/sdd5 during installation
UUID=5376739d-9145-48f8-bf8a-f583671aea20 /               ext3    defaults,usrquota,grpquota 0       1
# swap was on /dev/sdd6 during installation
UUID=58b50c12-fadf-41af-aea6-be2cdfe257c2 none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0
What have I do?
Reply With Quote
Sponsored Links
  #2  
Old 17th February 2011, 11:28
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,395
Thanks: 833
Thanked 5,489 Times in 4,321 Posts
 
Default

Your kernel seems to use journaled quota. Please try this commands instead:

Quote:
touch /aquota.user /aquota.group
chmod 600 /aquota.*
mount -o remount /

quotacheck -avugm
quotaon -avug
__________________
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:
mturillo (17th February 2011)
Reply

Bookmarks

Tags
debian, quota

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
Need some Hints to "The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 3]" wahid HOWTO-Related Questions 10 25th August 2010 15:18
Email problem 'Cannot set my user or group id.' (using ISPConfig 3 + OpenSuSE 11.2) urosm Installation/Configuration 5 19th June 2010 22:41
Mailbox quota problem (bug?) lano General 1 29th March 2010 14:36
Traffic Quota Problem Remoting Framework 4.2.1 kextra1 Tips/Tricks/Mods 1 7th January 2009 02:38
Quota Problem with Procmail rafaelenrike Installation/Configuration 1 16th June 2006 02:32


All times are GMT +2. The time now is 19:49.


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