[SOLVED] virtualbox vm session starting with error

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] virtualbox vm session starting with error

Postby nwtmg » Sep 9th, '18, 18:36

Hi

I have mageia 6 and I am using virtualbox. I am getting an error message regarding a vboxdrv service not started. I think there is a service disabled somewhere. No idea what happened.
Tried enabling the virtualbox service using the service command but still getting errors. Thanks for your help.
Last edited by nwtmg on Sep 17th, '18, 17:54, edited 1 time in total.
nwtmg
 
Posts: 83
Joined: Jun 2nd, '15, 22:14

Re: virtualbox vm session starting with error

Postby benmc » Sep 9th, '18, 21:47

would you mind attempting to start virtualbox from command line and posting the output error(s)

TIA
benmc
 
Posts: 680
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: virtualbox vm session starting with error

Postby nwtmg » Sep 9th, '18, 21:57

here it is

Code: Select all
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (4.14.65-desktop-1.mga6) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /sbin/vboxconfig

         You will not be able to start VMs until this problem is fixed.


looked for /sbin/vboxconfig and unable to locate.
nwtmg
 
Posts: 83
Joined: Jun 2nd, '15, 22:14

Re: virtualbox vm session starting with error

Postby benmc » Sep 9th, '18, 22:16

have you installed
Code: Select all
kernel-desktop-devel-latest
?
benmc
 
Posts: 680
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: virtualbox vm session starting with error

Postby nwtmg » Sep 9th, '18, 22:28

how do I test for that kernel-desktop-devel-latest ?
nwtmg
 
Posts: 83
Joined: Jun 2nd, '15, 22:14

Re: virtualbox vm session starting with error

Postby benmc » Sep 9th, '18, 22:43

as root
Code: Select all
urpmi kernel-desktop-devel-latest
.

if already installed, it will advise so
benmc
 
Posts: 680
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: virtualbox vm session starting with error

Postby nwtmg » Sep 9th, '18, 22:54

The package ws not installed but now is. I tested virtualbox and problem still exists.
nwtmg
 
Posts: 83
Joined: Jun 2nd, '15, 22:14

Re: virtualbox vm session starting with error

Postby benmc » Sep 9th, '18, 22:59

you will have to reboot for the virtualbox module to be installed
benmc
 
Posts: 680
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: virtualbox vm session starting with error

Postby nwtmg » Sep 9th, '18, 23:10

Rebooted and tested virtualbox. Problem still exists
nwtmg
 
Posts: 83
Joined: Jun 2nd, '15, 22:14

Re: virtualbox vm session starting with error

Postby benmc » Sep 10th, '18, 09:04

has virtualbox previously been working, or is this a new install that you cannot get to work?

have you installed package
Code: Select all
dkms-virtualbox
and
Code: Select all
virtualbox-kernel-desktop-latest
?
again reboot.

I have just added virtualbox to this system and the following were added:
Code: Select all
# urpmi virtualbox
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch   
(medium "Core Updates")
  virtualbox                     5.2.18       1.mga6        x86_64 
  virtualbox-doc                 5.1.30       1.mga6        noarch  (recommended)
  virtualbox-kernel-4.14.65-des> 5.2.18       1.mga6        x86_64 
  virtualbox-kernel-desktop-lat> 5.2.18       1.mga6        x86_64  (recommended)


reboot and opened an existing .vdi ok
benmc
 
Posts: 680
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: virtualbox vm session starting with error

Postby nwtmg » Sep 10th, '18, 15:09

Completed all as stated and problem still exists.

Here is the problem

Code: Select all
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


What is the vboxdrv driver and how do I install it. I have looked for /sbin/vboxconfig and unable to locate it .
No idea how this happened. I was looking at the system security using msec.
nwtmg
 
Posts: 83
Joined: Jun 2nd, '15, 22:14

Re: virtualbox vm session starting with error

Postby doktor5000 » Sep 10th, '18, 15:37

Please post the output as root of
Code: Select all
rpm -qa|sort|grep -iE "kernel|virtualbox"
dkms status
systemctl status dkms-autorebuild.service -al -n50


vboxdrv is the kernel module that is required on the virtualbox host for the actual virtualisation and it needs to match the running kernel (like with any other kernel module).
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 14527
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: virtualbox vm session starting with error

Postby nwtmg » Sep 10th, '18, 16:29

for rpm -qa|sort|grep -iE "kernel|virtualbox"

Code: Select all
dkms-virtualbox-5.2.18-1.mga6
kernel-desktop-4.1.15-2.mga5-1-1.mga5
kernel-desktop-4.14.10-1.mga6-1-1.mga6
kernel-desktop-4.14.13-1.mga6-1-1.mga6
kernel-desktop-4.14.16-1.mga6-1-1.mga6
kernel-desktop-4.14.18-1.mga6-1-1.mga6
kernel-desktop-4.14.20-1.mga6-1-1.mga6
kernel-desktop-4.14.25-1.mga6-1-1.mga6
kernel-desktop-4.14.30-3.mga6-1-1.mga6
kernel-desktop-4.14.40-1.mga6-1-1.mga6
kernel-desktop-4.14.44-2.mga6-1-1.mga6
kernel-desktop-4.14.50-2.mga6-1-1.mga6
kernel-desktop-4.14.56-1.mga6-1-1.mga6
kernel-desktop-4.14.62-2.mga6-1-1.mga6
kernel-desktop-4.14.65-1.mga6-1-1.mga6
kernel-desktop-4.4.13-1.mga5-1-1.mga5
kernel-desktop-4.4.16-1.mga5-1-1.mga5
kernel-desktop-4.4.26-1.mga5-1-1.mga5
kernel-desktop-4.4.30-2.mga5-1-1.mga5
kernel-desktop-4.4.32-1.mga5-1-1.mga5
kernel-desktop-4.4.36-2.mga5-1-1.mga5
kernel-desktop-4.4.39-1.mga5-1-1.mga5
kernel-desktop-4.4.50-2.mga5-1-1.mga5
kernel-desktop-4.4.55-1.mga5-1-1.mga5
kernel-desktop-4.4.59-1.mga5-1-1.mga5
kernel-desktop-4.4.65-1.mga5-1-1.mga5
kernel-desktop-4.4.68-1.mga5-1-1.mga5
kernel-desktop-4.4.74-1.mga5-1-1.mga5
kernel-desktop-4.9.35-1.mga6-1-1.mga6
kernel-desktop-4.9.40-1.mga6-1-1.mga6
kernel-desktop-4.9.43-1.mga6-1-1.mga6
kernel-desktop-4.9.50-1.mga6-1-1.mga6
kernel-desktop-4.9.56-1.mga6-1-1.mga6
kernel-desktop586-3.19.4-2.mga5-1-1.mga5
kernel-desktop586-3.19.8-3.mga5-1-1.mga5
kernel-desktop586-4.1.12-1.mga5-1-1.mga5
kernel-desktop586-4.1.13-2.mga5-1-1.mga5
kernel-desktop586-4.1.15-1.mga5-1-1.mga5
kernel-desktop-devel-4.14.65-1.mga6-1-1.mga6
kernel-desktop-devel-latest-4.14.65-1.mga6
kernel-desktop-latest-4.14.65-1.mga6
kernel-firmware-20170531-1.mga6
kernel-firmware-nonfree-20180606-1.mga6.nonfree
kernel-userspace-headers-4.14.65-1.mga6
vboxadditions-kernel-3.19.4-desktop586-2.mga5-4.3.26-6.mga5
vboxadditions-kernel-3.19.8-desktop586-3.mga5-5.0.2-2.mga5
vboxadditions-kernel-4.1.12-desktop586-1.mga5-5.0.8-2.mga5
vboxadditions-kernel-4.1.13-desktop586-2.mga5-5.0.10-1.mga5
vboxadditions-kernel-4.1.15-desktop586-1.mga5-5.0.12-1.mga5
virtualbox-5.2.18-1.mga6
virtualbox-doc-5.1.30-1.mga6
virtualbox-guest-additions-5.2.18-1.mga6
virtualbox-kernel-3.19.8-desktop586-3.mga5-5.0.2-2.mga5
virtualbox-kernel-4.1.12-desktop586-1.mga5-5.0.8-2.mga5
virtualbox-kernel-4.1.13-desktop586-2.mga5-5.0.10-1.mga5
virtualbox-kernel-4.1.15-desktop-2.mga5-5.0.16-3.mga5
virtualbox-kernel-4.1.15-desktop586-1.mga5-5.0.12-1.mga5
virtualbox-kernel-4.14.10-desktop-1.mga6-5.2.2-5.mga6
virtualbox-kernel-4.14.13-desktop-1.mga6-5.2.6-1.mga6
virtualbox-kernel-4.14.16-desktop-1.mga6-5.2.6-4.mga6
virtualbox-kernel-4.14.18-desktop-1.mga6-5.2.6-6.mga6
virtualbox-kernel-4.14.20-desktop-1.mga6-5.2.8-1.mga6
virtualbox-kernel-4.14.25-desktop-1.mga6-5.2.8-5.mga6
virtualbox-kernel-4.14.30-desktop-3.mga6-5.2.8-6.mga6
virtualbox-kernel-4.14.40-desktop-1.mga6-5.2.12-1.mga6
virtualbox-kernel-4.14.44-desktop-2.mga6-5.2.12-2.mga6
virtualbox-kernel-4.14.50-desktop-2.mga6-5.2.14-1.mga6
virtualbox-kernel-4.14.56-desktop-1.mga6-5.2.14-6.mga6
virtualbox-kernel-4.14.62-desktop-2.mga6-5.2.14-12.mga6
virtualbox-kernel-4.14.65-desktop-1.mga6-5.2.18-1.mga6
virtualbox-kernel-4.4.13-desktop-1.mga5-5.1.2-1.mga5
virtualbox-kernel-4.4.16-desktop-1.mga5-5.1.2-2.mga5
virtualbox-kernel-4.4.26-desktop-1.mga5-5.1.2-8.mga5
virtualbox-kernel-4.4.30-desktop-2.mga5-5.1.2-10.mga5
virtualbox-kernel-4.4.32-desktop-1.mga5-5.1.10-1.1.mga5
virtualbox-kernel-4.4.36-desktop-2.mga5-5.1.10-2.1.mga5
virtualbox-kernel-4.4.39-desktop-1.mga5-5.1.10-3.1.mga5
virtualbox-kernel-4.4.50-desktop-2.mga5-5.1.18-1.mga5
virtualbox-kernel-4.4.55-desktop-1.mga5-5.1.18-2.mga5
virtualbox-kernel-4.4.59-desktop-1.mga5-5.1.22-1.mga5
virtualbox-kernel-4.4.65-desktop-1.mga5-5.1.22-2.mga5
virtualbox-kernel-4.4.68-desktop-1.mga5-5.1.22-3.mga5
virtualbox-kernel-4.4.74-desktop-1.mga5-5.1.22-7.mga5
virtualbox-kernel-4.9.35-desktop-1.mga6-5.1.22-20.mga6
virtualbox-kernel-4.9.40-desktop-1.mga6-5.1.26-1.mga6
virtualbox-kernel-4.9.43-desktop-1.mga6-5.1.26-2.mga6
virtualbox-kernel-4.9.50-desktop-1.mga6-5.1.26-4.mga6
virtualbox-kernel-4.9.56-desktop-1.mga6-5.2.2-1.mga6
virtualbox-kernel-desktop-latest-5.2.18-1.mga6


for dkms status

Code: Select all
virtualbox, 5.2.18-1.mga6, 4.14.65-desktop-1.mga6, i586: installed
virtualbox, 5.2.2-1.mga6, 4.9.56-desktop-1.mga6, i586: installed-binary from 4.9.56-desktop-1.mga6
virtualbox, 5.1.10-1.1.mga5, 4.4.36-desktop-2.mga5, i586: installed-binary from 4.4.36-desktop-2.mga5
virtualbox, 5.2.12-1.mga6, 4.14.44-desktop-2.mga6, i586: installed-binary from 4.14.44-desktop-2.mga6
virtualbox, 5.2.18-1.mga6, 4.14.65-desktop-1.mga6, i586: installed-binary from 4.14.65-desktop-1.mga6
virtualbox, 5.2.6-1.mga6, 4.14.18-desktop-1.mga6, i586: installed-binary from 4.14.18-desktop-1.mga6
virtualbox, 5.2.8-1.mga6, 4.14.30-desktop-3.mga6, i586: installed-binary from 4.14.30-desktop-3.mga6
virtualbox, 5.2.14-1.mga6, 4.14.50-desktop-2.mga6, i586: installed-binary from 4.14.50-desktop-2.mga6
virtualbox, 5.1.22-1.mga5, 4.4.65-desktop-1.mga5, i586: installed-binary from 4.4.65-desktop-1.mga5
virtualbox, 5.1.22-1.mga6, 4.9.35-desktop-1.mga6, i586: installed-binary from 4.9.35-desktop-1.mga6
virtualbox, 5.2.8-1.mga6, 4.14.20-desktop-1.mga6, i586: installed-binary from 4.14.20-desktop-1.mga6
virtualbox, 5.2.6-1.mga6, 4.14.16-desktop-1.mga6, i586: installed-binary from 4.14.16-desktop-1.mga6
virtualbox, 5.1.18-1.mga5, 4.4.50-desktop-2.mga5, i586: installed-binary from 4.4.50-desktop-2.mga5
virtualbox, 5.2.2-1.mga6, 4.14.10-desktop-1.mga6, i586: installed-binary from 4.14.10-desktop-1.mga6
vboxadditions, 4.3.26-1.mga5, 3.19.4-desktop586-2.mga5, i586: installed-binary from 3.19.4-desktop586-2.mga5
virtualbox, 5.1.26-1.mga6, 4.9.50-desktop-1.mga6, i586: installed-binary from 4.9.50-desktop-1.mga6
virtualbox, 5.2.14-1.mga6, 4.14.62-desktop-2.mga6, i586: installed-binary from 4.14.62-desktop-2.mga6
virtualbox, 5.0.2-2.mga5, 3.19.8-desktop586-3.mga5, i586: installed-binary from 3.19.8-desktop586-3.mga5
vboxadditions, 5.0.2-2.mga5, 3.19.8-desktop586-3.mga5, i586: installed-binary from 3.19.8-desktop586-3.mga5
virtualbox, 5.1.10-1.1.mga5, 4.4.39-desktop-1.mga5, i586: installed-binary from 4.4.39-desktop-1.mga5
virtualbox, 5.1.22-1.mga5, 4.4.74-desktop-1.mga5, i586: installed-binary from 4.4.74-desktop-1.mga5
virtualbox, 5.1.22-1.mga5, 4.4.59-desktop-1.mga5, i586: installed-binary from 4.4.59-desktop-1.mga5
virtualbox, 5.1.18-1.mga5, 4.4.55-desktop-1.mga5, i586: installed-binary from 4.4.55-desktop-1.mga5
virtualbox, 5.1.2-1.mga5, 4.4.13-desktop-1.mga5, i586: installed-binary from 4.4.13-desktop-1.mga5
virtualbox, 5.1.26-1.mga6, 4.9.40-desktop-1.mga6, i586: installed-binary from 4.9.40-desktop-1.mga6
virtualbox, 5.0.8-1.mga5, 4.1.12-desktop586-1.mga5, i586: installed-binary from 4.1.12-desktop586-1.mga5
vboxadditions, 5.0.8-1.mga5, 4.1.12-desktop586-1.mga5, i586: installed-binary from 4.1.12-desktop586-1.mga5
virtualbox, 5.1.22-1.mga5, 4.4.68-desktop-1.mga5, i586: installed-binary from 4.4.68-desktop-1.mga5
virtualbox, 5.0.12-1.mga5, 4.1.15-desktop586-1.mga5, i586: installed-binary from 4.1.15-desktop586-1.mga5
vboxadditions, 5.0.12-1.mga5, 4.1.15-desktop586-1.mga5, i586: installed-binary from 4.1.15-desktop586-1.mga5
virtualbox, 5.0.10-1.mga5, 4.1.13-desktop586-2.mga5, i586: installed-binary from 4.1.13-desktop586-2.mga5
vboxadditions, 5.0.10-1.mga5, 4.1.13-desktop586-2.mga5, i586: installed-binary from 4.1.13-desktop586-2.mga5
virtualbox, 5.1.2-1.mga5, 4.4.16-desktop-1.mga5, i586: installed-binary from 4.4.16-desktop-1.mga5
virtualbox, 5.2.6-1.mga6, 4.14.13-desktop-1.mga6, i586: installed-binary from 4.14.13-desktop-1.mga6
virtualbox, 5.2.12-1.mga6, 4.14.40-desktop-1.mga6, i586: installed-binary from 4.14.40-desktop-1.mga6
virtualbox, 5.1.2-1.mga5, 4.4.30-desktop-2.mga5, i586: installed-binary from 4.4.30-desktop-2.mga5
virtualbox, 5.2.14-1.mga6, 4.14.56-desktop-1.mga6, i586: installed-binary from 4.14.56-desktop-1.mga6
virtualbox, 5.1.2-1.mga5, 4.4.26-desktop-1.mga5, i586: installed-binary from 4.4.26-desktop-1.mga5
virtualbox, 5.0.16-1.mga5, 4.1.15-desktop-2.mga5, i586: installed-binary from 4.1.15-desktop-2.mga5
virtualbox, 5.1.26-1.mga6, 4.9.43-desktop-1.mga6, i586: installed-binary from 4.9.43-desktop-1.mga6
virtualbox, 5.2.8-1.mga6, 4.14.25-desktop-1.mga6, i586: installed-binary from 4.14.25-desktop-1.mga6
virtualbox, 5.1.10-1.1.mga5, 4.4.32-desktop-1.mga5, i586: installed-binary from 4.4.32-desktop-1.mga5


for systemctl status dkms-autorebuild.service -al -n50

Code: Select all
● dkms-autorebuild.service - run dkms_autoinstaller on every boot to rebuild dkms modules for newly booted kernels
   Loaded: loaded (/usr/lib/systemd/system/dkms-autorebuild.service; disabled; vendor preset: enabled)
   Active: inactive (dead)
nwtmg
 
Posts: 83
Joined: Jun 2nd, '15, 22:14

Re: virtualbox vm session starting with error

Postby pernel » Sep 15th, '18, 17:53

I have the same problem. Mageia 6 fully updated 64 bit version using the latest kernel server. Virtualbox worked before for me but now not anymore. Tried to uninstall Virtualbox completely with all kernel modules and re-install. It did not helpl Would apperciate any solution.
pernel
 
Posts: 52
Joined: Mar 21st, '12, 20:13

Re: virtualbox vm session starting with error

Postby pernel » Sep 15th, '18, 18:32

For my part solved (at least for the moment). After reading the thread again, i installed the VirtualBox-kernel exactly corresponding to the linux kernel running. Then it started to work again. I hav no idea why this was messed up at the latest updates of the system. In fact there exists many more late versions of VirtualBox-kernel than the actualt linux kernel.
pernel
 
Posts: 52
Joined: Mar 21st, '12, 20:13

Re: virtualbox vm session starting with error

Postby morgano » Sep 15th, '18, 23:13

Do you have virtualbox-kernel-desktop-latest installed?
Mandriva since 2006, then Mageia since 2011 at home & work. Thinkpad T40 T42p T43 T60 T61 T400. Aspire 7. Fileserver. Workstation using LVM, LUKS, VirtualBox, BOINC, Dropbox, CAD, urpmi-proxy, NextCloud...
morgano
 
Posts: 550
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: virtualbox vm session starting with error

Postby nwtmg » Sep 17th, '18, 17:53

Hi.

Finally solved this proble. Some research on the net led me to the /etc/init.d folder and the vitualbox shell script. Executed as root and problem solved. No idea what happened to change this in the first place. THanks for all our help.
nwtmg
 
Posts: 83
Joined: Jun 2nd, '15, 22:14


Return to Basic support

Who is online

Users browsing this forum: No registered users and 0 guests