LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 07-23-2011, 08:54 AM   #1
dan.hoquoc
LQ Newbie
 
Registered: Jul 2011
Posts: 16

Rep: Reputation: Disabled
Oracle Virtual Box does not work! ('/etc/init.d/vboxdrv setup')


Hi all,

I was unable to install VBox successful. The error is as follow:

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

'/etc/init.d/vboxdrv setup'

as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

My system info:

Linux server 2.6.32-71.el6.i686 #1 SMP Wed Sep 1 01:26:34 EDT 2010 i686 i686 i386 GNU/Linux

Please help!

Thank you,
Dan.
 
Old 07-23-2011, 09:18 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

If you want to compile kernel modules, you need to install the kernel-devel package for your distro and kernel version
Code:
yum install kernel-devel
Regards
 
Old 07-23-2011, 09:31 AM   #3
dan.hoquoc
LQ Newbie
 
Registered: Jul 2011
Posts: 16

Original Poster
Rep: Reputation: Disabled
Thanks bathory,

I check and found.
[root@server ~]# rpm -qa |grep kernel-devel
kernel-devel-2.6.32-71.el6.i686
kernel-devel-2.6.32-131.0.15.el6.i686

But the error is still there!
Dan.
 
Old 07-23-2011, 09:46 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
In that case, you can check /var/log/vbox-install.log to see why that happens.
BTW there is rpm package for RHEL6 in vbox downloads. You might try that before anything else.

Regards
 
Old 07-30-2011, 09:20 AM   #5
dan.hoquoc
LQ Newbie
 
Registered: Jul 2011
Posts: 16

Original Poster
Rep: Reputation: Disabled
Thanks bathory,

I installed successful Virtual box by adding the following packages:

#yum install gcc kernel-devel kernel-headers libSDL*
#yum install kernel-2.6.32-31.0.15.i686
#rpm -ivh dkms-2.1.1.2-1.el6.rf.noarch.rpm
#reboot
#rpm -ivh VirtualBox-4.1-4.1.0_73009_rhel6-1.i686.rpm

Dan.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing RHEL6 using Oracle Virtual box having Win 7 as base OS arora.linux Linux - Newbie 2 05-31-2011 06:49 PM
Oracle VM Virtual box on fedora 14 cardineau Linux - Virtualization and Cloud 12 04-01-2011 11:12 AM
[SOLVED] problem with /etc/init.d/vboxdrv setup brucehinrichs Linux - Software 4 03-28-2010 08:32 PM
Can't connect Oracle on Fedora Virtual Box aniceto Linux - Newbie 7 03-17-2010 04:49 PM
Getting Virtual Box to run XP problem with the /etc/init.d/vboxdrv setup FrankRhoades Linux - Software 10 01-24-2010 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration