Unable to run on Mojave
-
- Posts: 2
- Joined: 10. Oct 2018, 07:04
Unable to run on Mojave
After I update to Mojave, Virtualbox can't run anymore. There is no any error tip. The app icon just hopped only once on the docker, then stopped running. I tried uninstall and reboot then reinstall, but it's still like that. Please help. Thank you.
-
- 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: Unable to run on Mojave
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...
- Download the latest release, or the latest test build (NOT the development snapshot), if you don't already have them.
- Reboot.
- 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.
- 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.
- Reboot.
- 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.
- 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.
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.
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.
-
- Posts: 2
- Joined: 10. Oct 2018, 07:04
Re: Unable to run on Mojave
I did those steps.
Please check the log file.
Please check the log file.
- Attachments
-
- Installer Log 10-Oct-2018.txt
- This is the log file of installation. And there is no any log when I try to run the app. It still can't run.
- (17.3 KiB) Downloaded 482 times
-
- 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: Unable to run on Mojave
You installation looks fine:
What about if you launch VirtualBox, or try to run "VBoxManage" from the terminal? Post the output of the two following commands:
And you have nothing VirtualBox related in the "User Diagnostic Reports" in you open "/Applications/Utilities/Console.app" after you try to run VirtualBox?Oct 10 16:36:19 chentaode-Mac-mini Installer[4819]: Displaying 'Install Succeeded' UI.
What about if you launch VirtualBox, or try to run "VBoxManage" from the terminal? Post the output of the two following commands:
VBoxManage -version 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.
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.
Re: Unable to run on Mojave
Same problem. Mac OS 10.14, but VB won't install. Install log attached. No log in Console.
- Attachments
-
- Installer Log 12-Oct-2018.txt.zip
- (3.03 KiB) Downloaded 240 times
-
- 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: Unable to run on Mojave
No, not really. You didn't allow the extension to load by allowing Oracle to install/run a kernel extension. See Installation fails on 10.13.x (rc=-1908):jhoufek wrote:Same problem.
Oct 12 08:59:22 Jamess-MacBook-Pro-3 installd[572]: ./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).
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.
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.
Re: Unable to run on Mojave
At no time did I get a pop-up directing me to “security & privacy” to allow the kext file to load. The only pop-up was informing me that VB failed to install.
-
- 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: Unable to run on Mojave
You should definitely let Apple know about this!!!jhoufek wrote:At no time did I get a pop-up directing me to “security & privacy” to allow the kext file to load.
Because, it's their installer, their sh..tuff that they got to fix...
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.
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.
Re: Unable to run on Mojave
I can do that. So I am out of luck in terms of loading VB until Apple does something ?
-
- 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: Unable to run on Mojave
You didn't read the link that I pointed you to, did you? Well, read it before asking any more questions that have been already answered please...
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.
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.
Re: Unable to run on Mojave
I was able to get the kernel extensions to load the KEXTs without user approval by adding the VirtualBox Apple Developer Team ID in spctl kext-consent
I used the following command to get the Team ID:
Result:
I used the following command to get the Team ID:
Code: Select all
codesign -dv --verbose=4 /Applications/VirtualBox.app
Code: Select all
TeamIdentifier=VB5E2TV963
- Turn on your Mac, then immediately press and hold Command-R to start up from macOS Recovery.
- Select Disk Utility from the Utilities window, then click Continue.
- From the Disk Utility sidebar, select the volume that you're using, then choose File > Mount from the menu bar. (If the volume is already mounted, this option is dimmed.)
- Then enter your administrator password when prompted.
- Quit Disk Utility.
- Choose Terminal from the Utilities menu in the menu bar.
- Type the command:
Code: Select all
spctl kext-consent add VB5E2TV963
- When done, choose Apple () menu > Restart.
Re: Unable to run on Mojave
Code: Select all
spctl kext-consent add VB5E2TV963
spctl: failed to store new configuration.
has Anyone figured this so far?
Cheers
G
Re: Unable to run on Mojave
Just joined to say many thanks to 'ryan a' for their solution that worked for me.
Re: Unable to run on Mojave
You must reboot into Recovery mode for the command to work. (I'm guessing you didn't reboot into Recovery, because that's the same error I got when I tried the command without rebooting into Recovery mode first.)Spartac0 wrote:I'm on the verge of a psychological breakdown.Code: Select all
spctl kext-consent add VB5E2TV963 spctl: failed to store new configuration.
has Anyone figured this so far?
Cheers
G
Edit to add: By the way, if I try to install VirtualBox without running the spctl command in Recovery mode, I get this message on the screen near the end, right before the installation fails:
System Extension Blocked
A program tried to load one or more system extensions that are incompatible with this version of macOS. Please contact "Oracle America, Inc." for support.
Re: Unable to run on Mojave
As Darius123 noted in another thread, Apple's developer documentation states (emphasis added):socratis wrote:You should definitely let Apple know about this!!!
Because, it's their installer, their sh..tuff that they got to fix...
So I think the ball's back in Oracle's court. In fact, I think I saw some log messages about this during one of my installation attempts:Beginning in macOS 10.14.5, all new or updated kernel extensions and all software from developers new to distributing with Developer ID must be notarized in order to run. In a future version of macOS, notarization will be required by default for all software.
Code: Select all
error 01:17:55.537849 -0700 syspolicyd Non-notarized kext blocked: <private>, Mon May 13 07:00:31 2019
error 01:17:55.538131 -0700 syspolicyd Kernel Extension BLOCKED: <private>
error 01:17:55.538531 -0700 kextd Kext rejected due to system policy: <OSKext 0x7f9ba2a29560 [0x7fffa6bd78e0]> { URL = "file:///Library/StagedExtensions/Library/Application%20Support/VirtualBox/VBoxDrv.kext/", ID = "org.virtualbox.kext.VBoxDrv" }
error 01:17:55.538602 -0700 kextd org.virtualbox.kext.VBoxDrv failed security checks; failing.