I am configuring RAC on Oracle Enterprise Linux on Oracle Virtual Box.I am done with OS installation.Now, when I am creating shared disk with this command :-
$VBoxManage createhd --filename asm1.vdi --size 5120 --format VDI --variant Fixed, I am getting the error VBoxManage command not found.While googling , I found that due to some missing package ,it is giving this. But I did all the steps and found the packages to be ok.
[root@VM1 oracle]# sh ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.3.0 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 4.3.0 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox non-DKMS kernel modules [ OK ]
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
The missing package can be probably installed with
yum install kernel-uek-devel-2.6.39-400.209.1.el5uek
Building the main Guest Additions module [ OK ]
Building the shared folder support module [ OK ]
Building the OpenGL support module [ OK ]
Doing non-kernel setup of the Guest Additions [ OK ]
You should restart your guest to make sure the new modules are actually used
Installing the Window System drivers
Installing X.Org 7.1 modules [ OK ]
Setting up the Window System to use the Guest Additions [ OK ]
The following X.Org/XFree86 configuration files were originally generated by
the VirtualBox Guest Additions and were not modified:
You may need to restart the hal service and the Window System (or just restart
the guest system) to enable the Guest Additions.
Installing graphics libraries and desktop services componen[ OK ]
[root@VM1 oracle]# rpm -qa | grep kernel-uek-devel
[root@VM1 oracle]# uname -a
Linux VM1.tcs.com 2.6.39-400.209.1.el5uek #1 SMP Tue Sep 10 20:34:36 PDT 2013 i686 i686 i386 GNU/Linux
[root@VM1 oracle]# rpm -qa | grep kernel