Failed to create virtual server : setquota:

When I try to create a new Virtual Server I am getting this error:

Failed to create virtual server : setquota: Quota file not found or has wrong format. setquota: Not all specified mountpoints are using quota.

Here is my fstab [root@vps ~]# cat /etc/fstab none /dev/pts devpts rw 0 0

This is on OpenVZ

Status: 
Active

Comments

Howdy -- what are the contents of your /etc/mtab file?

[root@vps ~]# cat /etc/mtab /dev/simfs / reiserfs rw,usrquota,grpquota 0 0 /proc /proc proc rw 0 0 /sys /sys sysfs rw 0 0 none /dev/pts devpts rw 0 0 none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0

I don't know if you can use Linux quotas on OpenVZ actually ..

So how do I turn it all off so that I can use virtualmin again?

I have disk quota disabled in webmin and still can't make a new virtual server :(

Go to System Settings -> Module Config , and change "Quota setup for domain and mail users?" to "No", then click Save. Then click the "Re-check Config" button.

Thank you thank you thank you!!!!!! :)

That fixed the issue and quotas section is now gone from system info page so the other sections below it now load.

I think I have found a bug though.

When I previously attempted to make a new virtual server and was stopped due to the quota issue virtualmin made an administration user for that new account but did not remove that user upon creation failure so when attempting to create again I get this error:

Failed to create virtual server : The specified administration user already exists

This was with a custom username.

Where do I need to remove that user so I can create the new virtual host? Is this just as simple as removing them from /etc/passwd?

Yes, you can just delete them from /etc/passwd , /etc/shadow and /etc/group .

This is probably easiest done at Webmin -> System -> Users and Groups.

Thanks for the help Jamie! Got me new domain added :)

dear

I solved it, modifying the file /etc/resolv.conf

add line :

nameserver 127.0.0.1

save and reboot