Failed to install using DKMS, attempting to install without
Posted: 18. May 2014, 10:56
When i try to run a VM in virtualBox i get the error
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
When i try to run /etc/init.d/vboxdrv setup ( as root) i get an error saying
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
Looking in the log file i see:
DKMS: add completed.
Failed to install using DKMS, attempting to install without
Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
i have tried specifying the KERN_DIR with the command
/etc/init.d/vboxdrv setup KERN_DIR=/usr/src/kernels/2.6.32-431.17.1.el6.x86_64
I still get the same issue.
I am completely new to Linux so not sure where to turn next. any help appreciated.
Thanks,
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
When i try to run /etc/init.d/vboxdrv setup ( as root) i get an error saying
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
Looking in the log file i see:
DKMS: add completed.
Failed to install using DKMS, attempting to install without
Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
i have tried specifying the KERN_DIR with the command
/etc/init.d/vboxdrv setup KERN_DIR=/usr/src/kernels/2.6.32-431.17.1.el6.x86_64
I still get the same issue.
I am completely new to Linux so not sure where to turn next. any help appreciated.
Thanks,