Can anyone help me?05:54:19.794526 Changing the VM state from 'RUNNING' to 'RESETTING' 05:54:20.081255 Changing the VM state from 'RESETTING' to 'RUNNING' 08:54:33.482544 Changing the VM state from 'RUNNING' to 'RESETTING' 08:54:33.779199 Changing the VM state from 'RESETTING' to 'RUNNING' 32:56:41.681702 Changing the VM state from 'RUNNING' to 'RESETTING' 32:56:41.979826 Changing the VM state from 'RESETTING' to 'RUNNING' 35:12:08.941082 Changing the VM state from 'RUNNING' to 'RESETTING' 35:12:09.219791 Changing the VM state from 'RESETTING' to 'RUNNING' 35:13:37.070415 Changing the VM state from 'RUNNING' to 'RESETTING' 35:13:37.094018 Changing the VM state from 'RESETTING' to 'RUNNING' 38:57:35.608913 Changing the VM state from 'RUNNING' to 'RESETTING'
[Invalid] VM Server 2016 automatic restart without timing
-
- Posts: 5
- Joined: 13. Nov 2019, 08:03
[Invalid] VM Server 2016 automatic restart without timing
[Host Ubuntu 16.04 ] [ VirtualBox VM 6.0.8 ] [ VM: Server 2016 DataCenter] [ VM Server 2016 automatic restart without timing ]
Last edited by socratis on 12. Dec 2019, 07:19, edited 1 time in total.
Reason: Marked as [Invalid].
Reason: Marked as [Invalid].
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: VM Server 2016 automatic restart without timing
First of all, you seriously need to get out of Twitter-Mode. That's not a proper way to describe your situation, with headlines...
It looks like the VM is rebooting at large intervals, chances are because of Windows updates. We need to see a complete VBox.log, from a complete VM run, where the problem occurs:
It looks like the VM is rebooting at large intervals, chances are because of Windows updates. We need to see a complete VBox.log, from a complete VM run, where the problem occurs:
- Start the VM from cold-boot (not from a paused or saved state) / Observe or recreate the problem / Shutdown the VM (force close it if you have to).
- With the VM completely shut down (not paused or saved), right-click on the VM in the VirtualBox Manager and select "Show Log".
- Save only the first "VBox.log", ZIP it and attach it to your response. See the "Upload attachment" tab below the reply form.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
- Posts: 5
- Joined: 13. Nov 2019, 08:03
Re: VM Server 2016 automatic restart without timing
Thank you very much for your reply
- Shut down the virtual machine from the system
- Use the command to power on the virtual machine:"VBoxManage startvm w2k16ad --type headless"
- Attachments
-
- VBox.log
- (76.51 KiB) Downloaded 13 times
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: VM Server 2016 automatic restart without timing
This log dies off at 10.9-ish seconds, looks like the guest was still running. Try again, this time waiting until the issue shows itself, then shutting down the guest again from within the guest OS, then zipping and posting the log per Socratis' very clear instructions above.
Please remember that when you ask for help and folks try to help, it will be very important for you to read and follow instructions carefully, so the conversation can be productive.
Please remember that when you ask for help and folks try to help, it will be very important for you to read and follow instructions carefully, so the conversation can be productive.
-
- Posts: 5
- Joined: 13. Nov 2019, 08:03
Re: VM Server 2016 automatic restart without timing
I am very sorry, I have been replying to you for so long, I have been waiting for the failure to reappear. English is not my native language. I communicate with you mainly by means of Google Translate.
Here's what I did:
Here's what I did:
- power on VM: VBoxManage startvm w2k16ad --type headless
- Perform a Windows update
- Wait for the VM to restart abnormally (there is no exception in this restart VM log)
- Shut down the VM from the system
- Collect logs
- Virtualbox VM log: tar -czvf VBox_w2k16.tar.gz ./VBox.log
- Windows System log: tar -czvf system_eventlog.tar.gz ./system_eventlog.evtx
- Attachments
-
- system_eventlog.tar.gz
- VM System Log
- (7.06 KiB) Downloaded 9 times
-
- VBox_w2k16.tar.gz
- Virtualbox VM Log
- (29.43 KiB) Downloaded 9 times
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: VM Server 2016 automatic restart without timing
I see lots of unexpected restarts in the event viewer log. However, coordinating the event viewer with the Virtualbox log, starting 11/15/2019, 3:22:
The Virtualbox log runs 94 hours, almost 4 days. At 78 hours 35 minutes the log shows one reset cycle:
In this log I don't see the repeated cycle of automatic resets you showed in the first post.
I have had guests fail to restart automatically after I selected Reboot in the guest OS. I was never able to figure out why that happened. But it was rare.
Your guest has one CPU and 2GB memory:
The event viewer shows no unexpected reboots during this time.00:00:00.037044 Log opened 2019-11-15T03:22:22.224768000Z
The Virtualbox log runs 94 hours, almost 4 days. At 78 hours 35 minutes the log shows one reset cycle:
Then at 94 hours 51 minutes the guest OS requests a shut down:78:35:21.002600 Changing the VM state from 'RUNNING' to 'RESETTING' ...... 78:35:21.060052 Changing the VM state from 'RESETTING' to 'RUNNING'
You mention a restart after updates:94:51:05.771428 VMMDev: Guest requests the VM to be turned off
Is this "abnormal" restart a simple restart for updates, or did the guest lock up and require you to manually reset the guest?hayden_wang wrote:2. Perform a Windows update
3. Wait for the VM to restart abnormally (there is no exception in this restart VM log)
In this log I don't see the repeated cycle of automatic resets you showed in the first post.
I have had guests fail to restart automatically after I selected Reboot in the guest OS. I was never able to figure out why that happened. But it was rare.
Your guest has one CPU and 2GB memory:
Your host has 4 CPU cores available and 8GB RAM free:00:00:00.160722 NumCPUs <integer> = 0x0000000000000001 (1) 00:00:00.160735 RamSize <integer> = 0x0000000080000000 (2 147 483 648, 2 048 MB)
You can give two cores to this guest and 4GB memory easily. Windows Server 2016 will run better with more resources.00:00:00.037188 Host RAM: 16004MB (15.6GB) total, 8491MB (8.2GB) available 00:00:00.325140 CPUM: Physical host cores: 4
-
- Posts: 5
- Joined: 13. Nov 2019, 08:03
Re: VM Server 2016 automatic restart without timing
Thank you very much for your help. It seems that windows updates have a big impact, so watch for a while.
This virtual machine usually consumes a lot of resources, and the hardware configuration is changed later. Thank you again for your help!
This virtual machine usually consumes a lot of resources, and the hardware configuration is changed later. Thank you again for your help!
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: VM Server 2016 automatic restart without timing
Please let us know, so that I can mark the thread appropriately...hayden_wang wrote:It seems that windows updates have a big impact, so watch for a while.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
- Posts: 5
- Joined: 13. Nov 2019, 08:03
Re: VM Server 2016 automatic restart without timing
The virtual machine has been running normally for 21 days, and no abnormal restart has occurred.
Thank you socratis and scottgus1 for your help!
Thank you socratis and scottgus1 for your help!
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: VM Server 2016 automatic restart without timing
Great 'hayden_wang', thanks for letting us know!
I think I'm going to mark this as [Invalid] though, because it has nothing to do with VirtualBox, and everything with normal Windows Updates...
I think I'm going to mark this as [Invalid] though, because it has nothing to do with VirtualBox, and everything with normal Windows Updates...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.