Fedora 23 上的 Genymotion "Unable to load VirtualBox engine"
Genymotion "Unable to load VirtualBox engine" on Fedora 23
安装 genymotion
后发现 genymotion
需要一些 64 位库,而 fedora 23
中没有。
已安装,现在在尝试 运行 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 需要指向内核。事实证明我已经安装了所需的软件包,但与我的内核版本不同。所以,我所要做的就是更新软件包。
virtualbox需要步骤2中的包,安装前最好更新系统;确保系统自动下载这些软件包的适当版本。
1) 更新 kernel/system,
dnf update
2) 安装以下软件包,
dnf install dkms gcc kernel-headers kernel-devel
参考:https://www.virtualbox.org/manual/ch02.html#install-linux-host
安装 genymotion
后发现 genymotion
需要一些 64 位库,而 fedora 23
中没有。
已安装,现在在尝试 运行 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 需要指向内核。事实证明我已经安装了所需的软件包,但与我的内核版本不同。所以,我所要做的就是更新软件包。
virtualbox需要步骤2中的包,安装前最好更新系统;确保系统自动下载这些软件包的适当版本。
1) 更新 kernel/system,
dnf update
2) 安装以下软件包,
dnf install dkms gcc kernel-headers kernel-devel
参考:https://www.virtualbox.org/manual/ch02.html#install-linux-host