All pastes #992371 Raw Edit

Virtual Box Error

public text v1 · immutable
#992371 ·published 2008-04-21 20:00 UTC
rendered paste body
When I try to run Innotek Virtual Box I get an error:

VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup' as root.
VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).

Result Code: 
0x80004005
Component: 
Console
Interface: 
IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}

I was told to try this:
[root@localhost ~]# /etc/init.d/vboxdrv setup

That gave me this:
Stopping VirtualBox kernel module                               [  OK  ]
Recompiling VirtualBox kernel module                            [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)

The /var/log/vbox-install.log says: 
Makefile:78: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
Makefile:86: *** Error: /usr/src/linux (version 2.6.22.9-1mdvcustom) does not match the current kernel (version 2.6.22.18-server-1mdv).  Stop.