Journalctl执行报错
原因:
日志文件损坏,删除之前的日志
[root@172 admin]# journalctl
Error was encountered while opening journal files: Input/output error
解决方法:
rm -rf /var/log/journal/*
然后可以通过重启systemd-journald服务重新生成:
systemctl restart systemd-journald%
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.