Skip Navigation

Trouble shutting down a linux machine

I am having issues with my linux machine running openSUSE MicroOS. It runs fine but I can't power it off via SSH. I tried shutdown, poweroff and halt but no command turned the machine off. I then have to physically push the power button but I don't feel comfortable doing that too often because I might interrupt some processes which are still running? Is there something I could still try or something I did wrong?

11 comments
  • SystemCTL systems need to use: "systemctl shutdown".

    Not sure if openSUSE uses it.

    • poweroff or shutdown will work on almost every distro. Even systemd ones (they are usually symlinks but doesn't really matter because they work).

  • Running poweroff is one of the correct ways on anything Systemd (details). If that doesn't work then something is broken.

    If you haven't done so already try looking into the journal. sudo journalctl -b -1 -e will take you to the end of the log for the last boot.

11 comments