journalctl --verify コマンドを実行すると "FAIL: /var/log/journal/<journaldir>/user-<uid>.journal (Bad message) " メッセージが表示される

Solution Unverified - Updated -

Issue

  • journalctl コマンドにて "--verify" オプションでジャーナルファイルを検証すると、一部のファイルが破損していると表示されます。

    # journalctl --verify
    Error was encountered while opening journal files:Invalid argument
    PASS:/var/log/journal/7f05594d144642409bdc68efc5295853/system.journal
    000000: missing entry array
    File corruption detected at /var/log/journal/7f05594d144642409bdc68efc5295853/user-6106.journal:000000 (of 8388608 bytes, 0%).
    FAIL:/var/log/journal/7f05594d144642409bdc68efc5295853/user-6106.journal (Bad message)
    ...
    
  • /var/log/journal ファイル/メッセージが破損しているのはなぜですか?

Environment

  • Red Hat Enterprise Linux (RHEL) 7.0 ~ 7.2
  • systemd-219-19 以前

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.