最近,我们在RHEL服务器上获得了许多内核消息,如下所示:
[Mon Oct 4 11:33:32 2021] EXT4-fs error (device sdb): htree_dirblock_to_tree:914: inode #397095: block 1585151: comm du: bad entry in directory: rec_len is smaller than minimal - offset=0(4096), inode=0, rec_len=0, name_len=0
因此,我们用fsck选项(当然是在umount之后)来嘲讽,自动运行-a。
$ fsc
我刚刚使用conda create --name py35 python=3.5 anaconda将Python3.5添加到了anaconda的环境中
我将anaconda的bin、envs和py35的路径依次添加到PATH变量中,但没有任何效果。
我总是得到相同的错误:
>>> source activate py35
activate: No such file or directory.
>>> activate py35
Error: activate must be sourced. Run 'source activate envname
当我试图在Ubuntu18.04恢复模式上运行fsck时,我得到了以下消息。有人能告诉我为什么吗?
/lib/recocery-mode/recovery-menu: line 80: /etc/default/rcS: No such file or directory
fsck from util-linux 2.31.1
/dev/sda4 is mounted
e2fsck: Cannot continue, aborting.