Page 1 of 1

[Resolved] Fail to open VM on macOS 10.14.1

Posted: 4. Nov 2018, 12:13
by touchmenot
I upgrade macOS to Version 10.14.1 from 10.13. However the Virtualbox is not matched, so I install Virtualbox with version 5.2.20 successfully. But Virtualbox can't open VMs. The Error is:
Failed to open a session for the virtual machine ubuntu-server.

The virtual machine 'ubuntu-server' 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}
I think there is something wrong before VM is started, because there is no new logs. The new created VM also can't be started to install os.

Re: Fail to open VM on macOS 10.14.1

Posted: 4. Nov 2018, 12:22
by socratis
VirtualBox VM 5.1.18 r114002 darwin.amd64 (Mar 15 2017 16:25:52) release log
00:00:01.373316 Log opened 2018-11-02T02:36:49.048068000Z
00:00:01.373348 OS Version: Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64
That tells me that this is the log from 2 days ago, with VirtualBox 5.1.18, and OSX 10.13.x, i.e. not a new log. Fine, wasn't really needed. You said you updated VirtualBox. Did you get any errors during the update? In any event, try this again...

You might want to print the following steps, or save them in a test file on your desktop, because there are a couple of reboots, and you don't want to go "hunting" in the forums...
  1. Download the latest release, or the latest test build (NOT the development snapshot), if you don't already have them.
  2. Reboot.
  3. Make sure you're part of the "admin" group. If you are logged in with the primary user account/owner, you are part of the admin group.
  4. Mount the DMG from the previous step. Run "VirtualBox_Uninstall.tool". Make sure there are no error messages. If there are, please post them, exactly as they appear.
  5. Reboot.
  6. Mount the DMG from the previous steps. Double-click the "VirtualBox.pkg". As soon as you start the installation, press Cmd+L to show the log. Select "Show All Logs" from the drop-down menu. Before the last step of the installation (Done), click the "Save" in the log window. ZIP and attach that file.
  7. Start VirtualBox. If it crashes, open "Console.app" and look at "~/Library/Logs". Is there a VirtualBox related log with the current date/time? ZIP and attach that file as well.

Re: Fail to open VM on macOS 10.14.1

Posted: 4. Nov 2018, 13:06
by touchmenot
As I finished the steps, I got some crash log about virtualbox. These logs may be helpful to figure out what happened.

Re: Fail to open VM on macOS 10.14.1

Posted: 26. Dec 2018, 04:14
by touchmenot
I can open VM after I update security software of symantec. Virtualbox 6.0 works fine to me. Thanks a lot.

Re: Fail to open VM on macOS 10.14.1

Posted: 26. Dec 2018, 17:56
by socratis
Glad you got it going. Marking as [Resolved].