My computer doesn't shutdown completely
Ralf Mardorf
silver.bullet at zoho.com
Sun Jan 3 11:40:20 UTC 2016
On Sun, 3 Jan 2016 12:27:27 +0100, Ralf Mardorf wrote:
>Take a look at the log files were stopping services, unmounting or
>anything else hung.
>
>journalctl -r -b -1
> ^^ change this number, until you found a boot that
> didn't finish
>
>-1 is for the last, not the current boot, IOW showing the last
>shutdown. On my machine the order is a mess, since I sometimes use
>systemd-nspawn to run installs in a container.
>
>With the string command you could search the binary thingy using
>commands such as grep, example, search for "foo":
>
>strings /var/log/journal/*/system.journal | grep -i foo
My apologies, forgot to mention that this is only needed, if you access
your install when systemd (journalctl) isn't available.
journalctl -r -b -1 | grep -i foo
works too, as long you can boot your Ubuntu and systmed (journalctl) is
available.
>Good luck, I never could solve an issue by using journalctl.
More information about the ubuntu-users
mailing list