/etc/init.d/vboxdrv issue

Discussions related to using VirtualBox on Linux hosts.
Post Reply
placementmantra
Posts: 4
Joined: 17. Jan 2015, 22:08

/etc/init.d/vboxdrv issue

Post by placementmantra »

Dear freinds,I have already gone thru old os

have centos 6

other imp r&d is


/etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: /etc/init.d/vboxdrv issue

Post by socratis »

placementmantra wrote:(Look at /var/log/vbox-install.log to find out what went wrong)
Well? Did you look? Can we look at it? Please zip it before attaching it to your reply.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
placementmantra
Posts: 4
Joined: 17. Jan 2015, 22:08

Re: /etc/init.d/vboxdrv issue

Post by placementmantra »

Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: /etc/init.d/vboxdrv issue

Post by socratis »

placementmantra wrote:unable to find the sources of your current Linux kernel.
Solution: install the sources of your Linux kernel.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
placementmantra
Posts: 4
Joined: 17. Jan 2015, 22:08

Re: /etc/init.d/vboxdrv issue

Post by placementmantra »

[root@jobsinsure ~]# ls /usr/src/kernels
2.6.32-504.3.3.el6.x86_64
[root@jobsinsure ~]# vi .bashrc
[root@jobsinsure ~]# source .bashrc
[root@jobsinsure ~]# /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 2.6.32-042stab102.9 cannot be found at
/lib/modules/2.6.32-042stab102.9/build or /lib/modules/2.6.32-042stab102.9/source.
[FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules
G0
Posts: 1
Joined: 21. Jan 2015, 10:06

Re: /etc/init.d/vboxdrv issue

Post by G0 »

same problem here:

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.



Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Machine
Interface:
IMachine {}

I have Fedora 21. and have installed "beefy miracle" on 64bit (that's the only one stable for fedora 21)

please help thanks
Post Reply