[root@redstation peter]# yum install dkms> You will not be able to start VMs until this problem is fixed.
Loaded plugins: refresh-packagekit, security
ol6_UEK_latest | 1.2 kB 00:00
ol6_latest | 1.4 kB 00:00
ol6_latest/primary | 24 MB 01:45
Setting up Install Process
No package dkms available.
Error: Nothing to do
[root@redstation peter]# VirtualBox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (2.6.39-300.17.3.el6uek.x86_64) or it failed to
load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
Qt WARNING: QGtkStyle was unable to detect the current GTK+ theme.And in the log still say
Qt WARNING: Qt: Session management error: None of the authentication protocols specified are supported
[root@redstation peter]# 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)
Makefile:181: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. StopIt looks like there is no dkms for OL ????????? I don't understand what is happening or what is NOT happening
Here is what you need to install under Oracle Linux or Red Hat Enterprise Linux to install the VirtualBox Guest Additions:Thanks to Dude
yum -y install gcc kernel-uek-devel-$(uname -r)
The packages are available from the Oracle public yum repository as already mentioned, or on the installation DVD in the server directory.