Page 1 of 1
VirtualBox fails to start macosx Mojave 10.14.2
Posted: 4. Jan 2019, 17:01
by Beast Of Bodmin
I decided to post this to at least get it documented on the forum. I did manage to get VB 6.0.0 to install, but it won't start. Should I go back to the latest 5.x? Does anyone have any suggestions?
System and dmg info:
macOS Mojave Version 10.14.2 (18C54)
$ shasum dmg/VirtualBox-6.0.0-127566-OSX.dmg
6655317818947e478762e56a43e18851635949c7 dmg/VirtualBox-6.0.0-127566-OSX.dmg
Text of error message of the attached screen shot:
Code: Select all
Callee RC: NS_BASE_STREAM_WOULD_BLOCK (0x80470007)

- This is the error message that pops up every time.
- Screenshot 2019-01-04 at 15.51.25.png (71.42 KiB) Viewed 5803 times
/var/log/system.log while starting VirtualBox
Jan 4 15:50:24 My-iMac VirtualBox[1192]: DEPRECATED USE in libdispatch client: dispatch source activated with no event handler set; set a breakpoint on _dispatch_bug_deprecated to debug
Jan 4 15:51:05 My-iMac Spotlight[406]: assertion failed: 18C54: libxpc.dylib + 92321 [DC50F33E-C47D-3256-BFE0-F8E9B5AEBE17]: 0x89
Jan 4 15:51:06 My-iMac screencaptureui[1201]: DEPRECATED USE in libdispatch client: dispatch source activated with no event handler set; set a breakpoint on _dispatch_bug_deprecated to debug
Jan 4 15:51:31 My-iMac com.apple.xpc.launchd[1] (com.apple.quicklook[1205]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.quicklook
Jan 4 15:52:27 My-iMac com.apple.xpc.launchd[1] (org.virtualbox.app.VirtualBox.6120[1192]): Service exited with abnormal code: 1
What I did:
- D/L the dmg
- Ran the installer -> failed
- Went to System Preferences > Security and Privacy > General and enabled the vbox kernel extension
- Re-ran the installer -> success
- Started VirtualBox -> failed (see attachment)
- Uninstalled (including support files as found by Hazel)
- Reinstalled -> success
- Started VirtualBox -> failed (see attachment)
Out of desperation I hit this forum and inspired by this thread, decided to decided to Reboot.
After the reboot:
- Started VirtualBox -> failed (see attachment)
- Re-ran the installer -> success
- Went to System Preferences > Security and Privacy > General - nothing to enable
- Started VirtualBox -> failed (see attachment)
Update:
I found
Fixing Virtualbox and Vagrant in macOS Mojave 10.14 Public Beta 3, which suggested some greppery in the various org.virtualbox.kext.* Info.plist files and much worse besides.
I can see my kexts are loaded.
sh-3.2# kextstat |grep -i vbox
179 3 0xffffff7f83e35000 0xef000 0xef000 org.virtualbox.kext.VBoxDrv (6.0.0) 90C5538D-EAA4-3EE0-AFF7-C60B469DCC90 <8 6 5 3 1>
180 0 0xffffff7f84c63000 0x8000 0x8000 org.virtualbox.kext.VBoxUSB (6.0.0) 05696B73-790D-3AEA-A761-D596A8594380 <179 158 53 8 6 5 3 1>
181 0 0xffffff7f84b89000 0x5000 0x5000 org.virtualbox.kext.VBoxNetFlt (6.0.0) B6345263-C6EB-3365-BC16-7594E4B9870A <179 8 6 5 3 1>
182 0 0xffffff7f84cf6000 0x6000 0x6000 org.virtualbox.kext.VBoxNetAdp (6.0.0) C12A4634-55F8-39C2-848D-7E358A29E174 <179 6 5 1>
sh-3.2#
But my AppleKextExcludeList.kext is not up to date.
sh-3.2# grep -i vbox -A 1 /System/Library/Extensions/AppleKextExcludeList.kext/Contents/Info.plist
<key>org.virtualbox.kext.VBoxDrv</key>
<string>LT 5.2.14</string>
sh-3.2# ls -l /System/Library/Extensions/AppleKextExcludeList.kext/Contents/Info.plist
-rw-r--r-- 1 root wheel 1029992 Aug 18 02:00 /System/Library/Extensions/AppleKextExcludeList.kext/Contents/Info.plist
Re: VirtualBox fails to start macosx Mojave 10.14.2
Posted: 4. Jan 2019, 17:29
by socratis
Beast Of Bodmin wrote:Out of desperation I hit this forum and inspired by this thread
You replied to the
Installation fails on 10.13.x, 10.14.x (rc=-1908) thread
(not good), with your own title
(good), which is why I split your post.
Is this a fresh 10.14.2 installation?
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.
Re: VirtualBox fails to start macosx Mojave 10.14.2
Posted: 4. Jan 2019, 18:29
by Beast Of Bodmin
socratis wrote:Beast Of Bodmin wrote:Out of desperation I hit this forum and inspired by this thread
You replied to the
Installation fails on 10.13.x, 10.14.x (rc=-1908) thread
(not good), with your own title
(good), which is why I split your post.
Sure. I didn't think it warranted another thread.
socratis wrote:Is this a fresh 10.14.2 installation?
It was freshly installed with 10.13 in late August I think. That is, the disk was wiped at an Apple Store.
socratis wrote: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...
Good tip.
socratis wrote:
- 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.
This is what I did.
- Uninstalled 6.0.0
- Rebooted
- Downloaded and installed 5.2.22 VirtualBox-5.2.22-126460-OSX.dmg
- I am in the admin group
$ id | tr , "\n" | grep admin
80(admin)
98(_lpadmin)
- Ran the 5.2.22 .pkg installer. The ZIP of the log is attached.
Installation was successful
- Ran VirtualBox, but same error as last time.
- Kexts are there.
Adams-iMac:Desktop adam$ kextstat |grep -i vbox
180 3 0xffffff7f84c16000 0x64000 0x64000 org.virtualbox.kext.VBoxDrv (5.2.22) D2696352-336F-361B-8717-797487B076F5 <8 6 5 3 1>
181 0 0xffffff7f84c87000 0x8000 0x8000 org.virtualbox.kext.VBoxUSB (5.2.22) B3032E66-0313-3B15-AE85-38D3773435BB <180 175 53 8 6 5 3 1>
182 0 0xffffff7f84c7d000 0x5000 0x5000 org.virtualbox.kext.VBoxNetFlt (5.2.22) 139430EF-8433-390B-A389-C7DC9B3B50C4 <180 8 6 5 3 1>
183 0 0xffffff7f84c8f000 0x6000 0x6000 org.virtualbox.kext.VBoxNetAdp (5.2.22) F11F6B94-BF8D-3841-85BB-EFFBBF27CE29 <180 6 5 1>
Adams-iMac:Desktop adam$
- Rebooted
- kexts are loaded
Adams-iMac:Desktop adam$ kextstat |grep -i vbox
106 3 0xffffff7f83e48000 0x64000 0x64000 org.virtualbox.kext.VBoxDrv (5.2.22) D2696352-336F-361B-8717-797487B076F5 <8 6 5 3 1>
160 0 0xffffff7f84b03000 0x8000 0x8000 org.virtualbox.kext.VBoxUSB (5.2.22) B3032E66-0313-3B15-AE85-38D3773435BB <159 106 53 8 6 5 3 1>
169 0 0xffffff7f84bdd000 0x5000 0x5000 org.virtualbox.kext.VBoxNetFlt (5.2.22) 139430EF-8433-390B-A389-C7DC9B3B50C4 <106 8 6 5 3 1>
170 0 0xffffff7f84be2000 0x6000 0x6000 org.virtualbox.kext.VBoxNetAdp (5.2.22) F11F6B94-BF8D-3841-85BB-EFFBBF27CE29 <106 6 5 1>
Adams-iMac:Desktop adam$
- Ran VirtualBox -> failed with the same message as ever.
So both 6.0.0 and 5.2.22 fail in the exact same way.
Re: VirtualBox fails to start macosx Mojave 10.14.2
Posted: 4. Jan 2019, 19:12
by socratis
Please post the output of:
Re: VirtualBox fails to start macosx Mojave 10.14.2
Posted: 4. Jan 2019, 20:36
by Beast Of Bodmin
Adams-iMac:Desktop adam$ kextstat | grep -v com.apple
Index Refs Address Size Wired Name (Version) UUID <Linked Against>
106 3 0xffffff7f83e48000 0x64000 0x64000 org.virtualbox.kext.VBoxDrv (5.2.22) D2696352-336F-361B-8717-797487B076F5 <8 6 5 3 1>
160 0 0xffffff7f84b03000 0x8000 0x8000 org.virtualbox.kext.VBoxUSB (5.2.22) B3032E66-0313-3B15-AE85-38D3773435BB <159 106 53 8 6 5 3 1>
169 0 0xffffff7f84bdd000 0x5000 0x5000 org.virtualbox.kext.VBoxNetFlt (5.2.22) 139430EF-8433-390B-A389-C7DC9B3B50C4 <106 8 6 5 3 1>
170 0 0xffffff7f84be2000 0x6000 0x6000 org.virtualbox.kext.VBoxNetAdp (5.2.22) F11F6B94-BF8D-3841-85BB-EFFBBF27CE29 <106 6 5 1>
Adams-iMac:Desktop adam$
Re: VirtualBox fails to start macosx Mojave 10.14.2
Posted: 6. Jan 2019, 04:15
by socratis
Basics look fine. Which means that we have to dig deeper...
Do you have any system-wide modifying software? HomeBrew, Macports? Post the output of the command (from /Applications/Utilities/Terminal). Note that it's a single command split over several lines:
Re: VirtualBox fails to start macosx Mojave 10.14.2
Posted: 6. Jan 2019, 15:39
by Beast Of Bodmin
Code: Select all
drwxr-xr-x 31 root wheel 992 Dec 21 19:07 //
drwxrwxr-x+ 100 root admin 3200 Jan 5 07:05 /Applications/
0: group:everyone deny delete
drwxr-xr-x 3 root admin 96 Jan 4 17:05 /Applications/VirtualBox.app/
-rw-r--r-- 1 root admin 5534976 Nov 8 21:01 /Applications/VirtualBox.app/Contents/MacOS/VBoxRT.dylib
-rwsr-xr-x 1 root admin 157328 Nov 8 21:01 /Applications/VirtualBox.app/Contents/MacOS/VirtualBox*
-rwsr-xr-x 1 root admin 157264 Nov 8 21:01 /Applications/VirtualBox.app/Contents/MacOS/VirtualBoxVM*
drwxr-xr-x 6 root wheel 192 Nov 14 20:06 /private/
drwxr-xr-x 117 root wheel 3744 Jan 4 17:11 /private/etc/
-r--r----- 1 root wheel 1563 Feb 19 2018 /private/etc/sudoers
drwxrwxrwt 9 root wheel 288 Jan 6 14:37 /private/tmp/
Adams-iMac:Desktop adam$
Since the machine's "reset" this year, I haven't got round to installing macports. The only major "foreign" software installed is MS Office.
The only other application I can remember, that wants to have a kext enabled is Sony's PlayMemories Home. As it happens, this app complained on Friday when I fired it up to transfer some movies I took earlier in the week.
Re: VirtualBox fails to start macosx Mojave 10.14.2
Posted: 6. Jan 2019, 17:33
by socratis
Although you had to make me downgrade twice (you could have told me that this was 5.2.22), I can't see any differences between the two outputs.
Beast Of Bodmin wrote:As it happens, this app complained on Friday when I fired it up to transfer some movies I took earlier in the week.
Maybe then you have a more fundamental problem in your hands? Something that doesn't have anything to do with VirtualBox alone? How would you feel about an OS re-installation? You know, boot from the recovery partition and re-install the OS while keeping your apps?
And then uninstall 5.2.22 and install 6.0.0?
Re: VirtualBox fails to start macosx Mojave 10.14.2
Posted: 6. Jan 2019, 22:21
by Beast Of Bodmin
socratis wrote:Although you had to make me downgrade twice (you could have told me that this was 5.2.22), I can't see any differences between the two outputs.
I'm sorry if I didn't make it clear. If you go back to my earlier post, you'll see that I explained what I did.
Beast of Bodmin wrote:Uninstalled 6.0.0
Rebooted
Downloaded and installed 5.2.22 VirtualBox-5.2.22-126460-OSX.dmg
I am in the admin group
...
Beast Of Bodmin wrote:As it happens, this app complained on Friday when I fired it up to transfer some movies I took earlier in the week.
socratis wrote:Maybe then you have a more fundamental problem in your hands? Something that doesn't have anything to do with VirtualBox alone? How would you feel about an OS re-installation? You know, boot from the recovery partition and re-install the OS while keeping your apps?
And then uninstall 5.2.22 and install 6.0.0?
I ran up PlayMemories Home and it is running fine.
As for a re-stage, I will have to think about that.
Re: VirtualBox fails to start macosx Mojave 10.14.2
Posted: 3. Mar 2019, 12:36
by Beast Of Bodmin
Instead of a restage, I installed macOS on an external drive.
VBox 6.0.4 now starts.
Now to find or create a macOS guest image...
sh-3.2# kextstat |grep -i vbox
179 3 0xffffff7f8628e000 0xef000 0xef000 org.virtualbox.kext.VBoxDrv (6.0.4) B3C930F3-E26A-3EAF-A252-107E7A11FBD2 <8 6 5 3 1>
181 0 0xffffff7f86380000 0x8000 0x8000 org.virtualbox.kext.VBoxUSB (6.0.4) 90FE754B-B46F-32F8-8D2C-02EB31FB78BE <180 179 53 8 6 5 3 1>
182 0 0xffffff7f86388000 0x5000 0x5000 org.virtualbox.kext.VBoxNetFlt (6.0.4) 81B0D8D5-7054-3283-9E2A-9F7C6CC34D4C <179 8 6 5 3 1>
183 0 0xffffff7f8638d000 0x6000 0x6000 org.virtualbox.kext.VBoxNetAdp (6.0.4) 7565C853-F81D-3BF1-885E-6F5D18282AF5 <179 6 5 1>
sh-3.2# grep -i vbox -A 1 /System/Library/Extensions/AppleKextExcludeList.kext/Contents/Info.plist
<key>org.virtualbox.kext.VBoxDrv</key>
<string>LT 5.2.14</string>
sh-3.2# ls -l /System/Library/Extensions/AppleKextExcludeList.kext/Contents/Info.plist
-rw-r--r-- 1 root wheel 1029992 Aug 18 2018 /System/Library/Extensions/AppleKextExcludeList.kext/Contents/Info.plist
sh-3.2#