gpt4 book ai didi

ubuntu - tail:执行tail -f时出现无法识别的文件系统类型错误

转载 作者:行者123 更新时间:2023-12-04 18:37:37 25 4
gpt4 key购买 nike

为什么在执行 -f 但不执行 --silent 和 --quite 时显示错误。
有什么区别。我搜索了每个地方,但没有发现差异?

root@<containerID>:/crowdLogistics/client/internal# tail --silent ../../logs/gunicorn_internal_client.log 
[2018-09-06 07:06:30 +0000] [69] [INFO] Starting gunicorn 19.6.0
[2018-09-06 07:06:30 +0000] [69] [INFO] Listening at: http://0.0.0.0:8080 (69)
[2018-09-06 07:06:30 +0000] [69] [INFO] Using worker: sync
[2018-09-06 07:06:30 +0000] [74] [INFO] Booting worker with pid: 74
[2018-09-06 07:06:30 +0000] [77] [INFO] Booting worker with pid: 77
[2018-09-06 07:06:30 +0000] [78] [INFO] Booting worker with pid: 78
[2018-09-06 07:06:30 +0000] [81] [INFO] Booting worker with pid: 81
[2018-09-06 07:06:30 +0000] [84] [INFO] Booting worker with pid: 84

root@<containerID>:/crowdLogistics/client/internal# tail --quiet ../../logs/gunicorn_internal_client.log
[2018-09-06 07:06:30 +0000] [69] [INFO] Starting gunicorn 19.6.0
[2018-09-06 07:06:30 +0000] [69] [INFO] Listening at: http://0.0.0.0:8080 (69)
[2018-09-06 07:06:30 +0000] [69] [INFO] Using worker: sync
[2018-09-06 07:06:30 +0000] [74] [INFO] Booting worker with pid: 74
[2018-09-06 07:06:30 +0000] [77] [INFO] Booting worker with pid: 77
[2018-09-06 07:06:30 +0000] [78] [INFO] Booting worker with pid: 78
[2018-09-06 07:06:30 +0000] [81] [INFO] Booting worker with pid: 81
[2018-09-06 07:06:30 +0000] [84] [INFO] Booting worker with pid: 84

root@<containerID>:/crowdLogistics/client/internal# tail -f ../../logs/gunicorn_internal_client.log
[2018-09-06 07:06:30 +0000] [69] [INFO] Starting gunicorn 19.6.0
[2018-09-06 07:06:30 +0000] [69] [INFO] Listening at: http://0.0.0.0:8080 (69)
[2018-09-06 07:06:30 +0000] [69] [INFO] Using worker: sync
[2018-09-06 07:06:30 +0000] [74] [INFO] Booting worker with pid: 74
[2018-09-06 07:06:30 +0000] [77] [INFO] Booting worker with pid: 77
[2018-09-06 07:06:30 +0000] [78] [INFO] Booting worker with pid: 78
[2018-09-06 07:06:30 +0000] [81] [INFO] Booting worker with pid: 81
[2018-09-06 07:06:30 +0000] [84] [INFO] Booting worker with pid: 84
tail: unrecognized file system type 0x794c7630 for ‘../../logs/gunicorn_internal_client.log’. please report this to bug-coreutils@gnu.org. reverting to polling

最佳答案

无论如何谢谢:) @VonC。我得到了解决方案。但这太暂时了。

在您的本地 docker 上按照这些说明操作,以使 tail 命令正常工作

cd /root
wget http://ftp.gnu.org/gnu/coreutils/coreutils-8.27.tar.xz && tar xf coreutils-8.27.tar.xz
export FORCE_UNSAFE_CONFIGURE=1
cd /root/coreutils-8.27 && ./configure \
--prefix=/root/coreutils \
--libexecdir=/root/coreutils/lib \
--enable-no-install-program=kill,uptime && make && make install

/root/coreutils/bin/tail -f «filename»

关于ubuntu - tail:执行tail -f时出现无法识别的文件系统类型错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52198621/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com