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

Discussions related to using VirtualBox on Linux hosts.

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

Postby JarleW » 12. Jan 2020, 11:22

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 30 times
JarleW
 
Posts: 1
Joined: 12. Jan 2020, 11:03

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

Postby SRachal » 29. Jan 2020, 23:12

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.
SRachal
 
Posts: 1
Joined: 29. Jan 2020, 23:11

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

Postby jjgalvez » 1. Feb 2020, 21:03

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   Expand viewCollapse view
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
jjgalvez
 
Posts: 10
Joined: 29. Oct 2012, 02:57

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

Postby scottgus1 » 1. Feb 2020, 23:09

@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.
scottgus1
Site Moderator
 
Posts: 15382
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)

Postby jjgalvez » 2. Feb 2020, 20:44

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   Expand viewCollapse view
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 24 times
jjgalvez
 
Posts: 10
Joined: 29. Oct 2012, 02:57

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

Postby jjgalvez » 2. Feb 2020, 21:54

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.
jjgalvez
 
Posts: 10
Joined: 29. Oct 2012, 02:57

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

Postby Alberto Torro » 8. Jul 2020, 22:13

Thank you so much jjgalvez , your solution after long struggling and finding fix on net helped me in my Ubuntu VBox
Alberto Torro
 
Posts: 1
Joined: 8. Jul 2020, 22:11

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

Postby scottgus1 » 9. Jul 2020, 00:27

jjgalvez, Thanks muchly for letting us know you found the problem!
scottgus1
Site Moderator
 
Posts: 15382
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 17 guests