kdumpctl[123]: Could not open initrd file /boot/initramfs-xxx.kdump.img:Permission denied
Issue
- Kdump service failed to start with error:
Could not open initrd file /boot/initramfs-3.10.0-1160.62.1.el7.x86_64kdump.img:Permission denied
# systemctl status kdump
kdump.service - Crash recovery kernel arming
Loaded: loaded (/usr/lib/systemd/system/kdump.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2022-06-03 15:51:28 UTC; 30s ago
Process: 5031 ExecStart=/usr/bin/kdumpctl start (code=exited, status=1/FAILURE)
Main PID: 5031 (code=exited, status=1/FAILURE)
Jun 03 15:51:24 xxxx systemd[1]: Starting Crash recovery kernel arming...
Jun 03 15:51:28 xxxx kdumpctl[5031]: Secure Boot is enabled. Using kexec file based syscall.
Jun 03 15:51:28 xxxx kdumpctl[5031]: Could not open initrd file /boot/initramfs-3.10.0-1160.62.1.el7.x86_64kdump.img:Permission denied
Jun 03 15:51:28 xxxx kdumpctl[5031]: Cannot load /boot/vmlinuz-3.10.0-1160.62.1.el7.x86_64
Jun 03 15:51:28 xxxx kdumpctl[5031]: kexec: failed to load kdump kernel
Jun 03 15:51:28 xxxx kdumpctl[5031]: Starting kdump: [FAILED]
Jun 03 15:51:28 xxxx systemd[1]: kdump.service: main process exited, code=exited, status=1/FAILURE
Jun 03 15:51:28 xxxx systemd[1]: Failed to start Crash recovery kernel arming.
Jun 03 15:51:28 xxxx systemd[1]: Unit kdump.service entered failed state.
Jun 03 15:51:28 xxxx systemd[1]: kdump.service failed.
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.