Shutdown logs

New to Debian (Or Linux in general)? Ask your questions here!

Shutdown logs

Postby Munty Scruntfundle » 2019-03-13 11:17

Hi folks.

I'm trying to track down a problem with a couple of debian boxes shutting down/resetting slowly. When it happens they're obviously finishing a process with io and network going on, but I can't work out what it is. It randomly affects identical nodes so I'm keen to work out what's going on.

Is there a shutdown/closing log that lists all the instructions to close services, processes, apps, kernel etc? I'm hoping to find something like "Tried to close...Tried to close..." Or a process that may be running on some nodes and not others. Although the latter doesn't make much sense as the problem is random.

Anyway...

Any ideas?

Thanks.
Munty Scruntfundle
 
Posts: 54
Joined: 2018-11-27 16:53

Re: Shutdown logs

Postby Head_on_a_Stick » 2019-03-13 18:42

Enable persistent logging with
Code: Select all
# mkdir /var/log/journal

Then check the logs for the previous boot with
Code: Select all
journalctl -b -1

See also https://freedesktop.org/wiki/Software/s ... /#index2h1
Don't break DebianHow to report bugs

SharpBang GNU/Linux® — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10695
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Shutdown logs

Postby pylkko » 2019-03-13 18:44

Munty Scruntfundle wrote:Is there a shutdown/closing log that lists all the instructions to close services, processes, apps, kernel etc?.


No, but you can filter the normal logs for info
User avatar
pylkko
 
Posts: 1597
Joined: 2014-11-06 19:02


Return to Beginners Questions

Who is online

Users browsing this forum: Gusto and 9 guests

fashionable