Page 1 of 1

[Solved] Install error

Posted: 20. Jun 2018, 16:45
by drs@dcneuro.net
I had problems opening VB, some kernel not installed error, so I deleted everything thinking I would get a fresh start. I tried reinstalling v5.2.1. I get the attached error still on a clean install.

As the screenshot is too large, I am copying the message: "The installation failed. The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance."

Kindly advise.

Thanks.

Re: Install error

Posted: 20. Jun 2018, 16:59
by socratis
drs@dcneuro.net wrote:I tried reinstalling v5.2.1.
There is no 5.2.1, you want to verify that? Before we get to the meat, what's your host running? If it's 10.14 beta, forget it. See "5.2.12 install fails on macOS Mojave (#17805)".

Re: Install error

Posted: 20. Jun 2018, 17:01
by andyp73
drs@dcneuro.net wrote:I tried reinstalling v5.2.1
I'm guessing this is supposed to be 5.2.12 (the latest version at the time of writing) as Oracle don't release odd numbered versions.
drs@dcneuro.net wrote:The installation failed. The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
If you are using High Sierra (10.13.x) then this is a known issue of Apple's making. You need to go into "Security & Privacy" from the System Preferences and allow the installation of software from Oracle then re-run the installer.

-Andy.

Re: Install error

Posted: 20. Jun 2018, 19:17
by drs@dcneuro.net
I am using 10.13.5. How do I add Oracle software setting and privacy as I do not see any options for this under the privacy tab and I'm not being prompted to add it?

Re: Install error

Posted: 20. Jun 2018, 20:03
by drs@dcneuro.net
I was able to successfully add the virtual box.app to the accessibility settings, however, it still fails upon installing.

Re: Install error

Posted: 20. Jun 2018, 20:04
by socratis
You're not remotely logged in the OSX computer, are you? If not, see:
If that doesn't work, I'll need to see an installer log (as a first step). 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.
PS. What does the accessibility settings have to do with it?

Re: Install error

Posted: 27. Jun 2018, 16:30
by drs@dcneuro.net
I did a clean reinstall. I get the attached error when I try to run VB. I get following message from the "copy".

Failed to open a session for the virtual machine My VB Win7.

The virtual machine 'My VB Win7' 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}

Re: Install error

Posted: 27. Jun 2018, 23:28
by socratis
I asked for the installer log. You sent me a picture of a failed kext loading...
We're not moving forward I'm afraid.

Re: Install error

Posted: 2. Jul 2018, 16:17
by drs@dcneuro.net
I don't know if I did something wrong, but this is all it says, (attached)...

Re: Install error

Posted: 2. Jul 2018, 16:40
by drs@dcneuro.net
OK, I ran through that delete/install process one more time. Here is the install log…
Installer Log 2-Jul-2018.txt
(13.5 KiB) Downloaded 37 times

Re: Install error

Posted: 2. Jul 2018, 17:03
by socratis
Did you read the previous links that I gave you? You have to accept Oracle as a developer in the System Preferences.
Jul  2 10:35:28 Aldos-iMac installd[997]: ./postflight: /Library/Application Support/VirtualBox/VBoxDrv.kext
        failed to load - (libkern/kext) system policy prevents loading; check the system/kernel logs
        for errors or try kextutil(8).

Re: Install error

Posted: 2. Jul 2018, 17:28
by drs@dcneuro.net
I thought I did that when I added virtual box to accessibility under privacy in settings. I assume this is not correct. How/where do I add Oracle?

Re: Install error

Posted: 2. Jul 2018, 18:08
by andyp73
drs@dcneuro.net wrote:How/where do I add Oracle?
See:
socratis wrote:You have to accept Oracle as a developer in the System Preferences.
System Preferences -> Security & Privacy then it appears in the bottom half of the "General" tab. If you have done all that then run the command:
sudo kextutil -v -t /Library/Application\ Support/VirtualBox/VBoxDrv.kext
If it tells you anything new then post it here.

-Andy.

Re: Install error

Posted: 2. Jul 2018, 18:37
by drs@dcneuro.net
Voila!!! I swear I did not see that. I had been adding VB to the accessibility tab. Now its working. Problem is I am doing this in between patients so not really paying attention. Thanks so much fo the help.

Re: Install error

Posted: 2. Jul 2018, 18:45
by socratis
drs@dcneuro.net wrote:I am doing this in between patients so not really paying attention.
That would explain it. ;)
Marking as [Solved].