Genymotion"无法加载VirtualBox引擎"在Fedora 23上

时间:2016-04-07 14:11:05

标签: android linux virtualbox fedora avd

安装genymotion后,发现genymotion需要一些64位库,fedora 23中没有这些库。

已安装它们,现在尝试运行VirtualBox时此错误显示为genymotion

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")

我是LinuxVirtualBox的新手。

1 个答案:

答案 0 :(得分:1)

好!找出问题所在。写下这个答案,以便它可以帮助其他有类似问题的人。

问题在于virtualbox,当genymotion运行时,virtualbox需要指向内核。事实证明我已经安装了所需的软件包,但与我的内核版本不同。所以,我所要做的就是更新软件包。

虚拟机需要步骤2中的包装,在安装之前更好地更新系统;确保系统自动下载这些软件包的相应版本。

1)更新内核/系统,

dnf update

2)安装以下软件包

dnf install dkms gcc kernel-headers kernel-devel

参考:https://www.virtualbox.org/manual/ch02.html#install-linux-host