cPanel/WHM sometimes has problems with the user quota files of disk space in use. Your customers doesn’t show a real of actual disk space in they cPanel, this tutorial will explain how to cpanel fix user quota with easy.
Fixing critical user quota problem in cPanel using command /scripts/fixquotas on Linux and FreeBSD machine.
– 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
1. Login as root user into your server through SSH.
2. Run the command: /scripts/fixquotas
1. Login to your server with SSH as root user, find the user account where the quotas are incorrect.
2. Go to the users folder
Command : cd /home/username
3. Check their disk space being used.
Command : du -h -> You will view list of folders / files
Command : du -hs -> You will view total of disk space being used
3. Make sure there is no multiple times username shows on folder /etc/passwd and /etc/shadow
Command : vi /etc/passwd
Command : vi /etc/shadow
4. Finding other files owned by the user.
Command : find -user username | more
5. Uncompressed backups can cause quota problems, ensure your backups are compressed in the WHM backup options.
6. After your determine the source of the files and remove them
Run Command : /scripts/fixquotas
If the Quick Fix doesn’t work then you’ll need Advanced Fix. Call your server sysadmin expert.