You are not logged in.

#1 2013-08-10 20:39:28

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

How to read messages on the console at shutdown.

When I shut down my computer, I have a message that says something like "Failed to connect to the D-Bus service".  But my first problem is to be able to properly read the shutdown messages that appears on the console. I see no trace of them nowhere (journalctl, etc.) and I find no way to interrupt the boot process before the actual shutdown, leaving me no time to read them. So my first question for the moment is to be able to properly read this message that I will try to investigate when I have it.

Offline

#2 2013-08-10 20:47:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to read messages on the console at shutdown.

https://bbs.archlinux.org/viewtopic.php?pid=1287719

Edit: You say you did look in the journal - what was the exact command you used?

Last edited by karol (2013-08-10 20:53:49)

Offline

#3 2013-08-10 21:02:38

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: How to read messages on the console at shutdown.

karol wrote:

Edit: You say you did look in the journal - what was the exact command you used?

I have used journalctl (or journalctl --full). But I managed to get the message with the Ctrl-S trick. It was "systemd-cgroups-agent [4624]: Failed to get D-Bus connection...". I suppose it is related to the fact that I boot my system with the noautogroup option (I want the plain simple "nice" command to work). I suppose it is harmless.

Edited: The error persits even when I boot without the noautogroup option, it seems the same as: https://bbs.archlinux.org/viewtopic.php?pid=1273259

Last edited by olive (2013-08-10 21:11:43)

Offline

#4 2013-08-10 21:44:10

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: How to read messages on the console at shutdown.

I think the journal will give you more info anyway, but I kind of remember when I use "halt" to shut the machine down, the messages don't get cleared from the screen.

Offline

#5 2013-08-10 21:50:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to read messages on the console at shutdown.

WonderWoofy wrote:

I kind of remember when I use "halt" to shut the machine down, the messages don't get cleared from the screen.

Yup, I think that's generally the easiest and smartest way to do it, but if there are many messages printed, the ones we're after may disappear from the screen and since the system is halted we can't scroll back.

Offline

Board footer

Powered by FluxBB