These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for setquota: Quota file not found or has wrong format [AGAIN] on the new forum.
I am now receiving the following error whenever I try to modify any user email accounts on all domains, also these accounts don't seem to be receiving emails:
Failed to save mailbox : setquota: Quota file not found or has wrong format. setquota: Not all specified mountpoints are using quota.
Problem is I can't even delete the account and re-add it as I get a similar error.
Help !!!!!!
P
Here's the webmin log file,
Solution: repquota -uga
Glad you got it! Thanks for posting your solution.
-Eric
Hi;
This problem has returned again, I am guessing that there's a cron job running either on my VPS or on the host server that is breaking my system.
Disk Quotas is not enabled in Webmin, well I assume it is as the only option I have under that menu is " Enable Quotas". When I run the command to fix the problem, switching off quotas with quotaoff -a throws and error as below, but this might be because quotas is not enabled in webmin ?!
I don't really need quotas, so in Module Config, I have set "Quota setup for domain and mail users?" to no, but how do I completely disable quotas, and what might the recurring cause of this be ??
I have a suspicion that although quotas is disabled in webmin, virtualmin may assume that it's enabled, and is trying to work without the necessary files etc, but I must admit I'm not really sure what's going on.
P
Oh dear, something else is broken as well, none of the emails are making it to the mailboxes:
Help !!!
Some VPS's rewrite /etc/fstab each time they reboot... if that's the case, it's possible the usrquota and grpquota definitions in there are getting lost.
What do your /etc/fstab and /etc/mtab files look like?
-Eric
Hi;
Here's the output of my /etc/fstab:
I have turned off quotas in Virtualmin, so I just can't understand why this problem is recurring.
If I try to enable quotas in WEBMIN I get the folowing error:
quotaon: using //aquota.user on /dev/simfs [/]: Permission denied
Is there anyway to completely disable file quotas, other than to just disable it through virtualmin as I have already done ??
P
I am also getting the following errors when I validate the servers:
When you say you turned off quotas through Virtualmin, how did you go about doing that?
-Eric
I'm not really sure what's going on with your quota's there. Is that your full fstab file you're listing there? Someone had suggested you may be running on OpenVZ, so perhaps it is...
Also, could you post a copy of your /etc/mtab file?
As far as disabling quotas goes -- you should be able to do that by going into Webmin -> System -> Disk Quotas, and click the "Disable Quotas" link on the right.
However, quotas should -- in theory -- work, so I'd like to think we could figure out what's going on for you if you'd like to continue troubleshooting it.
-Eric
quota problems :
quotaoff /partition cp -au /partition/aquota.* /temp rm -rf /partition/aquota.* quotacheck -vgum /partition quotaon /partition
this will fix it.
Example fstab Note : /dev/sdb1 /home ext3 grpquota,usrquota,rw 0 2
seemed to "fix" itself after a reboot.
we'll see how this comes along...