安装DirectAdmin在创建用户时会提示错误:setquota: Mountpoint (or device) / not found
991 人阅读 | 时间:2020年03月16日 23:15
在部分CentOS系统全新安装DirectAdmin后,在创建用户时会提示以下错误:setquota: Mountpoint (or device) / not found or has no quota enabled. setquota: Not all specified mountpoints are using quota.官方也有在下方给出一个解决方案:http://help.directadmin.com/item.php?id=42,但它适用于FreeBSD。如何在CentOS下解决该问题呢?
一、编辑文件
SSH执行以上命令或找到该路径,修改fstab文件
二、修改错误的参数
找到“defaults,noatime,errors=remount”这一行,将其按格式替换为“defaults,usrquota,grpquota”,具体格式请参考上下配图。
替换完毕后保存,并再次新建帐户,如果替换正确,问题解决。
评论专区