Installation Failed on Mac High Sierra- 10.13.6

Discussions related to using VirtualBox on Mac OS X hosts.
Explo1t
Posts: 10
Joined: 23. Sep 2018, 23:23

Installation Failed on Mac High Sierra- 10.13.6

Post by Explo1t »

I recently downloaded Virtual Box on my mac. In which I ran through the installation process which was almost completed until I clicked a popup saying something I don't remember. In which after that Virtualbox has not been able to work and the installation process now greets me with a message saying that my "installation" had "failed". I have also opened Virtual box but another error shows up. Saying "-102 File not Found" and "NS_ERROR_FAILURE (0x80004005)"
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Installation Failed on Mac High Sierra- 10.13.6

Post by socratis »

Take a look at the first sticky thread, "Installation fails on 10.13.x (rc=-1908)", especially the Apple Documentation.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Explo1t
Posts: 10
Joined: 23. Sep 2018, 23:23

Re: Installation Failed on Mac High Sierra- 10.13.6

Post by Explo1t »

Here is the Installer Log and System Profiler
Attachments
Installer Log 23-Sep-2018.txt
Installer Log
(16.41 KiB) Downloaded 36 times
system_profiler.txt.gz
system profiler
(4.62 KiB) Downloaded 14 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Installation Failed on Mac High Sierra- 10.13.6

Post by socratis »

Your hardware profile is not relevant for your problem, at all actually, it's Apple new security policy that's the problem. And for that, you need to read Apple's documentation as I said, User-Approved Kernel Extension Loading. That's where the problem is.

As far as mounting the DMG, that's what you do when you double-click on a DMG file; you're mountig a Disk iMaGe.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Explo1t
Posts: 10
Joined: 23. Sep 2018, 23:23

Re: Installation Failed on Mac High Sierra- 10.13.6

Post by Explo1t »

Socratis,

I saw a bunch of ways to fix this problem at the beginning of my search. I tried multiple times to uninstall and then reinstall Virtual box with the hope that there would be a button for me to click to allow for Virtual Box to be "trusted". Although when I first installed Virtual box I clicked the "allow" box but was then unable to get Virtual box to work.

Explo1t
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Installation Failed on Mac High Sierra- 10.13.6

Post by socratis »

Actually it seems that you edited your message while I was posting my reply, and you added the installer log. And from there I see the following:
Sep 23 18:02:46 Namkhangs-MacBook-Pro-2 installd[438]: ./postflight: /Library/Application
    Support/VirtualBox/VBoxDrv.kext failed to load - (libkern/kext) authentication failure (file
    ownership/permissions); check the system/kernel logs for errors or try kextutil(8).
Have you done any modifications to your system? Have you disabled SIP?

PS. The forum is adequate enough for us to communicate, in public ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Explo1t
Posts: 10
Joined: 23. Sep 2018, 23:23

Re: Installation Failed on Mac High Sierra- 10.13.6

Post by Explo1t »

I am not sure... I disabled something on my System Preferences allowing for any developer files to be installed on my computer. If that helps at all.

P.S. Oh okay, my bad
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Installation Failed on Mac High Sierra- 10.13.6

Post by socratis »

Explo1t wrote:until I clicked a popup saying something I don't remember
BTW, that's not how you report an error. Because if the message was "Your startup disk is almost full", that would have been a completely different problem. So please try to be as accurate as possible next time...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Explo1t
Posts: 10
Joined: 23. Sep 2018, 23:23

Re: Installation Failed on Mac High Sierra- 10.13.6

Post by Explo1t »

I apologize. This was about last week and I have been trying to fix it ever since... I remember it having something to do with Virtual Box but I am not sure. Do you know what the problem is? I have tried to fully uninstall and reinstall but it keeps on showing me the error during the installation process.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Installation Failed on Mac High Sierra- 10.13.6

Post by socratis »

As I said, from the installer log it looks like a permissions error. Let's start with the basics. Post the output from the following command. Note that it's one command split in 9 lines, you'll need to copy/paste all of them:
  • ls -laed@ \
      / \
      /Applications \
      /Applications/VirtualBox.app \
      /Applications/VirtualBox.app/Contents/MacOS/VBoxRT.dylib \
      /private \
      /private/etc \
      /private/etc/sudoers \
      /private/tmp
    
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Explo1t
Posts: 10
Joined: 23. Sep 2018, 23:23

Re: Installation Failed on Mac High Sierra- 10.13.6

Post by Explo1t »

Here is what I got after pasting the commands within my Terminal:
ls -laed@ \
>   / \
>   /Applications \
>   /Applications/VirtualBox.app \
>   /Applications/VirtualBox.app/Contents/MacOS/VBoxRT.dylib \
>   /private \
>   /private/etc \
>   /private/etc/sudoers \
>   /private/tmp
drwxr-xr-x   31 root  wheel      992 Sep 11 19:38 /
drwxrwxr-x+  52 root  admin     1664 Sep 23 18:02 /Applications
 0: group:everyone deny delete
