Go Back   Singapore Web Hosting Talk > LEARNING CENTER > Cpanel

Cpanel Managing Cpanel dedicated servers.

Reply
 
Thread Tools
Old 29-07-2004, 22:03   #1
shawnho
SGWHT Premium Member
 
Join Date: 24-07-2003
Location: Singapore
Posts: 1,541
shawnho is a jewel in the roughshawnho is a jewel in the roughshawnho is a jewel in the roughshawnho is a jewel in the rough
HOWTO - Fix Quotas

The first step in troubleshooting is quotas is to ensure your server supports quotas.

In Linux, look for "usrquotas", for instance:

Code:
 /dev/hda5 on /tmp type ext3 (rw,usrquota)
To do this on FreeBSD, type the command:

Code:
mount
Look for "with quotas", for instance:

Code:
 /dev/ad0s1h on /home (ufs, local, with quotas, soft-updates)
or, in /etc/fstab:

enter the command

Code:
more /etc/fstab
Look for

Code:
 /dev/ad0s1h	 /usr	 ufs	 rw,userquota,groupquota 2	 2

If you do not find that quotas are supported in /etc/fstab, you'll have to add them, than ensure the kernel is also compiled to support them. For compiling kernel with quota support please refer to here
Next, you must ensure the quota files are present, and not corrupt, to do this look for the files aquota.user or quota.user in Linux, or only quota.user in FreeBSD. If you do not find these files, you can execute the script by entering the command :

Code:
 /scripts/initquotas
If you do find these files, however quotas still are not working, you should execute the script by entering the command :

Code:
 /scripts/fixquotas


HOWTO courtesy of CpanelFAQ.com
shawnho is offline   Reply With Quote

Reply

Thread Tools

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




All times are GMT +8. The time now is 23:27.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright (C) 2002-2015 Brought to you by Singapore Web Hosting Talk (SGWHT). All Rights Reserved.