LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-12-2018, 04:02 AM   #1
avihuh
LQ Newbie
 
Registered: Dec 2016
Posts: 19

Rep: Reputation: Disabled
kdump not generating vmcore log


i've a virtualbox Red Hat 7, I installed kdump and configured all necessary

kdump.conf:

Code:
#raw /dev/vg/lv_kdump
#ext4 /dev/vg/lv_kdump
#ext4 LABEL=/boot
#ext4 UUID=03138356-5e61-4ab3-b58e-27507ac41937
#nfs my.server.com:/export/tmp
#ssh user@my.server.com
#sshkey /root/.ssh/kdump_id_rsa
path /var/crash
core_collector makedumpfile -l --message-level 1 -d 31
#core_collector scp
#kdump_post /var/crash/scripts/kdump-post.sh
#kdump_pre /var/crash/scripts/kdump-pre.sh
#extra_bins /usr/bin/lftp
#extra_modules gfs2
#default shell
#force_rebuild 1
#force_no_rebuild 1
#dracut_args --omit-drivers "cfg80211 snd" --add-drivers "ext2 ext3"
#fence_kdump_args -p 7410 -f auto -c 0 -i 10
#fence_kdump_nodes node1 node2
grub.conf:

Code:
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=rhel/root rd.lvm.lv=rhel/swap crashkernel=auto rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
fstab:

Code:
# /etc/fstab
# Created by anaconda on Thu Oct 11 09:33:51 2018
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/rhel-root   /                       xfs     defaults        0 0
UUID=8403e4b4-6495-4d18-9e5b-5fb26335a223 /boot                   xfs     defaults        0 0
/dev/mapper/rhel-swap   swap                    swap    defaults        0 0
kdump status:
Code:
 ● kdump.service - Crash recovery kernel arming
   Loaded: loaded (/usr/lib/systemd/system/kdump.service; enabled; vendor preset: enabled)
   Active: active (exited) since Fri 2018-10-12 11:32:19 IDT; 16min ago
  Process: 1070 ExecStart=/usr/bin/kdumpctl start (code=exited, status=0/SUCCESS)
 Main PID: 1070 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/kdump.service

Oct 11 21:39:46 localhost.localdomain systemd[1]: Starting Crash recovery ker...
Oct 12 11:32:19 localhost.localdomain kdumpctl[1070]: kexec: loaded kdump kernel
Oct 12 11:32:19 localhost.localdomain kdumpctl[1070]: Starting kdump: [OK]
Oct 12 11:32:19 localhost.localdomain systemd[1]: Started Crash recovery kern...
Hint: Some lines were ellipsized, use -l to show in full.
when I crash the kernel with :

Code:
echo 1 > /proc/sys/kernel/sysrq
echo c > /proc/sysrq-trigger
the virtualbox stuck no automatic reboot or any terminal output, after a few second im rebooting the virtualbox manually when i check the /var/crash no output inside

please advice
 
Old 10-12-2018, 10:08 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
What does RedHat say? You do have a subscription, right?
 
Old 10-13-2018, 01:39 AM   #3
avihuh
LQ Newbie
 
Registered: Dec 2016
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by scasey View Post
What does RedHat say? You do have a subscription, right?
No I don’t .
 
Old 01-02-2019, 03:49 AM   #4
catter95
LQ Newbie
 
Registered: Jan 2019
Posts: 1

Rep: Reputation: Disabled
Did you find a solution?

Quote:
Originally Posted by avihuh View Post
No I don’t .
I have the same problem too and really wonder why..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
generating k permutations of a series and then generating all possible binary trees from them jamesbon Programming 5 09-27-2018 12:42 AM
I would i know in detail about kdump and vmcore vivekbanduni Linux - Enterprise 3 09-01-2015 06:25 AM
Difference between kdb kdump and SysRq kdump Saleemmalik Linux - Newbie 1 11-26-2014 07:05 AM
Generating apache log reports with specific format enid Linux - Server 9 10-13-2011 02:45 AM
vmcore question mokku Linux - Newbie 1 07-15-2008 10:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration