Failed to start Crash recovery kernel arming

+1 vote

Hi Guys,

I am trying to start kdump service in my local system. But it shows me the below error.

$ systemctl start kdump
Job for kdump.service failed. See 'systemctl status kdump.service' and 'journalctl -xn' for details.
$ systemctl status kdump.service
kdump.service - Crash recovery kernel arming
Loaded: loaded (/usr/lib/systemd/system/kdump.service; enabled)
Active: failed (Result: exit-code) since Wed 2014-06-11 10:34:48 CEST; 3min 10s ago
Process: 2259 ExecStart=/usr/bin/kdumpctl start (code=exited, status=1/FAILURE)
Main PID: 2259 (code=exited, status=1/FAILURE)
Jun 11 10:34:47 rhel7 systemd[1]: Starting Crash recovery kernel arming...
Jun 11 10:34:48 rhel7 kdumpctl[2259]: No memory reserved for crash kernel.
Jun 11 10:34:48 rhel7 kdumpctl[2259]: Starting kdump: [FAILED]
Jun 11 10:34:48 rhel7 systemd[1]: kdump.service: main process exited, code=exited, status=1/FAILURE
Jun 11 10:34:48 rhel7 systemd[1]: Failed to start Crash recovery kernel arming.
Jun 11 10:34:48 rhel7 systemd[1]: Unit kdump.service entered failed state.

How can I solve this error?

May 11, 2020 in Linux Administration by akhtar
• 38,260 points
17,516 views

1 answer to this question.

0 votes

Hi@akhtar,

To avoid this error you can follow these below given steps.

  • To use the kdump service, you must have the kexec-tools package installed. If not already installed, install the kexec-tools.

$ yum install kexec-tools
  • Configuring Memory Usage in GRUB2. To configure the amount of memory that is reserved for the kdump kernel, modify /etc/default/grub and modify GRUB_CMDLINE_LINUX , set crashkernel=[size] parameter to the list of kernel options.

GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=centos/swap vconsole.font=latarcyrheb-sun16 rd.lvm.lv=centos/root crashkernel=512M  vconsole.keymap=us rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
  • Run the below given command to regenerate grub configuration.

$ grub2-mkconfig -o /boot/grub2/grub.cfg
  • Reboot the system to make the kernel parameter effect.

  • Configuring Dump Location at /etc/kdump.conf file and set the below given lines.

path /usr/local/cores
nfs my.server.com:/export/tmp
core_collector makedumpfile -c
default halt
  • start the service in the current session, use the following command.

$ systemctl start kdump.service

Hope this will help.

Get your Linux certification today to become certified.

Thanks.

answered May 11, 2020 by MD
• 95,460 points
Thank You .. Resolved

Related Questions In Linux Administration

0 votes
1 answer

Error saying "Failed to start httpd.service: Unit httpd.service not found."

Execute the following steps or make sure ...READ MORE

answered May 14, 2019 in Linux Administration by Kiara
37,858 views
0 votes
1 answer

Error: Failed to download metadata for repo 'epel-modular'

Hi@akhtar, Before running dnf repolist command, try to ...READ MORE

answered Jun 22, 2020 in Linux Administration by MD
• 95,460 points
6,018 views
0 votes
1 answer

How to display a simple list of all disks, like this /dev/sda /dev/sdb ?

You can list all the disk in ...READ MORE

answered Jul 12, 2018 in Linux Administration by DearestOne
• 200 points
5,430 views
0 votes
1 answer
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
1,152 views
+6 votes
17 answers

What are job opportunities as a Linux System Administrator?

I just started working professionally as a ...READ MORE

answered Jul 19, 2018 in Career Counselling by eatcodesleeprepeat
• 4,710 points
11,232 views
0 votes
1 answer

setting a variable output from a bash command

You can use $(command), which in my ...READ MORE

answered Feb 15, 2019 in Linux Administration by DareDev
• 6,890 points
2,473 views
0 votes
1 answer

Failed to start httpd.service: Unit httpd.service is masked.

Hi@akhtar, A masked service is used to prevent ...READ MORE

answered Apr 23, 2020 in Linux Administration by MD
• 95,460 points
14,180 views
0 votes
1 answer

Failed to start the Apache service

Hi@akhtar, I think port no. is busy. Some ...READ MORE

answered Jun 22, 2020 in Linux Administration by MD
• 95,460 points
6,017 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP