Genymotion, "Unable to load VirtualBox engine." on Mavericks. VBox is setup correctly

I keep getting the following error:

enter image description here

I have reinstalled, deleted and tried about EVERYTHING to get Genymotion to work again.

I do not have the device I need, but Genymotion was PERFECT for the job, until Mavericks update I have been fighting to get it to work again.

MacBook Pro, Retina 13-inch, Early 2013. i5, 8gb.

I'm running version 1.3.1 for os x. I do have Virtualbox 4.3 installed with Oracle_VM_VirtualBox_Extension_Pack-4.3.0-89960.vbox-extpack too.

My Virtualbox starts up normally without ANY errors. I tried Environment variables putting vbox on my $PATH, all sorts of things. Nothing works!

I have no idea what to do anymore, anyone out there had similar problems and fixed it ?

EDIT: LOG:

Oct 28 09:49:36 [Genymotion] [Warning] ****  STARTING GENYMOTION  ****
Oct 28 09:49:36 [Genymotion] [Warning] Genymotion Version: Genymotion 1.3.1
Oct 28 09:49:36 [Genymotion] [Debug] Network request to URL:  "/launchpad/last_version/mac/x64/"
Oct 28 09:49:39 [Genymotion] [Debug] Genymotion server informs that version  "1.3.0"  is available from  "https://ssl-files.genymotion.com/genymotion/genymotion-1.3.0/genymotion-1.3.0.dmg"
Oct 28 09:49:39 [Genymotion] [Debug] Version: "1"
Oct 28 09:49:39 [Genymotion] [Error] Genymotion is newer than the database... how is possible?
Oct 28 09:49:39 [Genymotion] [Debug] Getting currently authenticated user from  local cache
Oct 28 09:49:39 [Genymotion] [Debug] Loading "vboxmanage" plugin
Oct 28 09:49:39 [Genymotion] [Debug] Library loaded with success
Oct 28 09:49:39 [Genymotion] [Debug] Chipset: "GenuineIntel"
Oct 28 09:49:39 [Genymotion] [Debug] CPUID 0x1 (Intel): ECX= "7fbae3bf"
Oct 28 09:49:39 [Genymotion] [Debug] VBoxManage path (default value): "VBoxManage"
Oct 28 09:50:09 [Genymotion] [Debug] Can't run VBoxManage ("list", "hostonlyifs")
Oct 28 09:50:09 [Genymotion] [Warning] QProcess: Destroyed while process is still running.
Oct 28 09:50:09 [Genymotion] [Error] "Fail to load vboxmanage plugin from /Applications/Genymotion.app/Contents/MacOS/plugins/"
Oct 28 09:50:09 [Genymotion] [Error] Unable to find VM Engine. Plugin loading aborted.

EDIT 2:

VBoxManage list hostonlyifs

Prints the following:

VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Code NS_BASE_STREAM_WOULD_BLOCK (0x80470007) - Stream operation would block (extended info not available)
VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start.
133285 次浏览

好吧,在一整天的高效率下水道后,我得到了它的工作。

首先我卸载了 Genymotion 和虚拟机的所有痕迹。 然后,我继续安装 Genymotion,然后再次安装 Virtual Box,但是是以前的版本(4.2.18)

我运行了 Genymotion,下载了一张图片,我收到了一条关于网络运行的错误消息。 所以我直接在虚拟盒子里运行它,它开始100% 与网络和一切。 我关闭了它,进入 Image 的设置,并将第一个适配器更改为“主机专用”。

我再次打开 Genymotion 发射器,“播放”我的设备,它开始没有问题。

我遇到了同样的问题,并通过运行以下命令解决了它:

sudo /Library/StartupItems/VirtualBox/VirtualBox restart

在以后的版本中,命令是

sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart

确保在 System Preferences-> Security and Privacy-> General (安装 VirtualBox 时会弹出一个窗口)中解锁了 VirtualBox 的内核扩展。

最终,您的 /Library/StartupItems中可能没有任何内容。

使用以下命令有所帮助:

sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart

我在两个不同的 Mavericks 安装上都成功了。

你需要重新启动 VirtualBox 服务,你可以这样做:

sudo /Library/StartupItems/VirtualBox/VirtualBox restart

如果此路径中为空,则可以使用:

sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart

在我使用 Parallels 之后,我总是需要这样做。

用卸载程序卸载 VirtualBox (它附带 dmg) ,然后再次安装 VirtualBox。

在 Win7中,对我有效的方法是删除主机专用网络(在 Oracle 虚拟机首选项菜单[ CTRL + G ]-> 网络-> 主机专用网络)。Genymotion 将在下一次虚拟设备启动时自动重新创建它。

For those who are hitting this thread from Mac OSX with the same error message but a potentially different problem:

1)检查你是否已经通过/应用程序打开了 GenyMotion,以及你是否已经启用了互联网权限

2)从这里安装 Virtual box: https://www.virtualbox.org/wiki/Downloads。下载并安装后,重试运行 GenyMotion

3) If those do not work, try Mul0w''s suggestion:

sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart

删除主机专用网络帮助了我。 1. 打开虚拟盒子 2. 文件-> 首选项-> 网络 3. 选择主机专用网络并删除它。

Now try starting the Genymotion.

对 Arch Linux 来说,试试这个:

sudo vboxreload

在 Ubuntu GNU/Linux 上:

sudo /etc/init.d/vboxdrv setup

更新: Genymotion 的2.5.1版本(https://www.genymotion.com/#!/release-notes/251#251)似乎已经解决了这个问题


对于那些稍后可能会碰到这个问题的人,我通过安装 VirtualBox4.3.28(https://www.virtualbox.org/wiki/Download_Old_Builds_4_3)解决了这个问题。新的5.0.0和4.3.30版本在 Genymotion 2.5中无法工作。上述方法都不管用:

同样值得注意的是,在撰写本文时,Genymotion 的 FAQ 声明如下:

但是,出于性能原因,我们建议使用版本4.3.12

Virtual box version 4.3.28 worked with Genymotion 2.5.2 for me. Nothing else seemed to work.

从约塞米蒂国家公园升级到首都时就会这样。需要重新安装虚拟机。重新安装基因运动装置毫无用处。您将保持所有虚拟设备不变。

我还挣扎着安装 El 船长。 我安装了 VirtualBox 4.3.26版本,其他最新版本对我不起作用。 它像魔法一样有效:)

在 GNU/Linux 中,您可以使用这个命令

 /etc/init.d/virtualbox

Options

  • 开始
  • 别说了
  • 停下来
  • 重新开始
  • 重新装弹
  • 地位

比如说

 /etc/init.d/virtualbox force-reload

祝你好运

i installed Oracle virtualbox (下载链接) then everything working fine

在 Ubuntu 16.04上,vboxdrv 不在/etc/init.d 中,因此必须运行以下命令:

/usr/lib/virtualbox/vboxdrv.sh setup