this post was submitted on 07 Apr 2025
16 points (100.0% liked)

Linux

6920 readers
305 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

Original icon base courtesy of [email protected] and The GIMP

founded 2 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 5 days ago (4 children)

Did you use any arguments with shutdown? Does shutdown spin down the system, but not turn off the hardware, or does it not do anything? You can try " shutdown now -h". That should halt the system after a graceful shutdown.

[–] [email protected] 3 points 5 days ago (3 children)

I tried that now. It's still running but I can't access it via SSH.

[–] [email protected] 4 points 5 days ago (2 children)

Sounds like that shutdown the system, so the problem is just getting it to power off. You could try "halt -p”. That explicitly calls for the system to power off. If that doesn't work, perhaps try "halt -verbose", which will give a bunch of info on the next boot about what halt was doing, might show an error there that could you lead you in the right direction.

[–] [email protected] 1 points 5 days ago (1 children)

Will that show the info only when I connect a screen directly to the machine? Or also when I log into it with SSH the first time after the reboot?

[–] [email protected] 1 points 5 days ago

I would think it should be in the boot log, but I am unsure on that one.