F29 VirtualBox - vboxdrv failed
Hello,
I'm trying to run the last version of VirtualBox 6.0.2 on my Fedora 29, however I'm getting error regarding the Kernel modules.
Failed to create a host network interface.
VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory.
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: HostNetworkInterfaceWrap
Interface: IHostNetworkInterface {455f8c45-44a0-a470-ba20-27890b96dba9}
I've the Kernel-devel dkms kernel-headers installed to my kernel
Package kernel-devel-4.19.15-300.fc29.x86_64 is already installed.
Package dkms-2.6.1-2.fc29.noarch is already installed.
Package kernel-headers-4.19.15-300.fc29.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
When I try to run the manually i get error
1:VirtualBox-6.0-6.0.2_128162_fedor################################# [100%]
Creating group 'vboxusers'. VM users must be member of that group!
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig as root.
How i solved?
First disable SELinux on /etc/selinux/config set SELINUX=DISABLED
Then after check deeply dmesg -w I found that it was lockdown because the module is not signed also security boot was enabled so i needed to use mokutil to disable it
sudo mokutil --disable-validation
reboot follow the steps and disable the secure boot
then run agan /sbin/vboxconfig setup
EDIT 1#:
When running sudo '/sbin/vboxconfig' or from a Root terminal i get the following message: vboxdrv.sh: Stopping VirtualBox services. vboxdrv.sh: Starting VirtualBox services. vboxdrv.sh: Building VirtualBox kernel modules. vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root.
EDIT 2#:
# dmesg | grep vbox
[ 67.177565] audit: type=1130 audit(1547986786.501:244): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=vboxdrv comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
[ 67.186015] audit: type=1130 audit(1547986786.510:245): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=vboxautostart-service comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 67.187091] audit: type=1130 audit(1547986786.511:246): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=vboxweb-service comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 67.188100] audit: type=1130 audit(1547986786.512:247): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=vboxballoonctrl-service comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
EDIT 3#:
# dnf install kernel kernel-devel kernel-header
Package kernel-4.19.14-300.fc29.x86_64 is already installed.
Package kernel-4.19.15-300.fc29.x86_64 is already installed.
Package kernel-devel-4.19.15-300.fc29.x86_64 is already installed.
No match for argument: kernel-header
Error: Unable to find a match
# dnf install kernel-header-4.19.15.300.fc29.x86_69
Last metadata expiration check: 0:01:01 ago on Mon 21 Jan 2019 19:44:44 WET.
No match for argument: kernel-header-4.19.15.300.fc29.x86_69
Error: Unable to find ...
Reboot and try again.
Done multiple times as well as full remove of the package and re-install... unfortunately still same situation
run like a dkms*...it'll be more to solve the problem. virtualbox good run in F29...Have a nice day...
how is it firewalld status? check like this...
Thanks this was a hint! i managed to solved with the infromation i've added above! thanks for your support!