virtualbox error - crash when trying to open

Asked by Winnie Dee

Failed to open a session for the virtual machine Windows XP.
The virtual machine 'Windows XP' has terminated unexpectedly during startup with exit code 1.

Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Machine
Interface:
IMachine {6d9212cb-a5c0-48b7-bbc1-3fa2ba2ee6d2}

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. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu virtualbox-ose Edit question
Assignee:
No assignee Edit question
Solved by:
Winnie Dee
Solved:
Last query:
Last reply:
Revision history for this message
Winnie Dee (winston-dotaza) said :
#1

At the same time, cannot install the updated version - virtualbox-4.0_4.0.4-70112~Ubuntu~lucid_i386.deb

Error: Conflicts with the installed package 'virtualbox-3.2'

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Are you in the vboxusers group?

Revision history for this message
Winnie Dee (winston-dotaza) said :
#3

Actually i don't need to... I found the solution with:

sudo apt-get install dkms

then:

sudo /etc/init.d/vboxdrv setup

I couldn't find a clear solution online, so i put 2 +2 together

All fine now, thanks anyway

Revision history for this message
Damon T (damon-tigronconsulting) said :
#4

I'm trying to resolve the same issue. I already have virtualbox-4.0_4.0.4-70112. I can't open a session due to the same error message. DKMS is installed but when I try to run sudo /etc/init.d/vboxdrv setup I get the error;
 * Trying to register the VirtualBox kernel modules using DKMS
Error! Your kernel headers for kernel 2.6.38-8-generic-pae cannot be found at
/lib/modules/2.6.38-8-generic-pae/build or /lib/modules/2.6.38-8-generic-pae/source.

How do I fix this ? or should this be in another thread ?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Install linux-kernel-headers in whatever way you choose and it should help

Revision history for this message
delance (olivier-delance) said :
#6

In System->Administration->Synaptic search packet whose name include "linux-header". Check you have 2.6.38-8 one.
Which version of Ubuntu are you using ?

Revision history for this message
Damon T (damon-tigronconsulting) said :
#7

I'm running 10.10 and I have linux-headers-2.6.38-8 and /linux-headers-2.6.38-8 generic

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

2.6.38 is the Natty kernel branch. Reboot to 2/6/35 and you will be fine.

Revision history for this message
Damon T (damon-tigronconsulting) said :
#9

I don't seem to be able to access the internet when I got back to 2.6.35. I followed info in Question #141370 and completely removed virtualbox and dkms and re-installed dkms (sudo apt-get install dkms build-essential linux-headers-generic) then re-installed Virtual-box 4.0 using Synaptic package manager. It's interesting I had a different virtual box ose installed(from sun I think) although it was the same version. Now I'm getting a Kernel driver not installed (rc=-1908) error - Please install the virtualbox-ose-dkms package and execute 'modprobe vboxdrv' as root. I get a fatal error when trying to run modprobe vboxdrv.

Revision history for this message
delance (olivier-delance) said :
#10

How did you get kernel 2.6.38-8 ?

Revision history for this message
Damon T (damon-tigronconsulting) said :
#11

I used update -manager -d to try and get 11.04 and ended up with 10.10 and have been kinda baffled since then.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#12

Great log a bug, natty is not stable nor ready and is full of bugs which will cause things like this

Revision history for this message
Damon T (damon-tigronconsulting) said :
#13

I think the issue is that I don't actually have natty(or do I ?) About ubuntu says 10.10, should I act as if I have natty ?

Revision history for this message
Damon T (damon-tigronconsulting) said :
#14

I think the issue is that I don't actually have natty(or do I ?) About ubuntu says 10.10, should I act as if I have natty ?

Revision history for this message
delance (olivier-delance) said :
#15

So your system is a mess... You are between 10.10 and 11.04.
Could you wait delivery of final Natty in two weeks, install it properly and try again to install Virtual Box, or do you need Virtual Box soon ?

Revision history for this message
Damon T (damon-tigronconsulting) said :
#16

I was in the middle of some android and ios app development in two of my vm's, I would really love to continue. If there is no way to resolve I can wait a couple weeks.