Problems with journalctl

Dave Cross davorg at gmail.com
Thu Jun 18 08:45:55 UTC 2015


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?

Thanks,

Dave...

-- 
Dave Cross :: dave at dave.org.uk
http://dave.org.uk/
@davorg


More information about the users mailing list