bartender
Posts: 42
Joined: Wed Sep 26, 2012 8:19 pm

system.journal corrupted

Tue Jan 22, 2013 9:10 am

There's an issue which appears right after clean install and update (pacman -Syu).
During boot you see this message:

Code: Select all

[   36.591060] systemd-journald[168]: File <...>/system.journal corrupted or uncleanly shut down, renaming and replacing.
(pasted from https://bbs.archlinux.org/viewtopic.php?id=150442&p=1)

Should we be concerned about it? I don't notice anything being missing from journal.

Also, since Pi doesn't have RTC, how does journalctl sort the lines? The output of "journalctl" has "Reboot" delimeter in weird places. If I launch "journalctl -b", the output is much more sane. Maybe it's the reason why syslong-ng is enabled by default.

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: system.journal corrupted

Tue Jan 22, 2013 10:29 am

I have spent many hours looking at this. There is no specific way of fixing, some have said changing media can fix, but it's harmless.
syslog-ng files are a bit easier to look thru, everything.log will have a cron entry every hour if things are ok
I got a fakeclock (not packaged) which puts date at last everything.log entry. I guess this might be good for model A?

mnemonic
Posts: 7
Joined: Tue Apr 18, 2017 5:17 pm

Re: system.journal corrupted

Tue Apr 18, 2017 6:12 pm

I have same problem here...

..."File <...>/system.journal corrupted or uncleanly shut down, renaming and replacing." in dmesg

I think it is a bug in systemd...

Return to “Arch”