LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   linux virtual-box error centos (https://www.linuxquestions.org/questions/linux-server-73/linux-virtual-box-error-centos-4175448976/)

kirthanshetty 02-07-2013 01:11 AM

linux virtual-box error centos
 
[root@localhost ~]# service vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMS
Error! Your kernel headers for kernel 2.6.32-279.2.1.el6.i686 cannot be found at
/lib/modules/2.6.32-279.2.1.el6.i686/build or /lib/modules/2.6.32-279.2.1.el6.i686/source.
[FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
[root@localhost ~]# cat /var/log/vbox-install.log
Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.1.24

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

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

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:172: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.

acid_kewpie 02-07-2013 02:22 AM

What's with posting twice under different accounts? Not appreciated.

---------- Post added 07-02-13 at 08:22 AM ----------

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

colucix 02-07-2013 02:42 AM

This thread is being closed in favour of http://www.linuxquestions.org/questi...os-4175448977/. Please, stick with one thread per issue and possibly with one LQ account!


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