This question already has an answer here:
I'm trying to install Red Hat Enterprise Linux using VirtualBox in Ubuntu 17.10.
I have successfully installed it. But while running I'm getting the following error message:
I tried many times running the suggested command:
sudo /sbin/vboxconfig
But then I receive this error:
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.