drwxr-xr-x    3 root  admin       96 Aug 14 08:02 /Applications/VirtualBox.app
-rw-r--r--    1 root  admin  5529952 Aug 14 08:04 /Applications/VirtualBox.app/Contents/MacOS/VBoxRT.dylib
drwxr-xr-x    6 root  wheel      192 Mar 27 23:01 /private
drwxr-xr-x  123 root  wheel     3936 Sep 23 22:24 /private/etc
-r--r-----    1 root  wheel     1563 Jul 15  2017 /private/etc/sudoers
drwxrwxrwt    8 root  wheel      256 Sep 24 18:42 /private/tmp
Last edited by socratis on 25. Sep 2018, 01:35, edited 1 time in total.
Reason: Enclosed the information in [quote][pre] tags for better readability
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Installation Failed on Mac High Sierra- 10.13.6

Post by socratis »

Your basic permissions look fine. I'd like you to try the following:
  • Reboot your computer.
  • Try to install VirtualBox.
  • If the installation fails, immediately go to the System Preferences » Security & Privacy. See if Oracle needs to be allowed to be installed. Allow it.
  • Repeat the installation.
If you could also grab at the same time a new installer log, that would be great.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Explo1t
Posts: 10
Joined: 23. Sep 2018, 23:23

Re: Installation Failed on Mac High Sierra- 10.13.6

Post by Explo1t »

I followed the steps that you gave me. Without success, the installation process still fails with the same error message as before. I'm not sure if this is relevant but I have uninstalled and reinstalled Virtual Box multiple times with no success.



Explo1t,
Attachments
Installer Log 25-Sep-2018.txt
Installer Log
(16.7 KiB) Downloaded 29 times
Error Message
Error Message
Screen Shot 2018-09-25 at 18.42.44.png (74.36 KiB) Viewed 5234 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Installation Failed on Mac High Sierra- 10.13.6

Post by socratis »

The VirtualBox kexts are being rejected/prevented from loading due to a security issue:
/Library/Application Support/VirtualBox/VBoxDrv.kext failed to load - (libkern/kext) authentication failure (file ownership/permissions)
Post the output of the following commands:
  • 
    ls -al /Library/Application\ Support/
    ls -al /Library/Application\ Support/VirtualBox/
    
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Explo1t
Posts: 10
Joined: 23. Sep 2018, 23:23

Re: Installation Failed on Mac High Sierra- 10.13.6

Post by Explo1t »

Oh I see. Here are the outputs from the commands:
(Explo1t)-MBP-2:~ Explo1t$ ls -al /Library/Application\ Support/
total 0
drwxr-xr-x  17 root  admin   544 Sep 25 18:40 .
drwxr-xr-x+ 63 root  wheel  2016 Sep 10 22:47 ..
drwxr-xr-x   3 root  admin    96 Sep 10 22:48 App Store
drwxr-xr-x  13 root  wheel   416 Sep 10 22:48 Apple
drwx------   5 root  admin   160 Sep 10 17:39 ApplePushService
drwxrwxr-x  13 root  admin   416 Sep 10 22:47 CrashReporter
drwxrwxr-x   6 root  admin   192 Sep 10 22:47 GarageBand
drwxrwxr-x   7 root  admin   224 Jun  7  2017 Logic
drwxrwxr-x   3 root  wheel    96 Sep 10 22:41 Oracle
drwxrwxr-t   2 root  admin    64 Oct  6  2017 ProApps
drwxr-xr-x   5 root  wheel   160 Sep 10 22:46 Razer
drwxr-xr-x   3 root  wheel    96 Oct  7  2017 Script Editor
drwxrwx---   2 root  admin    64 Sep 18 17:35 SubmitDiagInfo
drwxr-xr-x   3 root  wheel    96 Sep 20 17:00 VMware
drwxr-xr-x   7 root  wheel   224 Sep 25 18:42 VirtualBox
drwxr-xr-x@  3 root  wheel    96 Sep 21 23:17 com.apple.TCC
drwxr-xr-x   3 root  wheel    96 Dec 14  2017 iLifeMediaBrowser

(Explo1t)-MBP-2:~ Explo1t$ ls -al /Library/Application\ Support/VirtualBox/
total 0
drwxr-xr-x   7 root  wheel  224 Sep 25 18:42 .
drwxr-xr-x  17 root  admin  544 Sep 25 18:40 ..
drwxr-xr-x   4 root  wheel  128 Sep 25 18:42 LaunchDaemons
drwxr-xr-x   3 root  wheel   96 Aug 14 08:02 VBoxDrv.kext
drwxr-xr-x   3 root  wheel   96 Aug 14 08:02 VBoxNetAdp.kext
drwxr-xr-x   3 root  wheel   96 Aug 14 08:02 VBoxNetFlt.kext
drwxr-xr-x   3 root  wheel   96 Aug 14 08:02 VBoxUSB.kext
I didn't know if you needed my name to be shown so I just covered it up with (Explo1t).
Last edited by socratis on 27. Sep 2018, 06:56, edited 1 time in total.
Reason: Enclosed the information in [quote][pre] tags for better readability
Post Reply