Install these two packages and you should be good to go:
kernel-devel - Necessary
kernel-headers - Good to have just in case
What it is looking for in this is the kernel-devel package which is required
for virtual box to build it's custom kernel modules. - Dustin
On Mon, Sep 6, 2010 at 5:34 AM, Haridas, Rijeshk (NSN - IN/Bangalore) <
rijeshk.haridas@nsn.com> wrote:
> Hello,
>
> We have an usecase to install virtualbox on our RHEL5 server.
> I downloaded the latest 64 bit binary ie,
> VirtualBox-3.2-3.2.8_64453_rhel5-1.x86_64.rpm and did rpm -ivh <rpm name>.
>
> Its showing the below error .Can anyone help me out.it seems some library
> is missing.
>
>
> [root@pythagoras vmware]# rpm -ivh
> VirtualBox-3.2-3.2.8_64453_rhel5-1.x86_64.rpm
> warning: VirtualBox-3.2-3.2.8_64453_rhel5-1.x86_64.rpm: Header V4 DSA
> signature: NOKEY, key ID 98ab5139
> Preparing... ###########################################
> [100%]
> 1:VirtualBox-3.2 ###########################################
> [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.
>
> Compilation of the kernel module FAILED! VirtualBox will not start until
> this
> problem is fixed. Please consult /var/log/vbox-install.log to find out why
> the
> kernel module does not compile. Most probably the kernel sources are not
> found.
> Install them and execute
> /etc/init.d/vboxdrv setup
> as root.
>
> The /var/log/vbox-install.log shows the below error:
>
> ** Compiling vboxdrv
> Makefile:159: *** Error: unable to find the sources of your current Linux
> kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
>
> Is it looking for kernel-devel rpm??
>
>
> Regards,
> Rijesh
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
09-06-2010, 11:35 AM
Amit Maheshwari
Installing VirtualBox in RHEL5
Hi,
Check my Good article on VirtualBOX
*http://blog.onedollardata.com/?p=30 *
On Mon, Sep 6, 2010 at 4:04 PM, Haridas, Rijeshk (NSN - IN/Bangalore) <
rijeshk.haridas@nsn.com> wrote:
> Hello,
>
> We have an usecase to install virtualbox on our RHEL5 server.
> I downloaded the latest 64 bit binary ie,
> VirtualBox-3.2-3.2.8_64453_rhel5-1.x86_64.rpm and did rpm -ivh <rpm name>.
>
> Its showing the below error .Can anyone help me out.it seems some library
> is missing.
>
>
> [root@pythagoras vmware]# rpm -ivh
> VirtualBox-3.2-3.2.8_64453_rhel5-1.x86_64.rpm
> warning: VirtualBox-3.2-3.2.8_64453_rhel5-1.x86_64.rpm: Header V4 DSA
> signature: NOKEY, key ID 98ab5139
> Preparing... ###########################################
> [100%]
> 1:VirtualBox-3.2 ###########################################
> [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.
>
> Compilation of the kernel module FAILED! VirtualBox will not start until
> this
> problem is fixed. Please consult /var/log/vbox-install.log to find out why
> the
> kernel module does not compile. Most probably the kernel sources are not
> found.
> Install them and execute
> /etc/init.d/vboxdrv setup
> as root.
>
> The /var/log/vbox-install.log shows the below error:
>
> ** Compiling vboxdrv
> Makefile:159: *** Error: unable to find the sources of your current Linux
> kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
>
> Is it looking for kernel-devel rpm??
>
>
> Regards,
> Rijesh
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
--
Amit Maheshwari
Linux System Administrator
RHCE,MCSA,AFCEH,
New Delhi, INDIA
htttp://www.amitmaheshwari.in
http://onedollardata.com
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
09-06-2010, 01:53 PM
"Carl T. Miller"
Installing VirtualBox in RHEL5
Haridas, Rijeshk (NSN - IN/Bangalore) wrote:
> We have an usecase to install virtualbox on our RHEL5 server.
> I downloaded the latest 64 bit binary ie,
> VirtualBox-3.2-3.2.8_64453_rhel5-1.x86_64.rpm and did rpm -ivh <rpm name>.
>
> Its showing the below error .Can anyone help me out.it seems some library
> is missing.
I do minimal installations, and the only required packages to
build VirtualBox are gcc and kernel-devel.
Did you know you can add a yum repo for VirtualBox? Save this
file in /etc/yum.repos:
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
09-06-2010, 02:15 PM
"Paul M. Whitney"
Installing VirtualBox in RHEL5
Probably both kernel-devel and kernel-headers.
Paul
On Sep 6, 2010, at 6:34 AM, Haridas, Rijeshk (NSN - IN/Bangalore) wrote:
> Hello,
>
> We have an usecase to install virtualbox on our RHEL5 server.
> I downloaded the latest 64 bit binary ie, VirtualBox-3.2-3.2.8_64453_rhel5-1.x86_64.rpm and did rpm -ivh <rpm name>.
>
> Its showing the below error .Can anyone help me out.it seems some library is missing.
>
>
> [root@pythagoras vmware]# rpm -ivh VirtualBox-3.2-3.2.8_64453_rhel5-1.x86_64.rpm
> warning: VirtualBox-3.2-3.2.8_64453_rhel5-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 98ab5139
> Preparing... ########################################### [100%]
> 1:VirtualBox-3.2 ########################################### [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.
>
> Compilation of the kernel module FAILED! VirtualBox will not start until this
> problem is fixed. Please consult /var/log/vbox-install.log to find out why the
> kernel module does not compile. Most probably the kernel sources are not found.
> Install them and execute
> /etc/init.d/vboxdrv setup
> as root.
>
> The /var/log/vbox-install.log shows the below error:
>
> ** Compiling vboxdrv
> Makefile:159: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
>
> Is it looking for kernel-devel rpm??
>
>
> Regards,
> Rijesh
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
09-08-2010, 08:11 AM
"Haridas, Rijeshk (NSN - IN/Bangalore)"
Installing VirtualBox in RHEL5
Thanks to all for your replies.
I have written a small blog post in general about virtualbox.Please put in ur comments or any additional information.
http://rijeshmenon.wordpress.com/2010/09/03/virtualization-using-oracle-vm-virtualbox-a-developer-checklist/
-----Original Message-----
From: redhat-list-bounces@redhat.com [mailto:redhat-list-bounces@redhat.com] On Behalf Of ext Paul M. Whitney
Sent: Monday, September 06, 2010 7:46 PM
To: General Red Hat Linux discussion list
Subject: Re: Installing VirtualBox in RHEL5
Probably both kernel-devel and kernel-headers.
Paul
On Sep 6, 2010, at 6:34 AM, Haridas, Rijeshk (NSN - IN/Bangalore) wrote:
> Hello,
>
> We have an usecase to install virtualbox on our RHEL5 server.
> I downloaded the latest 64 bit binary ie, VirtualBox-3.2-3.2.8_64453_rhel5-1.x86_64.rpm and did rpm -ivh <rpm name>.
>
> Its showing the below error .Can anyone help me out.it seems some library is missing.
>
>
> [root@pythagoras vmware]# rpm -ivh VirtualBox-3.2-3.2.8_64453_rhel5-1.x86_64.rpm
> warning: VirtualBox-3.2-3.2.8_64453_rhel5-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 98ab5139
> Preparing... ########################################### [100%]
> 1:VirtualBox-3.2 ########################################### [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.
>
> Compilation of the kernel module FAILED! VirtualBox will not start until this
> problem is fixed. Please consult /var/log/vbox-install.log to find out why the
> kernel module does not compile. Most probably the kernel sources are not found.
> Install them and execute
> /etc/init.d/vboxdrv setup
> as root.
>
> The /var/log/vbox-install.log shows the below error:
>
> ** Compiling vboxdrv
> Makefile:159: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
>
> Is it looking for kernel-devel rpm??
>
>
> Regards,
> Rijesh
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list