[Solved] Error -610 VBoxRT.dylib dlopen error failed: <NULL> macOS 10.13.3

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
wnm3
Posts: 8
Joined: 25. Sep 2013, 17:25

[Solved] Error -610 VBoxRT.dylib dlopen error failed: <NULL> macOS 10.13.3

Post by wnm3 »

I had been running 5.2.6 VB without issue other than it would blowup after I exported a VM sometimes. Today, after exporting the VM, I got a new error complaining about root access and uid's (I don't have that detail) suggesting I reinstall. I've reinstalled 5.2.6, 5.2.8, and the latest 5.2.9-121224-OSX.dmg without any luck. VB failed to load with this error to the console:

I am having a similar problem on 10.13.3:

Code: Select all

wnm3MacBook:MacOS wnm3$ ./VirtualBox
VirtualBox: Error -610 in supR3HardenedMainInitRuntime!
VirtualBox: dlopen("/Applications/VirtualBox.app/Contents/MacOS/VBoxRT.dylib",) failed: <NULL>

VirtualBox: Tip! It may help to reinstall VirtualBox.
I am attaching requested files from a similar post for VirtualBox not starting on macOS 13.3.2. There is nothing of note in the ~/Library/Logs though I did see the fsck_hfs.log with the following mention of virtualbox:

Code: Select all

fsck_hfs started at Wed Mar 21 16:10:24 2018
** /dev/rdisk4s1 (NO WRITE)
   Executing fsck_hfs (version hfs-407.30.1).
** Checking Journaled HFS Plus volume.
   The volume name is VirtualBox
** Checking extents overflow file.
** Checking catalog file.
** Checking multi-linked files.
** Checking catalog hierarchy.
** Checking extended attributes file.
** Checking volume bitmap.
** Checking volume information.
** The volume VirtualBox appears to be OK.
fsck_hfs completed at Wed Mar 21 16:10:24 2018
The kernel extensions are listed below:

Code: Select all

wnm3MacBook:download wnm3$ kextstat |grep virtualbox
  168    3 0xffffff7f84705000 0x64000    0x64000    org.virtualbox.kext.VBoxDrv (5.2.9) E1AD075C-9B51-3ABA-8D52-03BCCE7B8EE0 <7 5 4 3 1>
  170    0 0xffffff7f84769000 0x8000     0x8000     org.virtualbox.kext.VBoxUSB (5.2.9) 8380476E-3ECC-3274-9E06-9FB2B1D34501 <169 168 55 7 5 4 3 1>
  171    0 0xffffff7f84771000 0x5000     0x5000     org.virtualbox.kext.VBoxNetFlt (5.2.9) 038684CE-5BFA-3703-A6DF-C19A1D04FF8A <168 7 5 4 3 1>
  172    0 0xffffff7f84776000 0x6000     0x6000     org.virtualbox.kext.VBoxNetAdp (5.2.9) 16335F95-4BBE-3321-83EC-72181A94DCD1 <168 5 4 1>
Attachments
VBLogs.zip
The install log and the ls -ale@ listings
(9.21 KiB) Downloaded 13 times
Last edited by socratis on 9. Apr 2018, 12:59, edited 2 times in total.
Reason: Enclosed the information in [code] tag for better readability
wnm3
Posts: 8
Joined: 25. Sep 2013, 17:25

Re: Error -610 VBoxRT.dylib dlopen error failed: <NULL> macOS 10.13.3

Post by wnm3 »

Before the last install, this was the uninstaller output -- no errors I believe:

Code: Select all

The following files and directories (bundles) will be removed:
    /Users/wnm3/Library/LaunchAgents/org.virtualbox.vboxwebsrv.plist
    /usr/local/bin/VirtualBox
    /usr/local/bin/VBoxManage
    /usr/local/bin/VBoxVRDP
    /usr/local/bin/VBoxHeadless
    /usr/local/bin/vboxwebsrv
    /usr/local/bin/VBoxBugReport
    /usr/local/bin/VBoxBalloonCtrl
    /usr/local/bin/VBoxAutostart
    /usr/local/bin/VBoxDTrace
    /usr/local/bin/vbox-img
    /Library/LaunchDaemons/org.virtualbox.startup.plist
    /Library/Python/2.7/site-packages/vboxapi/VirtualBox_constants.py
    /Library/Python/2.7/site-packages/vboxapi/VirtualBox_constants.pyc
    /Library/Python/2.7/site-packages/vboxapi/__init__.py
    /Library/Python/2.7/site-packages/vboxapi/__init__.pyc
    /Library/Python/2.7/site-packages/vboxapi-1.0-py2.7.egg-info
    /Library/Application Support/VirtualBox/LaunchDaemons/
    /Library/Application Support/VirtualBox/VBoxDrv.kext/
    /Library/Application Support/VirtualBox/VBoxUSB.kext/
    /Library/Application Support/VirtualBox/VBoxNetFlt.kext/
    /Library/Application Support/VirtualBox/VBoxNetAdp.kext/
    /Applications/VirtualBox.app/
    /Library/Python/2.7/site-packages/vboxapi/

