Kdump service fails to start in RHEL 7 with error message "The specified dump target needs makedumpfile "-F" option"

Solution Verified - Updated -

Issue

  • Kdump service fails to start when using ssh in RHEL 7
# kdumpctl restart
kexec: unloaded kdump kernel
Stopping kdump: [OK]
WARNING: '/home/test/.ssh/id_rsa' doesn't exist, using default value '/root/.ssh/kdump_id_rsa'
Detected change(s) in the following file(s):

  /etc/kdump.conf
Rebuilding /boot/initramfs-3.10.0-229.11.1.el7.x86_64kdump.img
The specified dump target needs makedumpfile "-F" option.
mkdumprd: failed to make kdump initrd
Starting kdump: [FAILED]

Environment

  • Red Hat Enterprise Linux 7
  • kexec-tools

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content