LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-20-2014, 03:48 PM   #1
cupps101
LQ Newbie
 
Registered: Mar 2014
Posts: 2

Rep: Reputation: Disabled
Trying to run Oracle Virtual Box on linux CentOs


I am trying to run virtual box on my machine but getting errors When executing the command sudo /etc/init.d/vboxdrv setup I am getting the following below: I have already install he src file, Can you help?

Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.3.8

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

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

DKMS: add completed.
Failed to install using DKMS, attempting to install without
Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.

Also, when run it through the GUI under applications I get the erros whihc is pretty much the same above

Kernel driver not installed (rc=-1908)

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. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
 
Old 03-20-2014, 03:54 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,508

Rep: Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102
The error seems pretty self-explanatory to me...it can't find the kernel sources. Have you installed them? They're in the package "kernel-devel"

Code:
yum install kernel-devel
 
Old 03-20-2014, 04:04 PM   #3
cupps101
LQ Newbie
 
Registered: Mar 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Installing Oracle Virtual Box Manager on CentOs

Package kernel-devel-2.6.32-431.5.1.el6.x86_64 already installed and latest version
Nothing to do
 
Old 03-20-2014, 04:20 PM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,508

Rep: Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102
Have you also installed the kernel-headers?

Have you seen/tried this?
http://www.libre-software.net/instal...fic-linux-rhel

I typically install VBox from the repo when I can, it simplifies everything and keeps it up to date.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
install oracle virtual box on a red hat enterprise linux 5 hp server fulhouse Linux - Newbie 1 04-24-2013 07:35 PM
Issue faced while installing Linux in virtual machine in Oracle virtual box ravisingh1 Linux - Virtualization and Cloud 5 04-07-2013 10:42 AM
Loop forinstalling LINUX onto Oracle VM Virtual Box arca777 Linux - Newbie 1 01-18-2013 10:49 AM
data file copy from excel (win 7) to linux virtual box(oracle) prerna.mathur12 Linux - Software 1 01-06-2013 06:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration