Debian – KDE: Leave –> Turn Off Computer not shutting down system

debiankdeshutdown

I recently decided to install Debian 8 with the KDE desktop environment. A problem I have been having is shutting down the computer. The computer always restarts even when I tell it to shut down. I end up having to hope I don't mess up my drive encryption and hold down the power button. Is this is a known bug or just me? How can I resolve it? I've searched /var/log/ for any shutdown-related errors but can't find anything that appears related.

Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt9-3 (2015-04-23)

UPDATES:

I've since learned how to enable systemd logging thanks to /usr/share/doc/systemd/README.Debian, but it only seems to log start up events and not shut down. It always restarts instead of shutting down.


I get the same results when I use sudo shutdown -h now via the command line, the system reboots rather than shut down.


I attempted to boot into single user mode and shutdown from there as well. When I enter single user mode, I have the following messages/errors:

bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

When I run shutdown -h now I then get this error and nothing happens:

Failed to talk to init daemon.

If I just try shutdown I get this error:

Failed to talk to shutdownd, proceeding with immediate shutdown:
No such file or directory

Best Answer

I've searched /var/log/ for any shutdown-related errors

Debian 8 using systemd, you should check ERR log with journalctl -xb


The release news says:

"Jessie" ships with a new default init system, systemd. The systemd suite provides many exciting features such as faster boot times, cgroups for services, and the possibility of isolating part of the services. The sysvinit init system is still available in "Jessie".

I am confused It would say No journal files were found.
You can check whether systemd-journald is running withsystemctl status systemd-journald And start it with:

systemctl enable systemd-journald
systemctl start systemd-journald
Related Question