Shutdown and reboot does not work

For some reason, it will not shutdown or reboot.

Rocky terminates, but the MoBo is still powered upp, demanding a manual shutdown with the powerbutton.

MoBo is an MSI Z370I Gaming pro Carbon AC with an i5-9600K CPU

Clarify exactly how you are shutting it down, and the last thing you see on the screen, and any panel lights. Does it think dirty bit is set after reboot (unclean shutdown)?

using either “shutdown -r now” or “reboot” command.

OS shuts down cleanly, screen shuts down due to no video-signal.

Drives and nMoterboard fully lit up, fans etc spinning.

Pressing on/off button, shuts down MoBo etc.

Pressing on/off button again, system boots, cannot se any info that the system boots up dirty.

As far as I can see it is a normal boot.

Reboot means reboot, i.e. stop and restart right away.

The command you’re looking for is Halt.

example:

shutdown -h now

Yes I know what reboot is, that is obviously something I do after an kernelupdate or similr.

It does not matter wether i am using -h or -r, result is the same, os shuts down and MoBo is still spinning

Are you saying that reboot and halt show exactly the same behaviour?

You issue the command, the os shuts down and nothing more happens?

Because after a reboot command the computer is supposed to restart and go through all of the startup stuff again.

Just out of curiosity:

Have you tried poweroff instead of shutdown -h now ?

Nope, didnt know that command

And? Any different behavior?

Installing acpid package might help.

dnf install -y acpid
systemctl enable --now acpid

and then see if any better.

I dont know what has happened, cmos might be screwed up someway.

Cleared CMOS, rebooted, and it seems ok now.

1 Like

While any good unix admin can name at least ten ways to shut down a host, I recommend using the most native methods on each platform.

Today on platforms which use systemd, that is systemctl reboot to reboot, systemctl poweroff to power off, and any of the other similar systemctl commands which I’m sure you know how to discover and learn.

Which we already are by design.

$ ll /usr/sbin/shutdown
lrwxrwxrwx 1 root root 16 Dec  3 11:03 /usr/sbin/shutdown -> ../bin/systemctl

I feel fortunate that there is still system administrator oversite of systemd in maintaining the rule of fewest keystrokes to get a job done.