WHM is not showing correct or unlimited quota for accounts

HostRipples Linux and windows VPS hosting discussion and support related issues with their solutions
hrdedicated
Site Admin
Posts: 50
Joined: Thu May 30, 2013 10:28 pm

WHM is not showing correct or unlimited quota for accounts

Postby hrdedicated » Sat Jun 01, 2013 7:49 am

Quotas is not working on a cpanel VPS.

Error :

root@server [~]# /scripts/fixquotas
Installing Default Quota Databases……Done
Quotas are now on
Resetting quota for abc to 2084 M
edquota: Quota file not found or has wrong format.
No filesystems with quota detected.




Fix :

1. Make sure that "Quota" is enabled for all accounts in WHM.

2. Check the disk usage.
root@server [~]# df -h
root@server [~]# df -i

3. Enter the following command to check quota :

root@server [~]# quotacheck -vm /dev/simfs [Check the mount point with mount command. Some times it may be /dev/sda1,/dev/sda2 etc]

quotacheck: Scanning /dev/simfs [/] quotacheck: Cannot stat old user quota file: No such file or directory
quotacheck: Cannot stat old group quota file: No such file or directory
done
quotacheck: Checked 12082 directories and 143647 files
quotacheck: Old file not found.

4. Check the permissions for the /aquota.user file.
root@server [~]# ll /aquota.user

Permission should be 744 for /aquota.user

root@server [~]# chmod 744 /aquota.user

5. Enter /scripts/fixquotas now, it should run without errors.

6. Now check quota for any account in WHM.



Regards,

Return to “VPS Hosting - Virtual Private Servers Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest