LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 02-23-2017, 03:04 AM   #1
Stéphane Ascoët
Member
 
Registered: Feb 2004
Location: Fleury-les-Aubrais, 120 km south of Paris
Distribution: Devuan, Debian, Mandrake, Freeduc (the one I used to work on), Slackware, MacOS X
Posts: 251

Rep: Reputation: 49
Question VirtualBox asks me to run vboxconfig each time


Hi, after each restart of my Debian Wheezy, when I want to launch a VM, I have message:

"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

'/sbin/vboxconfig'

as root.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT."

Do you know why I need to do it each time, or otherwise where I should look for to find the explanations and thus making this driver installed automatically at each boot.
 
Old 02-23-2017, 03:42 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by Stéphane Ascoët View Post
Hi, after each restart of my Debian Wheezy, when I want to launch a VM, I have message:

"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

'/sbin/vboxconfig'

as root.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT."

Do you know why I need to do it each time, or otherwise where I should look for to find the explanations and thus making this driver installed automatically at each boot.
As it's telling you, the driver for Virtualbox is not installed and therefore you will not be able to start any VM's. Open a terminal window as superuser/root and run the command it's telling you to.

If this still does not work, try reinstalling Virtualbox.

Last edited by jsbjsb001; 02-23-2017 at 03:45 AM. Reason: typo
 
Old 02-23-2017, 05:27 AM   #3
Stéphane Ascoët
Member
 
Registered: Feb 2004
Location: Fleury-les-Aubrais, 120 km south of Paris
Distribution: Devuan, Debian, Mandrake, Freeduc (the one I used to work on), Slackware, MacOS X
Posts: 251

Original Poster
Rep: Reputation: 49
Yes, that's what I do but I'd like to not be forced to do it everyday
 
Old 02-23-2017, 07:54 AM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by Stéphane Ascoët View Post
Yes, that's what I do but I'd like to not be forced to do it everyday
Let's start with some basic info like;

