VirtualBox

Ticket #12229 (closed defect: worksforme)

Opened 6 months ago

Last modified 4 weeks ago

Oracle Linux 6.4 and VB 4.3 problems

Reported by: ceejayemm Owned by:
Priority: major Component: other
Version: VirtualBox 4.3.0 Keywords:
Cc: Guest type: Linux
Host type: Linux

Description

I have just built a new PC running Oracle Linux 6.4 (64 bit) in Desktop mode. I then installed VirtualBox v4.3 using the latest VB .rpm installation kit for OL-6. All installation kits were downloaded today from the download pages on the Oracle and VB websites on the basis that the latest VB release would have been tested on the latest OL release. The installations went fine with no errors during the installations and I have been able run up VB and configure a test VM without any problems. When I try to run the new test VM however then VirtualBox immediately stops with the error:

VirtualBox - Error in suplibOsinit

Kernel driver not installed (rc = -1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permissions problem with /dev/vboxdrv. Please reinstall the kernel module by executing

'/etc/init.d/vboxdrv setup'

as root. (plus a load of stuff about DKMS packages).

If I try to run the setup file detailed in the error message I get (in /var/log/vbox-install.log):

./routines.sh: line 343: /etc/init.d/vboxautostart-service: No such file or directory ./routines.sh: line 343: /etc/init.d/vboxballoonctrl-service: No such file or directory ./routines.sh: line 343: /etc/init.d/vboxweb-service: No such file or directory VirtualBox 4.3.0 r89960 installer, built 2013-10-15T11:37:43Z.

Testing system setup... Could not find the Linux kernel header files - the directories

/lib/modules/2.6.39-400.209.1.el6uek.x86_64/build/include and /usr/src/linux/include do not exist.

Please install the GNU compiler. Giving up due to the problems mentioned above. Makefile:183: * Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.

How can I fix this installation please ? Will simply installing the GNU compiler and rerunning the setup process resolve this issue ?

I would have attached a VBox.log file however this log file has NOT been created for this test VM!

I have search the User Forums and although there are several similar reports of this error these doesn't appear to be a fix available via this route.

Thanks

Chris

Change History

comment:1 Changed 6 months ago by frank

  • Status changed from new to closed
  • Resolution set to worksforme

Please install gcc and make on your system. You also need the kernel headers corresponding to your currently running kernel. See the user manual section 2.3. In particular you should update your host system, then reboot your host to make sure that the latest kernel is installed. And after that, install the corresponding kernel headers to your host. After that, running /etc/init.d/vboxdrv setup should be enough to finish the installation.

comment:2 Changed 5 months ago by Gary80923

Resolution does NOT workforme

The problem has something to do with the UEK kernel. What amazes me is I Installed Oracle Linux 6.4 and yum install VirtualBox.4.3 (I even tried all the other ones with same results). Your yum repo is broken. It should look missing dependencies and install them. Anyway my thoughts on this.

My intentions are to DUMP Oracle Linux and go back to what I know best.

[root@rowdy-vbox modules]# ls 2.6.32-358.el6.x86_64 [root@rowdy-vbox modules]# cd 2.6.32-358.el6.x86_64/ [root@rowdy-vbox 2.6.32-358.el6.x86_64]# ls build modules.alias modules.ccwmap modules.drm modules.isapnpmap modules.ofmap modules.seriomap modules.usbmap vdso extra modules.alias.bin modules.dep modules.ieee1394map modules.modesetting modules.order modules.symbols source weak-updates kernel modules.block modules.dep.bin modules.inputmap modules.networking modules.pcimap modules.symbols.bin updates [root@rowdy-vbox 2.6.32-358.el6.x86_64]# cd .. [root@rowdy-vbox modules]# /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)

Makefile:183: * Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.

comment:3 Changed 5 months ago by michael

Are you sure you installed the "kernel-uek-devel" kernel headers package?

comment:4 Changed 4 weeks ago by Ander

Are you sure you installed the "kernel-uek-devel" kernel headers package?

Installation of 'kernel-devel' helped.

IMHO, it should be in rpm dependencies, shouldn't it?

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use