VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005)

Discussions related to using VirtualBox on Linux hosts.
Post Reply
JarleW
Posts: 1
Joined: 12. Jan 2020, 11:03

VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005)

Post by JarleW »

Hi
I've been running a VirtualBox on Ubuntu Server 18.04 for a while now and yesterday the virtual machine won't boot up at all. I get this error :
VBoxManage: error: The virtual machine 'HASSIO' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
If I run the desktop-gui on the ubuntu server and open the VirtualBox application and run the VM it opens a boot menu wich haven't been there before. Now I have to choose between these options :
  • 1: Autoboot
  • 2: Boot system 0
  • 3: Boot system 1
  • 4: Shell
The only one thats working is option 2, but it fails and reboot some seconds later :(

I've attached the VB log-file
Attachments
VBox.zip
Log-file
(28.21 KiB) Downloaded 31 times
SRachal
Posts: 1
Joined: 29. Jan 2020, 23:11

Re: VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005)

Post by SRachal »

I had this error but I installed the latest version and the issue was resolved. I am on a Mac with the latest iOS update.
jjgalvez
Posts: 11
Joined: 29. Oct 2012, 02:57

Re: VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005)

Post by jjgalvez »

I'm having the same error, but I am using the latest version on Arch. Reviewing the system logs the kernel drivers report that they are loading properly but none of my VM's will start, they all give me errors similar to that below. Happy to provide any additional info as needed

Code: Select all

vboxmanage startvm windows
Waiting for VM "windows" to power on...
VBoxManage: error: The virtual machine 'windows' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005)

Post by scottgus1 »

@JarleW: your guest seems fine until it starts loading the EFI:
00:00:01.327695 EFI: Adding variable 4a67b082-0a4c-41cf-b6c7-440b29bb8c4f::'LoaderDevicePartUUID' fAttrib=0x6 cbValue=0x4a
00:02:05.542990 Console: Machine state changed to 'Stopping'
Can the guest boot from BIOS?

@jjgalvez, Please zip and post the guest's vbox.log, using the forum's Upload Attachment tab, like JarleW did.
jjgalvez
Posts: 11
Joined: 29. Oct 2012, 02:57

Re: VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005)

Post by jjgalvez »

Please find the attached guest logs from my windows VM, Hope this helps

New info, I created a new VM with noting in it and tried to run it expecting it to give me an bios error. instead I got the same error as before.

Code: Select all

Failed to open a session for the virtual machine test.

The virtual machine 'test' has terminated unexpectedly during startup with exit code 1 (0x1).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
When I look for the guest logs There are none.
Attachments
Logs.zip
(201.9 KiB) Downloaded 26 times
jjgalvez
Posts: 11
Joined: 29. Oct 2012, 02:57

Re: VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005)

Post by jjgalvez »

WOW Please ignore my issue entirely. As it turns out I somehow messed up my system and /usr was not owned by root any longer. Not sure how I managed to do that, but changing the owner back to root fixed all my issues.
Alberto Torro
Posts: 1
Joined: 8. Jul 2020, 22:11

Re: VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005)

Post by Alberto Torro »

Thank you so much jjgalvez , your solution after long struggling and finding fix on net helped me in my Ubuntu VBox
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005)

Post by scottgus1 »

jjgalvez, Thanks muchly for letting us know you found the problem!
Post Reply