Hello
I have just installed the latest CoreOS stable. I have not configured fleetd or anything like that. I only have 3 containers installed as local units.
My server has been up for 8 days and apparently has only logged messages for the first 3 days. The last 5 days have completely vanished. I noticed this when a systemctl status would not show any messages at all at the bottom.
One of the containers is a Nginx server that is configured to send all messages to stdout/err and I was supposed to keep all http logs, so this is quite bad.
- How can I repair the logs so that it starts logging again? I tried restarting systemd-journald, to no avail.
- Why would journalctl start dropping messages instead of opening a new log file or something like that? That's horrible!
This is the output of journalctl --verify:
PASS: /var/log/journal/afb231cca89d416b968c0625041b7aad/sys...@000512aa78f616fc-12f45fdc0951f873.journal~
PASS: /var/log/journal/afb231cca89d416b968c0625041b7aad/sys...@000512aa53773236-0f72287c155348a3.journal~
PASS: /var/log/journal/afb231cca89d416b968c0625041b7aad/sys...@000512aabfe309ae-fa02e2d324d3056a.journal~
1029a88: (null) decompression failed: Bad message
1029a88: invalid object contents: Bad message
File corruption detected at /var/log/journal/afb231cca89d416b968c0625041b7aad/system.journal:1029a88 (of 25165824 bytes, 67%).
FAIL: /var/log/journal/afb231cca89d416b968c0625041b7aad/system.journal (Bad message)
This is my /var/log/journal/*/ directory:
-rw-r----- 1 root systemd-journal 25165824 Apr 8 17:22 system.journal
-rw-r----- 1 root systemd-journal 16777216 Apr 1 14:13 sys...@000512aa53773236-0f72287c155348a3.journal~
-rw-r----- 1 root systemd-journal 8388608 Apr 1 14:24 sys...@000512aa78f616fc-12f45fdc0951f873.journal~
-rw-r----- 1 root systemd-journal 8388608 Apr 1 14:44 sys...@000512aabfe309ae-fa02e2d324d3056a.journal~
Please help!
Tobia