installed/updated virtual box wont work now
Posted: 2011/04/20 18:40:37
I installed virtualbox but got an error. When I checked the log file I found this:
Edit: i should mentiopn I followed this document for the install:
http://wiki.centos.org/HowTos/Virtualization/VirtualBox
cat /var/log/vbox-install.log
Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.0.4
------------------------------
Deleting module version: 4.0.4
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxhost/4.0.4/source ->
/usr/src/vboxhost-4.0.4
DKMS: add Completed.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:167: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Stop.
Not sure how I am suppose to specify the KERN_DIR variable.
Should this be in my env settings?
How do I tell what it should be set at?
This is a new install ov virtualbox on a existing CentOS system. Which has been running for a good while just fine.
Edit: i should mentiopn I followed this document for the install:
http://wiki.centos.org/HowTos/Virtualization/VirtualBox
cat /var/log/vbox-install.log
Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.0.4
------------------------------
Deleting module version: 4.0.4
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxhost/4.0.4/source ->
/usr/src/vboxhost-4.0.4
DKMS: add Completed.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:167: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Stop.
Not sure how I am suppose to specify the KERN_DIR variable.
Should this be in my env settings?
How do I tell what it should be set at?
This is a new install ov virtualbox on a existing CentOS system. Which has been running for a good while just fine.