[英]Genymotion "Unable to load VirtualBox engine" on Fedora 23
安装genymotion
后发现genymotion
需要一些在fedora 23
中不存在的 64 位库。
安装了它们,现在在尝试运行genymotion
时出现关于VirtualBox
错误:
Unable to load VirtualBox engine.Make sure that it is properly installed before starting Genymotion.
我确信安装VirtualBox
没有发生错误。 无论如何,这是来自genymotion
的日志。
Apr 7 18:32:00 [Genymotion] [Warning] **** STARTING GENYMOTION ****
Apr 7 18:32:00 [Genymotion] [Warning] Genymotion Version: Genymotion 2.6.0
Apr 7 18:32:04 [Genymotion] [Error] Network error while retrieving JSON content: 0
Apr 7 18:32:04 [Genymotion] [Error] [getGenymotionLastVersion] Bad request: "/launchpad/last_version/linux/x64/"
Apr 7 18:32:04 [Genymotion] [Error] Unable to get last Genymotion version number from server: 0
Apr 7 18:32:05 [Genymotion] [Warning] QIODevice::read: device not open
Apr 7 18:32:06 [Genymotion] [Error] [createHostOnlyInterface] Creating new host-only interface
Apr 7 18:32:06 [Genymotion] [Error] VBoxManage ("hostonlyif", "create") returns 1
Apr 7 18:32:06 [Genymotion] [Error] Output command: "0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg*)" at line 71 of file VBoxManageHostonly.cpp"
Apr 7 18:32:06 [Genymotion] [Error] [createHostOnlyInterface] Failed to create interface
Apr 7 18:32:06 [Genymotion] [Error] "Fail to load vboxmanage plugin from /opt/genymobile/genymotion/plugins/"
Apr 7 18:32:06 [Genymotion] [Error] VM Engine failed to load
Apr 7 18:32:06 [Genymotion] [Error] Unable to find VM Engine. Plugin loading aborted.
Apr 7 18:32:06 [Genymotion] [Warning] [LogCollector] Running "/opt/genymobile/genymotion/tools/glewinfo" with args ()
Apr 7 18:32:06 [Genymotion] [Warning] [LogCollector] Running "lsmod" with args ()
Apr 7 18:32:06 [Genymotion] [Warning] [LogCollector] Running "lspci" with args ()
Apr 7 18:32:06 [Genymotion] [Warning] [LogCollector] Running "ip" with args ("rule")
Apr 7 18:32:06 [Genymotion] [Warning] [LogCollector] Running "ip" with args ("route")
Apr 7 18:32:06 [Genymotion] [Warning] [LogCollector] Running "free" with args ()
Apr 7 18:32:06 [Genymotion] [Warning] [LogCollector] Running "ps" with args ("afx")
Apr 7 18:32:06 [Genymotion] [Warning] [LogCollector] Running "df" with args ("-kh")
Apr 7 18:32:06 [Genymotion] [Warning] [LogCollector] Running "dmesg" with args ()
Apr 7 18:32:06 [Genymotion] [Warning] [LogCollector] Running "cat" with args ("/proc/cpuinfo")
Apr 7 18:32:21 [Genymotion] [Error] **** STOPPING GENYMOTION WITH ERROR ****
Apr 7 18:32:21 [Genymotion] [Warning] **** STOPPING GENYMOTION ****
Apr 7 18:32:21 [Genymotion] [Error] [Stats] Can't open database: QSqlError("", "Driver not loaded", "Driver not loaded")
Apr 7 18:32:21 [Genymotion] [Warning] QSqlQuery::exec: database not open
Apr 7 18:32:21 [Genymotion] [Warning] [Stats] SQLite error: QSqlError("", "Driver not loaded", "Driver not loaded")
我是Linux
和VirtualBox
新手。
好的! 找出问题所在。 写下这个答案,以便它可以帮助其他有类似问题的人。
问题出在 virtualbox 上,当 genymotion 运行它时,virtualbox 需要指向内核。 事实证明我已经安装了所需的软件包,但与我的内核版本不同。 所以,我所要做的就是更新软件包。
步骤2中的包是virtualbox需要的,安装前最好更新系统; 确保系统自动下载这些软件包的适当版本。
1) 更新内核/系统,
dnf update
2)安装以下软件包,
dnf install dkms gcc kernel-headers kernel-devel
参考: https : //www.virtualbox.org/manual/ch02.html#install-linux-host
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.