Setting up Reseller Private Nameservers Published: Mar 12, 2004
  • Rating

    4/5

Cpanel tutorial to fix Cpanel when the user quotas aren't reading properly or showing unlimited for all user accounts using /scripts/fixquotas

Cpanel/WHM sometimes has problems with the user quota files causing all users accounts to have unlimited disk space available or 0 megs of disk space in use. This obviously confuses your customers and doesn't show a real representation of actual disk space being used by your clients. This guide will take you through fixing any quota issues with Cpanel manually or automated.

Common reasons for quota problems
- There are files owned by the same user elsewhere on the server
- The backup directory is being counted towards the users disk quota
- Extra log files are being counted towards the users quota
- Cpanel was just updated and the quotas are now unlimited

Quick Fix - an easy way to fix quota issues

Step 1. Log into your server through SSH as the root user.

Step 2. Run the following command
/scripts/fixquotas


Advanced Fix - other reasons quotas are not working

Step 1. Find the user account where the quotas are incorrect and login to your server in SSH as root.

Step 2. Go to the users folder and check their disk space being used.
cd /home/username
du -h or try du -hs

Step 3. Check /etc/passwd and /etc/shadow to make sure there is no weirdness where the username shows up multiple times.

Step 4. Try finding other files owned by the user.
find -user username | more
This will list all files owned by this user that could be affecting the quota reported by Cpanel.

Step 5. Uncompressed backups can cause quota problems, ensure your backups are compressed in the WHM backup options.

Step 6. After your determine the source of the files and remove them then run /scripts/fixquotas

We've covered the common ways accounts report invalid disk quotas with Cpanel. If the Quick Fix doesn't work then you'll need to do some digging through our Advanced Fix. Ask any questions in our forums!

  • Rating

    4/5

Related Articles

Comments (5)

  • Gravatar - Sam
    Sam 06:57, April 26, 2004
    This is not a complete tutorial, and following the above processes does not make reseller nameservers work. You have not included all steps needed in order for them to work.
  • Gravatar - Steve
    Steve 19:01, April 26, 2004
    Sam follow the related article link to Setting up Private Nameservers in Cpanel. This isn't mean to be a complete nameserver setup guide, just what you need for a reseller.
  • Gravatar - Brett
    Brett 11:51, May 30, 2004
    Not much help, this is pretty obvious. Problem I am having is WHM won't let you setup nameservers on one server when they are already being used on another server - so how the heck can you transfer a reseller client from one server to another when WHM won't let you assign an IP?
  • Gravatar - mohdjumah
    mohdjumah 21:33, July 31, 2004
    Its good but pls make another one which tell us how to setup a complete a reseller account A-Z. Thanks.
  • Gravatar - LJ
    LJ 20:06, December 30, 2004
    ok with custom name server the only way you can get thim is through ur hosting company

Add Your Thoughts

WebHostGear.com is a hosting directory, not a web host.

Copyright © 1998-2019 WebHostGear.com