I want to investigate why my machine suddenly rebooted but I am not finding the core file.

My machine has RH 7 and kdump installed:

rpm -qa | grep kexec-tools

However, I cant find the core file under /var

  find /var -name core

Is it possible that the core file was not created regarding the reboot problem?

And why was the core file not created under /var in spite of the kdump service being installed?

1 Answer 1


kernel core file are created upon a kernel panic. That is some code in kernel goes wrong (common faults are a division by 0 and index out of bound in an array). User space program will generate core on same condition. However, not all reboot will generate core.

If you can afford to reboot your host, you might try

echo b > /proc/sysrq-trigger

this will reboot the host in no time, without any usefull comment on any log files.

Knowing why a host rebooted is a long and uncertain quest. Start by searching /var/log's files.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.