Hi!
Recently upgraded to "3.0.59 Erasmus", and installed "OMVExtras 3.4.14".
Then went on to uninstall an existing virtual box install that was installed manually before upgrade to Erasmus (was running on Wheezy).
Uninstalled virtualbox using:
# apt-get remove --purge virtualbox openmediavault-virtualbox virtualbox-extpack-installer phpvirtualbox
# rm -f /etc/default/openmediavault-virtualbox /etc/default/virtualbox
# userdel vbox
Rebooted, and went on to re-installing via OMVExtras using:
# apt-get install openmediavault-virtualbox
Now, when I try to enable the service in the GUI, it throws an error:
Error #0:
exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl start virtualbox-web 2>&1' with exit code '1': A dependency job for virtualbox-web.service failed. See 'journalctl -xn' for details.' in /usr/share/php/openmediavault/system/process.inc:175
Stack trace:
#0 /usr/share/php/openmediavault/system/systemctl.inc(83): OMV\System\Process->execute(Array, 1)
#1 /usr/share/php/openmediavault/system/systemctl.inc(101): OMV\System\SystemCtl->exec('start', NULL, false)
#2 /usr/share/openmediavault/engined/module/virtualbox.inc(107): OMV\System\SystemCtl->enable(true)
#3 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Engined\Module\VirtualBox->startService()
#4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(150): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(528): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusMi...', '/tmp/bgoutputhc...')
#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(151): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#9 /usr/share/openmediavault/engined/rpc/config.inc(208): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
#11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
#12 /usr/share/php/openmediavault/rpc/rpc.inc(84): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
#13 /usr/sbin/omv-engined(516): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#14 {main}
Using journalctl, I see the error "Jan 13 15:59:43 x2100 systemd[1]: vboxdrv.service: control process exited, code=exited status=203
Jan 13 15:59:43 x2100 systemd[1]: Failed to start VirtualBox Linux kernel module.
-- Subject: Unit vboxdrv.service has failed
-- Defined-By: systemd"
I have tried cleaning and re-installing several times, but keep ending up with this error, and do not know what to do.
I have also tried combinations of the following commands to no avail:
# apt-get install build-essential libssl-dev linux-headers-`uname -r`
# apt-get install --reinstall linux-headers-amd64 virtualbox-dkms dkms
# dpkg-reconfigure virtualbox-dkms
# dpkg-reconfigure virtualbox
# modprobe vboxdrv
# systemctl restart virtualbox
# systemctl status virtualbox
Any ideas?
Supporting printouts:
root@x2100:/media/a9250666-e9ff-483a-a0a9-be8589bce4cb/data/library# journalctl -xn
-- Logs begin at Fri 2017-01-13 15:54:43 CST, end at Fri 2017-01-13 16:00:03 CST. --
Jan 13 15:59:43 x2100 systemd[1]: vboxdrv.service: control process exited, code=exited status=203
Jan 13 15:59:43 x2100 systemd[1]: Failed to start VirtualBox Linux kernel module.
-- Subject: Unit vboxdrv.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit vboxdrv.service has failed.
--
-- The result is failed.
Jan 13 15:59:43 x2100 systemd[1]: Dependency failed for VirtualBox Web Service.
-- Subject: Unit virtualbox-web.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit virtualbox-web.service has failed.
--
-- The result is dependency.
Jan 13 15:59:43 x2100 systemd[1]: Unit vboxdrv.service entered failed state.
Jan 13 16:00:01 x2100 CRON[3157]: pam_unix(cron:session): session opened for user root by (uid=0)
Jan 13 16:00:01 x2100 CRON[3158]: (root) CMD (/usr/sbin/omv-mkgraph >/dev/null 2>&1)
Jan 13 16:00:01 x2100 rrdcached[1203]: Received FLUSHALL
Jan 13 16:00:03 x2100 monit[1171]: 'nginx' process PID has not changed since last cycle
Jan 13 16:00:03 x2100 CRON[3157]: pam_unix(cron:session): session closed for user root
root@x2100:/media/a9250666-e9ff-483a-a0a9-be8589bce4cb/data/library# uname -a
Linux x2100 4.8.0-0.bpo.2-amd64 #1 SMP Debian 4.8.11-1~bpo8+1 (2016-12-14) x86_64 GNU/Linux
root@x2100:/media/a9250666-e9ff-483a-a0a9-be8589bce4cb/data/library# vboxmanage --version
5.1.8_Debianr111374
root@x2100:/media/a9250666-e9ff-483a-a0a9-be8589bce4cb/data/library# journalctl -p err -b
-- Logs begin at Fri 2017-01-13 15:54:43 CST, end at Fri 2017-01-13 16:00:03 CST. --
Jan 13 15:54:43 x2100 kernel: platform microcode: firmware: failed to load intel-ucode/06-3a-09 (-2)
Jan 13 15:54:43 x2100 kernel: platform microcode: firmware: failed to load intel-ucode/06-3a-09 (-2)
Jan 13 15:54:43 x2100 kernel: platform microcode: firmware: failed to load intel-ucode/06-3a-09 (-2)
Jan 13 15:54:43 x2100 kernel: platform microcode: firmware: failed to load intel-ucode/06-3a-09 (-2)
Jan 13 15:54:43 x2100 kernel: platform microcode: firmware: failed to load intel-ucode/06-3a-09 (-2)
Jan 13 15:54:43 x2100 kernel: platform microcode: firmware: failed to load intel-ucode/06-3a-09 (-2)
Jan 13 15:54:43 x2100 kernel: platform microcode: firmware: failed to load intel-ucode/06-3a-09 (-2)
Jan 13 15:54:43 x2100 kernel: platform microcode: firmware: failed to load intel-ucode/06-3a-09 (-2)
Jan 13 15:56:52 x2100 openmediavault-webgui[1352]: Authorized login from x.x.x.x [username=admin, user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 1
Jan 13 15:57:00 x2100 monit[1171]: 'nginx' process PID changed from 1084 to 1480
Jan 13 15:59:33 x2100 monit[1171]: 'nginx' process PID changed from 1480 to 2980
Jan 13 15:59:43 x2100 systemd[3149]: Failed at step EXEC spawning /usr/lib/virtualbox/vboxdrv.sh: No such file or directory
Jan 13 15:59:43 x2100 systemd[1]: Failed to start VirtualBox Linux kernel module.
Jan 13 15:59:43 x2100 systemd[1]: Dependency failed for VirtualBox Web Service.
root@x2100:/media/a9250666-e9ff-483a-a0a9-be8589bce4cb/data/library# cd /lib/systemd/system
root@x2100:/lib/systemd/system# ls -al | grep syslog
-rw-r--r-- 1 root root 290 Dec 19 2015 rsyslog.service
-rw-r--r-- 1 root root 1328 Sep 2 17:02 syslog.socket
root@x2100:/lib/systemd/system# cat vboxdrv.service
[Unit]
SourcePath=/usr/lib/virtualbox/vboxdrv.sh
Description=VirtualBox Linux kernel module
Before=runlevel2.target runlevel3.target runlevel4.target runlevel5.target shutdown.target
After=
Conflicts=shutdown.target
[Service]
Type=forking
Restart=no
TimeoutSec=5min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes
ExecStart=/usr/lib/virtualbox/vboxdrv.sh start
ExecStop=/usr/lib/virtualbox/vboxdrv.sh stop
[Install]
WantedBy=multi-user.target
root@x2100:/lib/systemd/system#