LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 05-16-2011, 09:43 PM   #1
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,152

Rep: Reputation: 32
need help installing virtualbox


i just downloaded and installed virtualbox 4.0 for debian squeeze, i also added the virtualbox repositories to my collection and installed the dkms package but i am getting some errors

when i try to run a virtual machine i get a prompt

Code:
Failed to open a session for the virtual machine tux.
The virtual machine 'tux' has terminated unexpectedly during startup with exit code 1.
then i get this one
Code:
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.
i run the command that it is telling me to, the
Code:
# /etc/init.d/vboxdrv setup
and i get an error in the terminal why can't i get it working heres the terminals output
Code:
Stopping VirtualBox kernel modules:.
Uninstalling old VirtualBox DKMS kernel modules:.
Trying to register the VirtualBox kernel modules using DKMS:
Error! Your kernel headers for kernel 2.6.32-5-amd64 cannot be found at
/lib/modules/2.6.32-5-amd64/build or /lib/modules/2.6.32-5-amd64/source.

Failed, trying without DKMS ... failed!
Recompiling VirtualBox kernel modules:
Look at /var/log/vbox-install.log to find out what went wrong ... failed!
what should i do, do i need to upgrade my kernel or something if so what depository should i use to do so, i don't want to do it from source
 
Old 05-17-2011, 01:02 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hi,

Looking at this error I think your problem might be that you don't have the linux-headers package installed.
Quote:
Error! Your kernel headers for kernel 2.6.32-5-amd64
Check with:
Code:
dpkg -l 'linux-headers*'
and if you don't have them installed run the following:
Code:
sudo apt-get install linux-headers-$(uname -r)
After that try to run the setup command again.

Kind regards,

Eric
 
Old 05-18-2011, 05:52 PM   #3
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,152

Original Poster
Rep: Reputation: 32
i just ran all of your commands and they did nothing, but after i ran those commands this is what comes up

Code:
#dpkg -l 'linux-headers*'

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
un  linux-headers  <none>         (no description available)
un  linux-headers- <none>         (no description available)
ii  linux-headers- 2.6.32+29      Header files for Linux 2.6-486 (meta-package
un  linux-headers- <none>         (no description available)
un  linux-headers- <none>         (no description available)
ii  linux-headers- 2.6.32-31      Header files for Linux 2.6.32-5-486
ii  linux-headers- 2.6.32-31      Header files for Linux 2.6.32-5-amd64
ii  linux-headers- 2.6.32-31      Common header files for Linux 2.6.32-5
un  linux-headers- <none>         (no description available)
what does this mean virtual box keeps telling me the same thing so what could be the problem
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Installing 13.37 on the VirtualBox from an ISO TheIndependentAquarius Slackware 4 05-02-2011 06:39 AM
[SOLVED] Installing apps in VirtualBox newbeeman Linux - Virtualization and Cloud 3 12-03-2010 11:15 PM
Installing Linux through VirtualBox?? your_shadow03 Linux - Newbie 1 06-28-2008 01:17 AM
installing ose virtualbox Fred Caro Linux - Newbie 3 06-20-2008 06:21 PM
Help installing VirtualBox 449 Linux - Software 1 02-15-2008 09:58 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration