I've been using virtualbox 6.1 on Ubuntu 20.04 for months with no issues. But today, without my doing any changes on the system, virtualbox refused to start throwing the following message:
Code: Select all
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please reinstall virtualbox-dkms package and load the kernel module by executing
'modprobe vboxdrv'
as root.
So, I purged the virtualbox package entirely (apt purge virtualbox), and installed it again from the Ubuntu repo. However, the following error lines appear during the installation:
Code: Select all
(...)
Unpacking virtualbox-qt (6.1.6-dfsg-1) ...
Setting up virtualbox (6.1.6-dfsg-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/vboxweb.service → /l
ib/systemd/system/vboxweb.service.
Job for vboxweb.service failed because the service did not take the steps requir
ed by its unit configuration.
See "systemctl status vboxweb.service" and "journalctl -xe" for details.
Job for virtualbox.service failed because the control process exited with error
code.
See "systemctl status virtualbox.service" and "journalctl -xe" for details.
invoke-rc.d: initscript virtualbox, action "restart" failed.
● virtualbox.service - LSB: VirtualBox Linux kernel module
Loaded: loaded (/etc/init.d/virtualbox; generated)
Active: failed (Result: exit-code) since Fri 2021-01-08 11:31:36 -05; 12ms
ago
Docs: man:systemd-sysv-generator(8)
Process: 3463 ExecStart=/etc/init.d/virtualbox start (code=exited, status=1/
FAILURE)
Jan 08 11:31:35 myPC systemd[1]: Starting LSB: VirtualBox Linux kernel module..
.
Jan 08 11:31:35 myPC virtualbox[3463]: * Loading VirtualBox kernel modules...
Jan 08 11:31:36 myPC virtualbox[3463]: * No suitable module for running kernel
found
Jan 08 11:31:36 myPC virtualbox[3463]: ...fail!
Jan 08 11:31:36 myPC systemd[1]: virtualbox.service: Control process exited, co
de=exited, status=1/FAILURE
Jan 08 11:31:36 myPC systemd[1]: virtualbox.service: Failed with result 'exit-c
ode'.
Jan 08 11:31:36 myPC systemd[1]: Failed to start LSB: VirtualBox Linux kernel m
odule.
(...)
Code: Select all
-- The job identifier is 3038.
Jan 08 11:31:35 myPC virtualbox[3463]: * Loading VirtualBox kernel modules...
Jan 08 11:31:36 myPC virtualbox[3463]: * No suitable module for running kernel found
Jan 08 11:31:36 myPC virtualbox[3463]: ...fail!
Jan 08 11:31:36 myPC systemd[1]: virtualbox.service: Control process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
--
-- An ExecStart= process belonging to unit virtualbox.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Jan 08 11:31:36 myPC systemd[1]: virtualbox.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
--
-- The unit virtualbox.service has entered the 'failed' state with result 'exit-code'.
Jan 08 11:31:36 myPC systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.
-- Subject: A start job for unit virtualbox.service has failed
-- Defined-By: systemd
--
-- A start job for unit virtualbox.service has finished with a failure.
--
-- The job identifier is 3038 and the job result is failed.
Jan 08 11:31:36 myPC systemd[1]: Reloading.
Jan 08 11:31:36 myPC systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_>
Jan 08 11:31:36 myPC systemd[1]: Starting Process error reports when automatic reporting is enabled...
-- Subject: A start job for unit apport-autoreport.service has begun execution
-- Defined-By: systemd
Thank you!