And the following KEXTs will be unloaded:
    org.virtualbox.kext.VBoxUSB
    org.virtualbox.kext.VBoxNetFlt
    org.virtualbox.kext.VBoxNetAdp
    org.virtualbox.kext.VBoxDrv

And the traces of following packages will be removed:
    org.virtualbox.pkg.vboxkexts
    org.virtualbox.pkg.virtualbox
    org.virtualbox.pkg.virtualboxcli

Do you wish to uninstall VirtualBox (Yes/No)?
Yes

The uninstallation processes requires administrative privileges
because some of the installed files cannot be removed by a normal
user. You may be prompted for your password now...

Please enter wnm3's password:
unloading org.virtualbox.kext.VBoxUSB
unloading org.virtualbox.kext.VBoxNetFlt
unloading org.virtualbox.kext.VBoxNetAdp
unloading org.virtualbox.kext.VBoxDrv
Successfully unloaded VirtualBox kernel extensions.
Forgot package 'org.virtualbox.pkg.vboxkexts' on '/'.
Forgot package 'org.virtualbox.pkg.virtualbox' on '/'.
Forgot package 'org.virtualbox.pkg.virtualboxcli' on '/'.
Done.
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]
Last edited by socratis on 9. Apr 2018, 13:00, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
wnm3
Posts: 8
Joined: 25. Sep 2013, 17:25

Re: Error -610 VBoxRT.dylib dlopen error failed: <NULL> macOS 10.13.3

Post by wnm3 »

I am dead in the water until I can get VirtualBox to work again. Please help if possible. Thank you.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Error -610 VBoxRT.dylib dlopen error failed: <NULL> macOS 10.13.3

Post by mpack »

I'm afraid that our usual OS X guy doesn't seem to be around today. All you can do is wait.
wnm3
Posts: 8
Joined: 25. Sep 2013, 17:25

Re: Error -610 VBoxRT.dylib dlopen error failed: <NULL> macOS 10.13.3

Post by wnm3 »

Perhaps someone could notify socrates about this issue? He had helped with this before, albeit for 10.13.2. Unfortunately, no resolution was ever posted for that problem.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Error -610 VBoxRT.dylib dlopen error failed: <NULL> macOS 10.13.3

Post by mpack »

We have no way to notify Socratis outside of the forums, and I don't believe it would be appropriate anyway: presumably he has a good reason for being absent. Bear in mind that these are user discussion forums, this is not technical support.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows, OSX
Location: U S of A

Re: Error -610 VBoxRT.dylib dlopen error failed: <NULL> macOS 10.13.3

Post by ChipMcK »

@ wnm3

searching internet for VBoxRT.dylib implies troubles with permissions.

So, try

Code: Select all

sudo /usr/libexec/repair_packages --repair --standard-pkgs --volume /
wnm3
Posts: 8
Joined: 25. Sep 2013, 17:25

Re: Error -610 VBoxRT.dylib dlopen error failed: <NULL> macOS 10.13.3

Post by wnm3 »

Unfortunately, this utility does not exist for High Sierra. Is there something specific I need to do for that file instead?
wnm3
Posts: 8
Joined: 25. Sep 2013, 17:25

Re: Error -610 VBoxRT.dylib dlopen error failed: <NULL> macOS 10.13.3

Post by wnm3 »

** Problem Resolved ** for some reason, my /Applications directory was owned by me and not root:admin
ls -ald /Applications
above showed owned by me... easily fixed with:
sudo chown root:admin Applications
sudo chmod o-w /Applications
ls -ald /Applications

Thank you everyone.
wnm3
Posts: 8
Joined: 25. Sep 2013, 17:25

Re: Error -610 VBoxRT.dylib dlopen error failed: <NULL> macOS 10.13.3

Post by wnm3 »

Perhaps the error message reported for this condition could be updated to provide better detail?
Post Reply