Warning: count(): Parameter must be an array or an object that implements Countable in /www/wwwroot/mdaeo.org/usr/plugins/AMP/Action.php on line 388
Webmin/virtualmin不能登录,Bad file descriptor错误

Webmin/virtualmin不能登录,Bad file descriptor错误

2010-11-15T15:24:32

Webmin/virtualmin登录后出现错误:Failed to open /etc/webmin/module.infos.cache for writing : Bad file descriptor

怎么回事?说明磁盘无法写入文件。 在vps上测试如下:

[root@vps100 backup]# touch aa.txt
touch: cannot touch `aa.txt’: Disk quota exceeded  发现提示磁盘超出

[root@vps100 backup]# df -h 
Filesystem            Size  Used Avail Use% Mounted on
/dev/simfs             20G   14G  6.6G  68% /
none                  3.9G  4.0K  3.9G   1% /dev

测试发现磁盘占用68%,还有剩余。


[root@vps100 backup]# df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/simfs            400000  400000       0  100% /
none                 1019914      95 1019819    1% /dev

发现inode不够了,占用100%。删除一些没用的文件,恢复正常,或者联系主机商增加inode。

[root@vps100 host40]# df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/simfs            400000  321293   78707   81% /
none                 1019914      95 1019819    1% /dev

这时,webmin可以正常登录了

当前页面是本站的「Baidu MIP」版。发表评论请点击:完整版 »
因本文不是用Markdown格式的编辑器书写的,转换的页面可能不符合MIP标准。