Submitted by velvetpixel on Sat, 02/20/2010 - 16:48
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
Submitted by andreychek on Sat, 02/20/2010 - 18:52 Comment #1
Howdy -- what are the contents of your /etc/mtab file?
Submitted by velvetpixel on Sat, 02/20/2010 - 19:03 Comment #2
[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
Submitted by JamieCameron on Sat, 02/20/2010 - 21:04 Comment #3
I don't know if you can use Linux quotas on OpenVZ actually ..
Submitted by velvetpixel on Sat, 02/20/2010 - 21:20 Comment #4
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 :(
Submitted by JamieCameron on Sun, 02/21/2010 - 01:16 Comment #5
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.
Submitted by velvetpixel on Sun, 02/21/2010 - 14:06 Comment #6
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?
Submitted by JamieCameron on Sun, 02/21/2010 - 19:22 Comment #7
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.
Submitted by velvetpixel on Sun, 02/21/2010 - 20:10 Comment #8
Thanks for the help Jamie! Got me new domain added :)
Submitted by jose1310 on Thu, 04/11/2019 - 21:15 Comment #9
dear
I solved it, modifying the file /etc/resolv.conf
add line :
nameserver 127.0.0.1
save and reboot