LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-03-2012, 09:59 PM   #1
anupsrn
LQ Newbie
 
Registered: Dec 2011
Posts: 7

Rep: Reputation: Disabled
HELP......


i installed virtual box but cannot run any virtual machine....i get something like this.......

[root@localhost anup]# VirtualBox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.1.6-1.fc16.i686.PAE) or it failed to
load. Please recompile the kernel module and install it by

sudo /etc/init.d/vboxdrv setup

You will not be able to start VMs until this problem is fixed.
[root@localhost anup]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMSError! echo
Your kernel headers for kernel 3.1.6-1.fc16.i686.PAE cannot be found at
/lib/modules/3.1.6-1.fc16.i686.PAE/build or /lib/modules/3.1.6-1.fc16.i686.PAE/source.
[FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
 
Old 01-03-2012, 10:19 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,342
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730
You leave out a lot of important details, such as what distro etc.

It's a shot in the dark, but, off-hand, it looks like you do not have the kernel headers installed on your machine, so the system is unable to compile the virtual box kernel drivers. Not all distros install by default everything that is needed for compiling software.

Try installing the kernel headers for your kernel using whatever package manager your system uses.

If you need more help, post more information.

Also, please change the subject line to something more descriptive than "Help." You can find the guidelines for posting here:
http://www.linuxquestions.org/linux/...Ask_a_Question
 
Old 01-03-2012, 11:05 PM   #3
coolsg5636
Member
 
Registered: Sep 2011
Location: Pune,India
Distribution: RHEL ,CentOS, Fedora
Posts: 100

Rep: Reputation: 25
Hello,

After checking your package names , I think you have Fedora 16 so try this following command.
Quote:
# yum install kernel-headers
 
  


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




All times are GMT -5. The time now is 09:11 PM.

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