Shutdown fails to shutdown droplet

  • Posted December 2, 2013

I can’t shutdown my droplet it stays in the active state even after sudo -r shutdown now it still doesn’t shutdown


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

There’s a difference between -h (halt) and -P (power off). You really want to power off your droplet rather halting. For a KVM VPS (droplet) it should have the same behavior but it’s possible that something is not configured properly. I recommend you to always use “shutdown -P now” or even simpler: “poweroff”. <br> <br>As per the shutdown manual: <br> <br> -h Requests that the system be either halted or powered off after <br> it has been brought down, with the choice as to which left up to <br> the system. <br> <br> -P Requests that the system be powered off after it has been <br> brought down. <br> <br>Shortcut commands: <br>shutdown -h now = halt <br>shutdown -r now = reboot <br>shutdown -P now = poweroff

sudo shutdown -h now is that i typed and it said it was going to shutdown. I think i made a mis type.

The -r option to shutdown performs a reboot, thus your droplet shuts down but immediately starts again. <br> <br>The command you want is “sudo shutdown -P now” or “sudo shutdown -h now”. <br> <br> <br> <br>

Have you tried: <br><pre>sudo shutdown -h now</pre>

Try pinging your droplet, is it still up? If not, please wait for a few minutes until its status is updated on the hypervisor.