一个简单的journalctl
命令现在给了我这个错误
Journal file /var/log/journal/ad9213e031ec2a16399a42515988884e/user-1001@ae426ac82df44a8489f745ad63e8c9ea-000000000000215f-0005848bb1ab0334.journal uses an unsupported feature, ignoring file.
Use SYSTEMD_LOG_LEVEL=debug journalctl --file=/var/log/journal/ad9213e031ec2a16399a42515988884e/user-1001@ae426ac82df44a8489f745ad63e8c9ea-000000000000215f-0005848bb1ab0334.journal to see the details.
-- No entries --
当我调用推荐的命令时SYSTEMD_LOG_LEVEL=debug journalctl --file=/var/log/journal/ad9213e031ec2a16399a42515988884e/user-1001@ae426ac82df44a8489f745ad63e8c9ea-000000000000215f-0005848bb1ab0334.journal
,我得到
Journal effective settings seal=no compress=no compress_threshold_bytes=8B
Journal file /var/log/journal/ad9213e031ec2a16399a42515988884e/user-1001@ae426ac82df44a8489f745ad63e8c9ea-000000000000215f-0005848bb1ab0334.journal uses incompatible flag lz4-compressed disabled at compilation time.
Failed to open journal file /var/log/journal/ad9213e031ec2a16399a42515988884e/user-1001@ae426ac82df44a8489f745ad63e8c9ea-000000000000215f-0005848bb1ab0334.journal: Protocol not supported
mmap cache statistics: 0 hit, 1 miss
Failed to open files: Protocol not supported
journalctl --version
给
systemd 244 (244)
-PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS -ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS -KMOD -IDN2 -IDN -PCRE2 default-hierarchy=unified
看起来同一版本的 redhat 上有人遇到了同样的问题