admin 发表于 2023-3-2 19:25:49

DirectAdmin新建用户提示无法指定用户配额的解决方法

<p>在部分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下解决该问题呢?</p>
<p>编辑文件</p>
<pre>vi /etc/fstab</pre>
<p>SSH执行以上命令或找到该路径,修改fstab文件;</p>
<p>找到“defaults,noatime,errors=remount”这一行,将其按格式替换为“<strong>defaults,usrquota,grpquota</strong>”。</p>
<p>替换完毕后保存,并再次新建帐户,如果替换正确,问题解决。</p>
                                        <p class="post-copyright">未经允许不得转载:<ahref="https://www.wangchao.info/">王超博客</a> &raquo; <ahref="https://www.wangchao.info/744.html">DirectAdmin新建用户提示无法指定用户配额的解决方法</a></p>
页: [1]
查看完整版本: DirectAdmin新建用户提示无法指定用户配额的解决方法