Oracle virtualbox installation error on linux 5.6 (64 bit)
The errors while configure oracle virtual box on Linux.
Download VirtualBox for Redhat 5 64bit
Oracle VirtualBox Download
Error 1:
[root@abc]# rpm -Uvh VirtualBox-4.1-4.1.4_74291_rhel5-1.x86_64.rpm
warning: VirtualBox-4.1-4.1.4_74291_rhel5-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 98ab5139
error: Failed dependencies:
libSDL-1.2.so.0()(64bit) is needed by VirtualBox-4.1-4.1.4_74291_rhel5-1.x86_64
Solution:-
========
when you face above error, you should install two rpms like follows [you can get it from your OS DVD (/media/RH../Packages/)]
SDL-1.2.14-2.el6.i686.rpm
SDL-1.2.14-2.el6.x86_64.rpm
[root@acb]# rpm -Uvh SDL-1.2.10-8.el5.i386.rpm
warning: SDL-1.2.10-8.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:SDL ########################################### [100%]
[root@abc]# rpm -Uvh SDL-1.2.10-8.el5.x86_64.rpm
warning: SDL-1.2.10-8.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:SDL ########################################### [100%]
Again I try to Install VirtualBox,
[root@abc]# rpm -Uvh VirtualBox-4.1-4.1.4_74291_rhel5-1.x86
warning: VirtualBox-4.1-4.1.4_74291_rhel5-1.x86_64.rpm: Header V4 DSA signature:
Preparing... ########################################### [100%]
1:VirtualBox-4.1 ########################################### [100%]
Creating group 'vboxusers'. VM users must be member of that group!
No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMS [FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
This time virtulbox was installed but i got a dkms error. this condition , you need to download
dkms-2.1.1.2-1.el5.rf.noarch.rpm package.
dkms-2.1.1.2-1.el5.rf.noarch.rpm
[root@abc]# rpm -Uvh dkms-2.1.1.2-1.el5.rf.noarch.rpm
warning: dkms-2.1.1.2-1.el5.rf.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79 e6
error: Failed dependencies:
kernel-devel is needed by dkms-2.1.1.2-1.el5.rf.noarch
Dependencies rpm package need. the above kernel-devel get it from OS DVD.
[root@abc]# rpm -Uvh kernel-devel-2.6.18-238.el5.x86_64.rpm
warning: kernel-devel-2.6.18-238.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:kernel-devel ########################################### [100%]
[root@abc]# rpm -Uvh dkms-2.1.1.2-1.el5.rf.noarch.rpm
warning: dkms-2.1.1.2-1.el5.rf.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79 e6
Preparing... ########################################### [100%]
1:dkms ########################################### [100%]
Again I try to install Oracle Virtulbox
[root@abc]# rpm -Uvh VirtualBox-4.1-4.1.4_74291_rhel5-1.x86_64.rpm
warning: VirtualBox-4.1-4.1.4_74291_rhel5-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 98ab5139
Preparing... ########################################### [100%]
package VirtualBox-4.1-4.1.4_74291_rhel5-1.x86_64 is already installed
It show package already Installed, just remove this rpm package and install it again.
[root@abc]# rpm -e VirtualBox-4.1-4.1.4_74291_rhel5-1.x86_64
[root@abc]# rpm -Uvh VirtualBox-4.1-4.1.4_74291_rhel5-1.x86_64.rpm
warning: VirtualBox-4.1-4.1.4_74291_rhel5-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 98ab5139
Preparing... ########################################### [100%]
1:VirtualBox-4.1 ########################################### [100%]
Creating group 'vboxusers'. VM users must be member of that group!
No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMS [ OK ]
Starting VirtualBox kernel modules [ OK ]
[root@abc]#
Rebuild Kerel Modules for VirtualBox
#service vboxdrv setup
Or /etc/init.d/vboxdrv setup
Start VirtualBox
#VirtualBox
OR
Now Everything was okay.
Go to –> Applications –> System Tools –> Oracle VM VirtualBox