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 SEPTEMBER 22, 2021
Applies to:
Linux OS - Version Oracle Linux 7.7 with Unbreakable Enterprise Kernel [4.14.35] and laterLinux 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 |