Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Technical

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th April 2011, 13:30
wachira wachira is offline
Member
 
Join Date: Apr 2010
Posts: 52
Thanks: 2
Thanked 0 Times in 0 Posts
Default Installing Virtualbox in centos 5.6

I am getting an error when I try to run my virtualbox. When i look at the logs i get this out put
Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.0.6

------------------------------
Deleting module version: 4.0.6
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxhost/4.0.6/source ->
/usr/src/vboxhost-4.0.6

DKMS: add Completed.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:178: *** Error: KERN_DIR does not point to a directory. Stop.

How do i recompile this Kernel or point DKMS the right place
Reply With Quote
Sponsored Links
  #2  
Old 30th April 2011, 14:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: LŁneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Do you have the right kernel-devel package installed?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 30th April 2011, 20:33
wachira wachira is offline
Member
 
Join Date: Apr 2010
Posts: 52
Thanks: 2
Thanked 0 Times in 0 Posts
Default

I yum install gcc kernel-devel kernel-headers
this is the list of kernels
Installed Packages
gcc.i386 4.1.2-50.el5 installed
kernel-devel.i686 2.6.18-194.32.1.el5 installed
kernel-devel.i686 2.6.18-238.5.1.el5 installed
kernel-devel.i686 2.6.18-238.9.1.el5 installed
kernel-headers.i386 2.6.18-238.9.1.el5 installed

So do u see any reason why Virtualbox would behave like this
Reply With Quote
  #4  
Old 1st May 2011, 22:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: LŁneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

No, unfortunately not.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 1st July 2011, 11:01
rrvviinn81 rrvviinn81 is offline
Junior Member
 
Join Date: Feb 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

try adding your name to vboxusers
Reply With Quote
  #6  
Old 6th July 2011, 21:39
Jawshh Jawshh is offline
Junior Member
 
Join Date: Jul 2010
Posts: 25
Thanks: 2
Thanked 1 Time in 1 Post
 
Default

wachira,

Why are you compiling an old version? Latest is 4.0.10 and RPMs are available for Red Hat systems.

Use the RPMs provided by Oracle. Here are the links:

For x86:
http://download.virtualbox.org/virtu...el5-1.i386.rpm

For x64
http://download.virtualbox.org/virtu...5-1.x86_64.rpm

It should install perfectly.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems connecting my HTC Desire outgoing mail client to Postfix and ISP Config 2 j.smith1981 Server Operation 6 12th July 2010 20:07
Virtualbox VM on OpenVZ CENTOS kernel hfuser HOWTO-Related Questions 1 6th February 2010 20:27
Errors installing CentOS 5.3 kevin.cousins Installation/Configuration 3 24th August 2009 08:07
Centos 5.2 + ISPConfig 3 tutorial - Problem with email tanakskool Server Operation 1 3rd June 2009 17:22
Problems with installation on openSUSE 10.2 douglaslopezt Installation/Configuration 3 24th August 2007 23:04


All times are GMT +2. The time now is 05:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.