Why does my droplet power off on its own yet it has been working well ever since?

Posted October 2, 2019 3.8k views
DigitalOcean Spaces

My droplet powers off after a certain period of time. I have to manually power it on and open console before i can access from other tool such as anydesk.

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.

Submit an Answer
1 answer

Hello, @austenum

Only root privileged programs can gracefully shutdown a system. So when a system shuts down in a normal way, it is either a user with root privileges or an acpi script. In both cases you can find out by checking the logs.

What happens when you examine the /var/log/messages log? Can you see something dodgy or related with the shutdown?

  • Thanks for your reply.
    The OS is windows 10 and not a linux based OS.

    • Thanks for confirming this.

      You can use the Event Viewer in Windows to check why the system was showdown. In order to do this.

      Press the Win + R keys together on the keyboard to open the Run dialog, type eventvwr.msc, and press the Enter key.Windows 10 Open Event Viewer

      In Event Viewer, select Windows Logs -> System on the left.
      On the right, click on the link Filter Current Log.Windows 10 Event Viewer

      In the next dialog, type the line 1074, 6006, 6008 into the text box under Includes/Excludes Event IDs.Windows 10 Filter Shutdown Events

      Click OK to filter the event log.

      Now, the Event Viewer will display only events related to shut down.Windows 10 Find Shutdown Events

      Note: Starting with Windows 10 Fall Creators Update, the operating system is able to automatically reopen apps which were running before shutdown or restart. This behavior is totally unexpected for most Windows users who upgraded to the recent release of the OS. To avoid this issue, you can add a special “Shut Down” context menu to the Desktop that restores the classic behavior.

      Let me know how it goes.

      • Thanks for this. I have followed the steps and indeed there are some four errors related to unexpected shutdown. Event ID 6008 are four. What does this imply?

      • The process C:\Windows\system32\wlms\wlms.exe (WHATUPTIME-COM) has initiated the shutdown of computer WHATUPTIME-COM on behalf of user NT AUTHORITY\SYSTEM for the following reason: Other (Planned)

        That is from the latest error 1074 source user 32