By Kaleb Brasee
I’ve created a droplet with Ubuntu 16.04, set up the basic security/firewall settings, and apt installed a few things (java, tomcat8, apache2, mysql).
Everything is working fine when the server is running, but when I sudo poweroff it seems to get stuck. After running poweroff it is inaccessible but still shows up as running in the droplet web UI, and snapshots do not work.
In order to get it to fully power off, I need to click the Power > Power Off button in the web UI.
Does anyone know of a way to troubleshoot this, or logs to check to find out why it’s happening? I looked in /var/log/* but didn’t notice anything related to shutdown problems. I also tried systemctl stopping the services I installed before poweroff, but this didn’t help either.
Thanks for any ideas.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
The power off button in the control panel will send a soft-reboot signal (the same as running poweroff or shutdown -h. After approximately 5 minutes if the droplet has not powered down it will send a hard power off.
If your droplet is getting stuck during power down you can see what messages are being displayed during the process in the console in the control panel (Droplet-> Access-> Console). Your droplet sees the console as it’s local keyboard and display so all messages up until power is completely shut off will be seen there. If you run the poweroff or shutdown -h commands from the console you’ll be able to review the shutdown process and see where things are getting stuck.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.