On Thu, Nov 20, 2014 at 12:41:29PM +0800, WANG Chao wrote:
On 11/19/14 at 11:51am, Vivek Goyal wrote:
Hi Chao,
On my F21 laptop I tried to start kdump service "systemctl start kdump" and it failed. I tried to figure out what's wrong and did "systemctl status kdump" but I don't see any messages there.
[vgoyal@localhost ~]$ systemctl status kdump.service ● kdump.service - Crash recovery kernel arming Loaded: loaded (/usr/lib/systemd/system/kdump.service; disabled) Active: failed (Result: exit-code) since Wed 2014-11-19 11:49:43 EST; 4s ago Process: 31725 ExecStart=/usr/bin/kdumpctl start (code=exited, status=1/FAILURE) Main PID: 31725 (code=exited, status=1/FAILURE)
Actually it works for me:
[chaowang@localhost ~]$ 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 Thu 2014-11-20 11:17:58 CST; 1min 21s ago Process: 719 ExecStart=/usr/bin/kdumpctl start (code=exited, status=1/FAILURE) Main PID: 719 (code=exited, status=1/FAILURE)
Nov 20 11:17:58 dhcp-17-95.nay.redhat.com kdumpctl[719]: No memory reserved for crash kernel. Nov 20 11:17:58 dhcp-17-95.nay.redhat.com systemd[1]: kdump.service: main process exited, code=exited, status=1/FAILURE Nov 20 11:17:58 dhcp-17-95.nay.redhat.com systemd[1]: Failed to start Crash recovery kernel arming. Nov 20 11:17:58 dhcp-17-95.nay.redhat.com systemd[1]: Unit kdump.service entered failed state. Nov 20 11:17:58 dhcp-17-95.nay.redhat.com systemd[1]: kdump.service failed. Nov 20 11:17:58 dhcp-17-95.nay.redhat.com kdumpctl[719]: Starting kdump: [FAILED]
Never mind chao. I had to do "sudo systemctl status kdump" to get logs too. So if one does it without priviliges, systemctl supresses logs.
Thanks Vivek