Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Virtual Box on OL 6 x86_64 vboxdrv kernel module is not loaded. current kernel (2.6.32-573.7.1.el6.x

EAAR-ITCOct 4 2015 — edited Oct 5 2015

Hi All

Im trying to install and to start the VB on Linux x64, when I type the Virtual BOx command after installing the RPm I receive the following message  , and it says the kernel is not loaded , is not very clear to me since on the install docs it doesnt ay too much ,,, any ideas how to solve this?

Regards

Recompiling VirtualBox kernel modules                  [FAILED]

[oracle@EAAR-G750JX-OL ~]$ VirtualBox

WARNING: The vboxdrv kernel module is not loaded. Either there is no module

         available for the current kernel (2.6.32-573.7.1.el6.x86_64) 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.

[oracle@EAAR-G750JX-OL ~]$ sudo /etc/init.d/vboxdrv setup

Stopping VirtualBox kernel modules                         [  OK  ]

Recompiling VirtualBox kernel modules                      [FAILED]

  (Look at /var/log/vbox-install.log to find out what went wrong)

[oracle@EAAR-G750JX-OL ~]$ more /var/log/vbox-install.log

Makefile:185: *** Error: unable to find the sources of your current Linux kernel

. Specify KERN_DIR=<directory> and run Make again.  Stop.

Makefile:185: *** Error: unable to find the sources of your current Linux kernel

. Specify KERN_DIR=<directory> and run Make again.  Stop.

[oracle@EAAR-G750JX-OL ~]$ unam -r

bash: unam: command not found

[oracle@EAAR-G750JX-OL ~]$ uname -r

2.6.32-573.7.1.el6.x86_64

This post has been answered by Dude! on Oct 5 2015
Jump to Answer
Comments
Post Details
Added on Oct 4 2015
8 comments
2,551 views