Not sure of it though,
the problems started appearing after yesterday (02.02.) update - I didn't notice any omv or plugin specific updates but what it looked like general ones for OS. I'm sorry now I didn't write it down I'm pretty sure backport 4.9.0 was among theese.
Anyways, upon reboot OMV wouldn't connect to phpVirtualBox throwing error:
Code
Error #0:
exception 'Exception' with message 'Could not connect to host (http://127.0.0.1:18083/)' in /usr/share/phpvirtualbox/endpoints/lib/vboxconnector.php:220
Stack trace:
#0 /usr/share/openmediavault/engined/rpc/virtualbox.inc(136): vboxconnector->connect()
#1 [internal function]: OMV\Engined\Rpc\VirtualBox->getMachines(Array, Array)
#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
#3 /usr/share/php/openmediavault/rpc/rpc.inc(84): OMV\Rpc\ServiceAbstract->callMethod('getMachines', Array, Array)
#4 /usr/sbin/omv-engined(516): OMV\Rpc\Rpc::call('VirtualBox', 'getMachines', Array, Array, 1)
#5 {main}
Any attempt to disable phpVirtualBox is met with Bad Gateway error and ultimately spits this out:
Code
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/bgstatus2Z...', '/tmp/bgoutputlL...')
#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}
Alles anzeigen
This is what syslog says:
Code
Feb 3 08:09:02 nas systemd[1]: Starting LSB: VirtualBox Linux kernel module...
Feb 3 08:09:02 nas systemd[1]: Failed to reset devices.list on /system.slice: Invalid argument
Feb 3 08:09:02 nas virtualbox[5456]: Loading VirtualBox kernel modules...No suitable module for running kernel found ... failed!
Feb 3 08:09:02 nas virtualbox[5456]: failed!
Feb 3 08:09:02 nas systemd[1]: virtualbox.service: control process exited, code=exited status=1
Feb 3 08:09:02 nas systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.
Feb 3 08:09:02 nas systemd[1]: Dependency failed for VirtualBox Web Service.
Feb 3 08:09:02 nas systemd[1]: Unit virtualbox.service entered failed state.
I also tried removing then installing the plugin again ( the windows way ) with same results - I've since completely disabled it.
Anyone knows more about this? Looks like borked/missing kernel module?