My Oracle Support Banner

Oracle Linux: The command "journalctl --list-boots --no-pager" deletes the last boot id after every reboot or crash (Doc ID 2637158.1)

Last updated on MARCH 04, 2020

Applies to:

Linux OS - Version Oracle Linux 7.7 with Unbreakable Enterprise Kernel [4.14.35] and later
Linux x86-64

Symptoms

After reboot or crash the server journalctl --list-boots --no-pager deletes the previous entry of the boot id

# initial history
sudo journalctl --list-boots --no-pager
-1 5e475771a0de471ca514c71b14746f96 Sat 2020-01-25 18:24:25 EST—Wed 2020-02-05 20:10:39 EST
0 686b8fac65da48c287d852301a6894bb Wed 2020-02-05 20:10:53 EST—Wed 2020-02-05 20:17:16 EST * this history would disapear
# simulate a crash or reboot the server
#after relogin, 
# journal history lost one entry
sudo journalctl --list-boots --no-pager
-1 5e475771a0de471ca514c71b14746f96 Sat 2020-01-25 18:24:25 EST—Wed 2020-02-05 20:10:39 EST
0 5fc92f1829d241ed93a16dbb9bbfebd2 Wed 2020-02-05 20:17:46 EST—Wed 2020-02-05 20:18:33 EST 

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.