How did you install Virtualbox (and where from, official repo's, etc)?

As I have Virtualbox installed myself and have not had any issues, that you are talking about. I have installed it from official repo's for my distro (PCLinuxOS).

Last edited by jsbjsb001; 02-23-2017 at 08:10 AM. Reason: typo
 
Old 02-23-2017, 08:52 AM   #5
Stéphane Ascoët
Member
 
Registered: Feb 2004
Location: Fleury-les-Aubrais, 120 km south of Paris
Distribution: Devuan, Debian, Mandrake, Freeduc (the one I used to work on), Slackware, MacOS X
Posts: 251

Original Poster
Rep: Reputation: 49
The package from Debian Wheezy amd64 on
https://www.virtualbox.org/wiki/Linux_Downloads
 
Old 02-23-2017, 09:45 AM   #6
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by Stéphane Ascoët View Post
The package from Debian Wheezy amd64 on
https://www.virtualbox.org/wiki/Linux_Downloads
Is there a package for Virtualbox in the official repo's for Debian Wheezy? If so, you should install it from there instead (uninstall your current Virtualbox installation first).

If you are still having the same problem, then you may need to check file permissions (as the output you posted, originally said). As that's the only other possibly I can think of, as to why you are getting that error message.

The correct file permissions are as follows;

Code:
lrwxrwxrwx 1 root root    34 Jan 31 21:50 vboxconfig -> /opt/VirtualBox/postinst-common.sh*
crw------- 1 root root 10, 57 Feb 24 01:52 /dev/vboxdrv

Last edited by jsbjsb001; 02-23-2017 at 09:55 AM. Reason: forgot /dev/vboxdrv
 
Old 02-23-2017, 09:52 AM   #7
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Focussing on another part of the error message, what are you permissions for /dev/vboxdrv?:

ls -la /dev/vbox* should also provide info on vboxdrvu and vboxnetctl.
 
Old 02-23-2017, 10:03 AM   #8
Stéphane Ascoët
Member
 
Registered: Feb 2004
Location: Fleury-les-Aubrais, 120 km south of Paris
Distribution: Devuan, Debian, Mandrake, Freeduc (the one I used to work on), Slackware, MacOS X
Posts: 251

Original Poster
Rep: Reputation: 49
Question Probleme with VirtualBox

Quote:
Originally Posted by jsbjsb001 View Post
Is there a package for Virtualbox in the official repo's for Debian Wheezy? If so, you should install it from there instead (uninstall your current Virtualbox installation first).
That's what I've done in the first place, but with this old one I couldn't use the window$ installer provided by my work.

Quote:
Code:
lrwxrwxrwx 1 root root    34 Jan 31 21:50 vboxconfig -> /opt/VirtualBox/postinst-common.sh*
crw------- 1 root root 10, 57 Feb 24 01:52 /dev/vboxdrv
They are like this
 
Old 02-23-2017, 10:12 AM   #9
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by Stéphane Ascoët View Post
That's what I've done in the first place, but with this old one I couldn't use the window$ installer provided by my work.



They are like this
Did you run the command hydrurga has mentioned?

Here's my output for it;

Code:
crw------- 1 root root      10, 57 Feb 24 01:52 /dev/vboxdrv
crw-rw-rw- 1 root root      10, 56 Feb 24 01:52 /dev/vboxdrvu
crw------- 1 root root      10, 53 Feb 24 01:52 /dev/vboxnetctl

/dev/vboxusb:
total 0
drwxr-x---  5 root vboxusers  100 Feb 24 01:46 ./
drwxr-xr-x 20 root root      5240 Feb 24 02:04 ../
drwxr-x---  2 root vboxusers  100 Feb 24 02:04 001/
drwxr-x---  2 root vboxusers   60 Feb 24 01:46 002/
drwxr-x---  2 root vboxusers   60 Feb 24 01:46 003/
Please post your output, thanks.
 
Old 02-23-2017, 10:23 AM   #10
Stéphane Ascoët
Member
 
Registered: Feb 2004
Location: Fleury-les-Aubrais, 120 km south of Paris
Distribution: Devuan, Debian, Mandrake, Freeduc (the one I used to work on), Slackware, MacOS X
Posts: 251

Original Poster
Rep: Reputation: 49
crw------- 1 root root 10, 58 févr. 23 14:35 /dev/vboxdrv
crw-rw-rwT 1 root root 10, 57 févr. 23 14:35 /dev/vboxdrvu
crw------- 1 root root 10, 56 févr. 23 14:35 /dev/vboxnetctl

/dev/vboxusb:
total 0
drwxr-x--- 4 root vboxusers 80 févr. 23 14:44 .
drwxr-xr-x 14 root root 3300 févr. 23 14:44 ..
drwxr-x--- 2 root vboxusers 80 févr. 23 08:41 001
drwxr-x--- 2 root vboxusers 60 févr. 23 14:44 002
 
Old 02-23-2017, 10:43 AM   #11
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by Stéphane Ascoët View Post
crw-rw-rwT 1 root root 10, 57 févr. 23 14:35 /dev/vboxdrvu
Hmmm, what's with that sticky bit (I don't know if it's relevant or not)?
 
1 members found this post helpful.
Old 02-24-2017, 02:21 AM   #12
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by hydrurga View Post
Hmmm, what's with that sticky bit (I don't know if it's relevant or not)?
Yeah, that's the only difference, I can see as well, might be a clue
 
Old 03-09-2017, 02:06 AM   #13
Stéphane Ascoët
Member
 
Registered: Feb 2004
Location: Fleury-les-Aubrais, 120 km south of Paris
Distribution: Devuan, Debian, Mandrake, Freeduc (the one I used to work on), Slackware, MacOS X
Posts: 251

Original Poster
Rep: Reputation: 49
Hi helpers, I'd like to understand something to debug the thing: where on your systeme do you have one or several vboxdrv.sh file(s)?
 
Old 03-09-2017, 02:46 AM   #14
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by Stéphane Ascoët View Post
Hi helpers, I'd like to understand something to debug the thing: where on your systeme do you have one or several vboxdrv.sh file(s)?
One place, here;
Code:
/opt/VirtualBox/vboxdrv.sh
Are you still having any problems??
 
Old 03-09-2017, 02:58 AM   #15
Stéphane Ascoët
Member
 
Registered: Feb 2004
Location: Fleury-les-Aubrais, 120 km south of Paris
Distribution: Devuan, Debian, Mandrake, Freeduc (the one I used to work on), Slackware, MacOS X
Posts: 251

Original Poster
Rep: Reputation: 49
No changes, and I can't see how the sticky bit could be linked to it.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Installing VirtualBox*.run * Oracle*.run on Slackware 14 - Help/Information lkraemer Slackware 3 10-09-2012 09:08 AM
[SOLVED] Slack crashed when VirtualBox run for a longer time kcynice Slackware 8 03-13-2012 08:40 PM
computer asks me to run a FSCK Manually, but won't : says can't run on mounted lightwave Linux - Newbie 12 04-02-2008 12:25 AM
rpm install: A asks for B, B asks for A mike_bio Linux - Software 6 07-15-2005 04:00 AM
First time loading red hat 9 it asks for user name and pw tavarius Linux - General 1 07-01-2004 05:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration