Problems with journalctl

Ed Greshko ed.greshko at greshko.com
Thu Jun 18 09:20:33 UTC 2015


On 06/18/15 16:45, Dave Cross wrote:
> It appears that journalctl isn't set up correctly on my system. It
> doesn't seem to be registering each boot correctly.
>
> $ journalctl --list-boots
>  0 67279b3d530040d997694f7fc89ec7de Thu 2015-03-19 07:04:29 GMT—Sat 2015-03-21 1
>
> And I've rebooted the system many, many times since March.
>
> Also:
>
> $ journalctl -b -1
> Failed to look up boot -1: Cannot assign requested address
>
> I have a /var/log/journal directory
>
> $ ls -l /var/log/journal
> total 28
> drwxr-sr-x+ 2 root systemd-journal 20480 Jun 18 09:34
> cbed8c34efb340afbf91f264e57b8278
>
> And (somewhere) log data has been kept back to December 2012.
>
> $ journalctl
> -- Logs begin at Fri 2014-12-12 07:55:40 GMT, end at Thu 2015-06-18
> 09:44:18 BST. --
> ...
>
> I'd like to be able to see all of the system boots and easily access
> logs from a particular boot.
>
> Any suggestions as to how I can fix this problem?

I have no suggestion as to how to fix this....but I will say I'm now notice something similar...

-4 69ffd60eab5d4724a2f80c66ad6e6ff5 Thu 2015-03-26 08:26:10 CST—Thu 2015-04-02 0

-3 fc2edbbbf1194af3b710f654a5f94618 Thu 2015-04-02 08:27:06 CST—Sun 2015-04-05 1

-2 d23797f203454dcabb6513fd62142477 Fri 2015-05-15 09:44:40 CST—Mon 2015-05-18 1

-1 6720637454a64a4b9374a6a359d3e51d Mon 2015-05-18 10:34:52 CST—Tue 2015-05-19 0

0 029735aa965b4f82aa77b89e9cefa1da Tue 2015-05-19 07:47:16 CST—Wed 2015-05-20 0


But I have booted many times since 2015-05-19 and yet I do find previous boots like so....

[root at meimei ~]# journalctl -b -3 | more

-- Logs begin at Sun 2013-08-18 10:45:50 CST, end at Thu 2015-06-18 17:16:31 CST.

Jun 16 09:46:48 meimei systemd-journal[124]: Runtime journal is using 8.0M (max allowed 398.6M, trying to leave 598.0M free of 3.8G available → current limit 398.6M).

Jun 16 09:46:48 meimei systemd-journal[124]: Runtime journal is using 8.0M (max allowed 398.6M, trying to leave 598.0M free of 3.8G available → current limit 398.6M).

Jun 16 09:46:48 meimei kernel: CPU0 microcode updated early to revision 0x7, date



-- 
Sorta what I want to say when folks habitually complain about Fedora - https://youtu.be/ZArl8fTfub4


More information about the users mailing list