LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   HELP...... (https://www.linuxquestions.org/questions/linux-newbie-8/help-921892/)

anupsrn 01-03-2012 08:59 PM

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)

frankbell 01-03-2012 09:19 PM

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

coolsg5636 01-03-2012 10:05 PM

Hello,

After checking your package names , I think you have Fedora 16 so try this following command.
Quote:

# yum install kernel-headers


All times are GMT -5. The time now is 04:41 AM.