NS_ERROR_FAILURE while starting virtual machine

Discussions about using Mac OS X guests (on Apple hardware) in VirtualBox.
Post Reply
rimbalzina
Posts: 3
Joined: 13. Jan 2021, 18:48

NS_ERROR_FAILURE while starting virtual machine

Post by rimbalzina »

Hi All,

my host machine is running Mac OS X 11.1 (Big Sur) and VirtualBox 6.1 (+extensions). I have imported a Virtual Machine (.ova) that was created by my system administrator with Ubuntu on it and the import goes well. But when I start the VM I am getting the following error:

The virtual machine 'Ubuntu-for-python 1' 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}


Below I attach what I find in the logs. Any suggestion of how to fix the issue?
Thanks in advance.

Luca

00:00:00.000862 main VirtualBox XPCOM Server 6.1.16 r140961 darwin.amd64 (Oct 16 2020 12:30:37) release log
00:00:00.000865 main Log opened 2021-01-13T15:50:46.874607000Z
00:00:00.000866 main Build Type: release
00:00:00.000879 main OS Product: Darwin
00:00:00.000884 main OS Release: 20.2.0
00:00:00.000889 main OS Version: Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64
00:00:00.000987 main DMI Product Name: iMac18,2
00:00:00.001025 main DMI Product Version: 1.0
00:00:00.001028 main Firmware type: failed - VERR_NOT_SUPPORTED
00:00:00.001052 main Host RAM: 16384MB (16.0GB) total, 7388MB (7.2GB) available
00:00:00.001056 main Executable: /Applications/VirtualBox.app/Contents/MacOS/VBoxSVC
00:00:00.001056 main Process ID: 10187
00:00:00.001057 main Package type: DARWIN_64BITS_GENERIC
00:00:00.004958 main IPC socket path: /tmp/.vbox-luca-ipc/ipcd
00:00:00.107741 nspr-2 VirtualBox: object creation starts
00:00:00.107870 nspr-2 Home directory: '/Users/luca/Library/VirtualBox'
00:00:00.112267 nspr-2 Loading settings file "/Users/luca/Library/VirtualBox/VirtualBox.xml" with version "1.12-macosx"
00:00:00.146869 nspr-2 HostDnsMonitor: initializing
00:00:00.147309 dns-monitor HostDnsMonitor: updating information
00:00:00.155206 nspr-2 VD: VDInit finished with VINF_SUCCESS
00:00:00.156063 nspr-2 Loading settings file "/Users/luca/VirtualBox VMs/Ubuntu-for-python/Ubuntu-for-python.vbox" with version "1.16-macosx"
00:00:00.157728 nspr-2 OCI: Local config file '/Users/luca/Library/VirtualBox/oci_config' does not exist
00:00:00.157765 nspr-2 OCI: Original config file '/Users/luca/.oci/config' does not exist
00:00:00.157774 nspr-2 OCI: Reading profiles finished with status NS_OK
00:00:00.157786 nspr-2 ExtPack: Created cloud provider 'OCI' (hrc=NS_OK)
00:00:00.157807 nspr-2 VirtualBox: object created
00:00:00.157952 dns-monitor HostDnsMonitor: old information
00:00:00.157968 dns-monitor no server entries
00:00:00.157975 dns-monitor no domain set
00:00:00.157980 dns-monitor no search string entries
00:00:00.157986 dns-monitor HostDnsMonitor: new information
00:00:00.158013 dns-monitor server 1: 192.168.1.1
00:00:00.158019 dns-monitor no domain set
00:00:00.158025 dns-monitor no search string entries
00:00:01.879688 nspr-4 Import settings with version "1.17-linux"
00:00:01.879791 nspr-4 ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={d0a0163f-e254-4e5b-a1f2-011cf991c38d} aComponent={VirtualBoxWrap} aText={Could not find a registered machine named 'Ubuntu-for-python 1'}, preserve=false aResultDetail=0
00:00:01.880206 nspr-4 ERROR [COM]: aRC=VBOX_E_FILE_ERROR (0x80bb0004) aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap} aText={Could not find file for the medium '/Users/luca/VirtualBox VMs/Ubuntu-for-python 1/Ubuntu-for-python-disk001.vmdk' (VERR_FILE_NOT_FOUND)}, preserve=false aResultDetail=-102
00:31:18.625454 createImport Saving settings file "/Users/luca/Library/VirtualBox/VirtualBox.xml" with version "1.12-macosx"
00:31:18.704068 ApplImp Saving settings file "/Users/luca/VirtualBox VMs/Ubuntu-for-python 1/Ubuntu-for-python 1.vbox" with version "1.16-macosx"
00:31:18.705213 ApplImp Saving settings file "/Users/luca/Library/VirtualBox/VirtualBox.xml" with version "1.12-macosx"
00:32:10.475717 nspr-3 Launched VM: 2864840144 pid: 11646 (0x2d7e) frontend: GUI/Qt name: Ubuntu-for-python 1
00:32:11.118955 Watcher ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={85632c68-b5bb-4316-a900-5eb28d3413df} aComponent={MachineWrap} aText={The virtual machine 'Ubuntu-for-python 1' has terminated unexpectedly during startup with exit code 1 (0x1)}, preserve=false aResultDetail=0
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: NS_ERROR_FAILURE while starting virtual machine

Post by scottgus1 »

Not being a Mac guru, I don't know if these also are pertinent tothe issue:
00:00:01.879791 nspr-4 ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={d0a0163f-e254-4e5b-a1f2-011cf991c38d} aComponent={VirtualBoxWrap} aText={Could not find a registered machine named 'Ubuntu-for-python 1'}, preserve=false aResultDetail=0
00:00:01.880206 nspr-4 ERROR [COM]: aRC=VBOX_E_FILE_ERROR (0x80bb0004) aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap} aText={Could not find file for the medium '/Users/luca/VirtualBox VMs/Ubuntu-for-python 1/Ubuntu-for-python-disk001.vmdk' (VERR_FILE_NOT_FOUND)}, preserve=false aResultDetail=-102
See if MultiOS's suggestiion here helps: viewtopic.php?f=22&p=481332#p481332

Also try a fresh install in a new VM using an Ubuntu ISO, to see if Virtualbox works on non-imported VMs.
rimbalzina
Posts: 3
Joined: 13. Jan 2021, 18:48

Re: NS_ERROR_FAILURE while starting virtual machine

Post by rimbalzina »

Thanks Scottgus1.

I tried following the link but the problem persists.

Moreover the new ubuntu ISO is giving me the same identical problem pointing to a problem in my instance of VirtualBox and not on the specific VM.

L
rimbalzina
Posts: 3
Joined: 13. Jan 2021, 18:48

Re: NS_ERROR_FAILURE while starting virtual machine

Post by rimbalzina »

For people that might have the same issue, this procedure

viewtopic.php?f=39&t=98763&start=75#p488555

fixed it.
Best
L
Post Reply