This question already has an answer here:
I am using Ubuntu, and I am trying to install virtualbox. But I get this error. If anyone knows how to solve this, please, tell me.
Error: WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (2.6.32-042stab092.2) 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.
*Edit: After ThomasW's answer this showed up:
ERROR ON LOG: Error log file: Uninstalling modules from DKMS Attempting to install using DKMS 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