kdump.service required key not available error

Issues related to applications and software problems and general support
Post Reply
lassebingbong
Posts: 2
Joined: 2020/12/24 12:27:51

kdump.service required key not available error

Post by lassebingbong » 2020/12/24 12:57:02

Hi

The kdump.service on my CentOS v8.3, updated some days go, does not start.

When executing

Code: Select all

systemctl status kdump
it shows:

Code: Select all

● kdump.service - Crash recovery kernel arming
   Loaded: loaded (/usr/lib/systemd/system/kdump.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2020-12-24 13:51:23 CET; 2min 54s ago
  Process: 3555 ExecStart=/usr/bin/kdumpctl start (code=exited, status=1/FAILURE)
 Main PID: 3555 (code=exited, status=1/FAILURE)

Dec 24 13:51:20 ovirt-node-02.hospites.local dracut[4455]: *** Squashing the files inside the initramfs ***
Dec 24 13:51:22 ovirt-node-02.hospites.local dracut[4455]: *** Squashing the files inside the initramfs done ***
Dec 24 13:51:22 ovirt-node-02.hospites.local dracut[4455]: *** Creating image file '/boot/initramfs-4.18.0-193.19.1.el8_2.x86_64kdump.img' ***
Dec 24 13:51:23 ovirt-node-02.hospites.local dracut[4455]: *** Creating initramfs image file '/boot/initramfs-4.18.0-193.19.1.el8_2.x86_64kdump.img' done ***
Dec 24 13:51:23 ovirt-node-02.hospites.local kdumpctl[3555]: kexec_file_load failed: Required key not available
Dec 24 13:51:23 ovirt-node-02.hospites.local kdumpctl[3555]: kexec: failed to load kdump kernel
Dec 24 13:51:23 ovirt-node-02.hospites.local kdumpctl[3555]: Starting kdump: [FAILED]
Dec 24 13:51:23 ovirt-node-02.hospites.local systemd[1]: kdump.service: Main process exited, code=exited, status=1/FAILURE
Dec 24 13:51:23 ovirt-node-02.hospites.local systemd[1]: kdump.service: Failed with result 'exit-code'.
Dec 24 13:51:23 ovirt-node-02.hospites.local systemd[1]: Failed to start Crash recovery kernel arming.
This happened after installing updates. I don't know what exactly happened, as I ran updates through the oVirt https://www.ovirt.org/ management interface and that had the server rebooted automatically.

The system is not using UEFI, verified by executing `mokutil sb-state`, which outouts: `EFI variables are not supported on this system`

My Grub2 (must be Grub2 right, a litt n00bie here...bare with it), shows this:
Screenshot 2020-12-24 at 13.47.56.png
Screenshot 2020-12-24 at 13.47.56.png (55.56 KiB) Viewed 488 times
I'm unsure how-to solve it. Any advise will be highly regarded.

Thank you very much and feel free to ask for more info if needed.

User avatar
TrevorH
Forum Moderator
Posts: 30646
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: kdump.service required key not available error

Post by TrevorH » 2020/12/24 13:09:07

Do you actually need the kdump service at all? Most do not.
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

lassebingbong
Posts: 2
Joined: 2020/12/24 12:27:51

Re: kdump.service required key not available error

Post by lassebingbong » 2020/12/25 14:59:44

Hi @TrevorH,

Thank you for your reply. As it is a server it would be great if dumps could happen. It's not highly required, but the other servers in my oVirt "farm" have it running fine, so I would like to avoid this server being the odd one out.

Thank you

User avatar
TrevorH
Forum Moderator
Posts: 30646
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: kdump.service required key not available error

Post by TrevorH » 2020/12/25 15:29:35

Be aware that since this is CentOS, no-one will ever look at your kdumps if you ever do take any. So that means you would need to know how to use them for them to be even remotely useful. Personally I think it's just a waste of RAM that could be better used for something better.
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

rfs
Posts: 7
Joined: 2014/08/18 09:55:17

Re: kdump.service required key not available error

Post by rfs » 2021/04/19 16:10:24

lassebingbong: Did you solve this ? If you did, I would be interested in the solution.

Thanks, Roger.

Post Reply

Return to “CentOS 8 - General Support”