Common reasons for quota problems in cPanel and its fix

1.       There are files owned by the same user elsewhere on the server
2.       The backup directory is being counted towards the users disk quota
3.       Extra log files are being counted towards the users quota
4.       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 he 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.
 

Comments

Popular Posts

Install and configure rsyslog Centralized logging server in CentOS

How to fix postfix/smtp Network is unreachable error

Could not join realm: Necessary packages are not installed: sssd-tools sssd libnss-sss libpam-sss adcli