VirtualBox NS_ERROR_FAILURE (0x80004005) macOS

4

I'm using macOS and installed VirtualBox.

When I start a machine, I'm getting the following error :

Failed to open a session for the virtual machine ubuntu.

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

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {85cd948e-a71f-4289-281e-0ca7ad48cd89}
macos
virtualbox
asked on Stack Overflow Oct 7, 2018 by JP Jack • edited Oct 15, 2018 by deltonio2

3 Answers

7

This error seems to appear with VirtualBox installs on versions of macOS 10.13.

To fix this issue, you have to uninstall VirtualBox (use the VirtualBox_uninstall.tool of the VirtualBox downloaded dmg).

Then, install it again executing VirtualBox.pkg. At the end of the install, go to System Preferences, Security and Privacy, and the click the allow button :

Allow Oracle America, Inc.

This should solve your issue.

answered on Stack Overflow Oct 15, 2018 by deltonio2 • edited Mar 25, 2019 by Dale K
1

Using a readonly filesystem, blocking VBox files wrtiting access causes this error. Move VBox virtual machines files to a new location with writing permissions must resolves this problem. In my case, i use a Linux server, with VBOx software but my machine was moved to a Windows partition with BitLocker active and the windows Disk was mounted in ReadOnly, causing this problem.

answered on Stack Overflow Sep 29, 2020 by Paulo Salgado
0

enter image description here

  • Run it and it works!
answered on Stack Overflow Mar 28, 2020 by Prashanth Sams • edited Jun 20, 2020 by Community

User contributions licensed under CC BY-SA 3.0