webmin开新网站/创建虚拟服务器失败setquota: Quota file not found

如果你在webmin后台,开新网站/创建服务器遇到如下提示,恭喜,你找对教程了。


创建虚拟服务器失败 : setquota: Quota file not found or has wrong format. setquota: Not all specified mountpoints are using quota.

可能你会不甘心,重新来一次,提示不同了:

创建虚拟服务器失败 : A unix user named ctohome.com already exists

这次是提示用户已经存在,那么我们去 webmin->系统->用户与组群 删除用户,又有新提示:

delete-user.png


Failed to delete users : setquota: Cannot set quota for user 500 from kernel on /dev/simfs: No such process setquota: Can’t write quota for 500 on /dev/simfs: No such process

在webmin/virtualmin面板删除用户也不行,只好在ssh里面用 userdel username 来删除用户了。

重复开网站,还是一样的quota错误,接下来怎么办?

解决办法:

需要取消磁盘限额! 取消quota

看图:

disable-quota.png


然后再SSH删除掉刚才测试的用户和目录,重新开网站就可以了。

全部操作完以后,还要重新验证一下Virtualmin的配置,然后就可以了。

原文地址:https://www.cnblogs.com/youlechang123/p/2756139.html