Kernel 游荡起来,VM不';不戴软呢帽22
我有一个问题,当我想用流浪汉的时候,我得到了错误Kernel 游荡起来,VM不';不戴软呢帽22,kernel,vagrant,virtualbox,fedora,Kernel,Vagrant,Virtualbox,Fedora,我有一个问题,当我想用流浪汉的时候,我得到了错误 The provider 'virtualbox' that was requested to back the machine 'default' is reporting that it isn't usable on this system. The reason is shown below: VirtualBox is complaining that the kernel module is not loaded. Please r
The provider 'virtualbox' that was requested to back the machine
'default' is reporting that it isn't usable on this system. The
reason is shown below:
VirtualBox is complaining that the kernel module is not loaded. Please
run `VBoxManage --version` or open the VirtualBox GUI to see the error
message which should contain instructions on how to fix this error.
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modulesError! Could not locate dkms.conf file.
File: does not exist.
[ OK ]
Removing old VirtualBox netadp kernel module [ OK ]
Removing old VirtualBox netflt kernel module [ OK ]
Removing old VirtualBox kernel module [ OK ]
Trying to register the VirtualBox kernel modules using DKMSError! Bad return status for module build on kernel: 4.2.3-200.fc22.x86_64 (x86_64)
Consult /var/lib/dkms/vboxhost/4.2.32/build/make.log for more information.
[ERROR]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [ERROR]
(Look at /var/log/vbox-install.log to find out what went wrong)
写入VBoxManage--version
I之后
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (4.2.3-200.fc22.x86_64) or it failed to
load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.
4.2.32r101581
和sudo/etc/init.d/vboxdrv设置
我犯了一个错误
The provider 'virtualbox' that was requested to back the machine
'default' is reporting that it isn't usable on this system. The
reason is shown below:
VirtualBox is complaining that the kernel module is not loaded. Please
run `VBoxManage --version` or open the VirtualBox GUI to see the error
message which should contain instructions on how to fix this error.
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modulesError! Could not locate dkms.conf file.
File: does not exist.
[ OK ]
Removing old VirtualBox netadp kernel module [ OK ]
Removing old VirtualBox netflt kernel module [ OK ]
Removing old VirtualBox kernel module [ OK ]
Trying to register the VirtualBox kernel modules using DKMSError! Bad return status for module build on kernel: 4.2.3-200.fc22.x86_64 (x86_64)
Consult /var/lib/dkms/vboxhost/4.2.32/build/make.log for more information.
[ERROR]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [ERROR]
(Look at /var/log/vbox-install.log to find out what went wrong)
我不知道哪里出了问题,我尝试了更新内核开发、内核头、DKM等。我将VirtualBox从4.3.30降级到4.2.32,但没有任何效果,请帮助我解决这个问题。当我有4.3.30版本的VirtualBoxsudo/etc/init.d/vboxdrv安装程序不工作时,我遇到了vboxdrv
-命令不存在的问题。昨天我正常工作,我关闭了机器和PC,今天,当我想使用vagrant up
时,我遇到了这个问题
对不起我的英语,请帮我,谢谢你的回答
//编辑:
我补充说
/var/lib/dkms/vboxhost/4.2.32/build/make.log
/var/log/vbox-install.log
请跑
sudoyum更新
请确保Vagrant和Virtualbox是最新版本
如果您已经安装并更新了kernel-devel,并且收到错误消息
vboxdrv-命令不存在
请运行:
sudo /usr/lib/virtualbox/vboxdrv.sh setup
我想补充一点,您必须安装gcc。。。为此,请确保先安装开发工具组,然后再进行其他操作。此外,您还需要当前的内核源代码
sudo dnf安装“kernel-devel-uname-r==$(uname-r)”
sudo dnf groupinstall“开发工具”
sudo dnf更新
sudo/usr/lib/virtualbox/vboxdrv.sh安装程序
对于大多数正在运行的VirtualBox 5.*Fedora 2[23]。sudo/usr/lib/VirtualBox/vboxdrv.sh安装程序
这一行解决了ubuntu 14.04上的错误。VirtualBoxLinux内核驱动程序(vboxdrv)可能没有加载。您可能没有为正在运行的内核安装内核驱动程序,如果是这样,您可以按root操作:
dnf install akmod-VirtualBox kernel-devel-$(uname -r)
akmods; systemctl restart systemd-modules-load.service
如果您安装了VirtualBox软件包,并且不想重新启动系统,则可能需要加载内核驱动程序,如root:
dnf install akmod-VirtualBox kernel-devel-$(uname -r)
akmods; systemctl restart systemd-modules-load.service
另外,请记住安装受支持的VirtualBox版本 经过漫长而痛苦的试验,我找到了解决办法。
在版本5.0.20
之前,Virtualbox rpm存在问题。
该问题已在测试构建5.0.21
中修复。从中获取测试构建
这是关于这个问题的参考资料你看了/var/lib/dkms/vboxhost/4.2.32/build/make.log
和/var/log/vbox install.log
了吗?是的,我什么都不懂<代码>建筑模块:清理建筑区域。。。make KERNELRELEASE=4.2.3-200.fc22.x86_64-C/lib/modules/4.2.3-200.fc22.x86_64/build M=/var/lib/dkms/vboxhost/4.2.32/build………(错误的退出状态:2)使用dkms安装失败,尝试在没有@/var/log/vbox install.log“52L的情况下安装,18326C和/var/log/vbox安装.log
?(如果您编辑您的问题以包含这些内容会更好)对不起,我想从错误中添加日志,但我无法这样做,我不知道为什么。sudo/usr/lib/virtualbox/vboxdrv.sh setup
命令不存在。目前最新版本的virtualbox是5.0.6。您似乎仍然使用4.*?尝试sudo akmods,如果不起作用,您应该尝试安装sudo apt get install akmods。我也不想尝试重新安装vbox akmods;systemctl重新启动systemd模块加载。服务
帮了我的忙,重新启动没有