Page 1 of 1

VirtualBox on Centos5.2_I386 ?

Posted: 2. Jan 2009, 17:01
by dixioldie
Has anybody had the same problem (and hopefully also a solution):

I tried to install VirtualBox RHEL5 on CENTOS5.2: Installation worked without problems, but I could never start VirtualBox

OK. Uninstalled VirtualBox RHEL5 and tried to install RHEL4 version:
Installation failed: when checking dependencies, libpython2.3.so.1.0 is missing and could'nt be found.

What can I do to get VB working?

Posted: 2. Jan 2009, 17:12
by sej7278
worked fine for me. try using yum to pull in dependencies, if you used "rpm -Uvh" did it error about missing packages?

Code: Select all

 yum localinstall --nogpgcheck VirtualBox-2.1.0_41146_rhel5-1.i386.rpm 
then after its installed, you have to do "/etc/init.d/vboxdrv setup" as i recall.

you probably need to have kernel-devel and kernel-headers installed as well as gcc etc; oh and not be running a xen kernel.

you really have to give us more info - like error messages or what you mean by "it would never start". don't go installing the rhel4 rpm though.

VirtualBox on Centos 5.2 i286

Posted: 5. Jan 2009, 14:41
by dixioldie
After the last step, I got the messages:
[root@CES-14-HPCompaq download]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
[
The log file looks like:
[root@CES-14-HPCompaq download]# cat /var/log/vbox-install.log
Makefile:143: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
[
On other places, I got the info, that there are no source files available for Centos5.2
So, what can I do?

Re: VirtualBox on Centos 5.2 i286

Posted: 5. Jan 2009, 15:14
by sej7278
dixioldie wrote:On other places, I got the info, that there are no source files available for Centos5.2
So, what can I do?
that's rubbish.

Code: Select all

yum install kernel-devel kernel-headers
then try again.

Thanks!

Posted: 5. Jan 2009, 19:24
by dixioldie
Thanks a lot for the very precise information.
With your help, it works now.