Virtualbox for Omv3 doesn't work (closed)

  • Hello,


    I have a fresh installed omv 3 but my virtualbox doesn't want to work. I have 2 Errors:


    Error 1: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; omv-mkconf virtualbox 2>&1' with exit code '2': sh: 1: Syntax error: Unterminated quoted string


    Error: Could not connect to host (http://127.0.0.1:18083/)


    Would be nice if you can help me :)

    • Official Post

    Sounds like something is wrong with your shared folder you selected for the VMs. Let me guess... it has a space in it?

    omv 6.9.0-1 Shaitan | 64 bit | 6.2 proxmox kernel

    plugins :: omvextrasorg 6.3.1 | kvm 6.2.16 | compose 6.10.3 | cputemp 6.1.3 | mergerfs 6.3.7


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • no it doesnt fix it. Right now I have this 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.


    Details:
    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:175Stack trace:#0 /usr/share/php/openmediavault/system/systemctl.inc(86): OMV\System\Process->execute(Array, 1)#1 /usr/share/php/openmediavault/system/systemctl.inc(104): 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(194): 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/bgstatusjk...', '/tmp/bgoutputrp...')#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(151): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))#9 /usr/share/openmediavault/engined/rpc/config.inc(213): 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(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)#13 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)#14 {main}

  • und die journalctl -xn :



    -- Logs begin at Mi 2018-02-21 21:55:33 CET, end at Mi 2018-02-21 22:37:13 CET. --
    Feb 21 22:37:13 openmediavault systemd[1]: Activated swap /dev/disk/by-id/usb-Verbatim_Store__n__Go_00000000000019-0:0-part5.
    -- Subject: Unit dev-disk-by\x2did-usb\x2dVerbatim_Store__n__Go_00000000000019\x2d0:0\x2dpart5.swap has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit dev-disk-by\x2did-usb\x2dVerbatim_Store__n__Go_00000000000019\x2d0:0\x2dpart5.swap has finished starting up.
    --
    -- The start-up result is done.
    Feb 21 22:37:13 openmediavault systemd[1]: Activated swap /dev/disk/by-path/pci-0000:00:1d.7-usb-0:2:1.0-scsi-0:0:0:0-part5.
    -- Subject: Unit dev-disk-by\x2dpath-pci\x2d0000:00:1d.7\x2dusb\x2d0:2:1.0\x2dscsi\x2d0:0:0:0\x2dpart5.swap has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit dev-disk-by\x2dpath-pci\x2d0000:00:1d.7\x2dusb\x2d0:2:1.0\x2dscsi\x2d0:0:0:0\x2dpart5.swap has finished starting up.
    --
    -- The start-up result is done.
    Feb 21 22:37:13 openmediavault systemd[1]: Starting LSB: VirtualBox Linux kernel module...
    -- Subject: Unit virtualbox.service has begun with start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit virtualbox.service has begun starting up.
    Feb 21 22:37:13 openmediavault virtualbox[11921]: Loading VirtualBox kernel modules...No suitable module for running kernel found ... failed!
    Feb 21 22:37:13 openmediavault virtualbox[11921]: failed!
    Feb 21 22:37:13 openmediavault systemd[1]: virtualbox.service: control process exited, code=exited status=1
    Feb 21 22:37:13 openmediavault systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.
    -- Subject: Unit virtualbox.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit virtualbox.service has failed.
    --
    -- The result is failed.
    Feb 21 22:37:13 openmediavault 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.
    Feb 21 22:37:13 openmediavault systemd[1]: Unit virtualbox.service entered failed state.
    ...skipping...
    -- Logs begin at Mi 2018-02-21 21:55:33 CET, end at Mi 2018-02-21 22:37:13 CET. --
    Feb 21 22:37:13 openmediavault systemd[1]: Activated swap /dev/disk/by-id/usb-Verbatim_Store__n__Go_00000000000019-0:0-part5.
    -- Subject: Unit dev-disk-by\x2did-usb\x2dVerbatim_Store__n__Go_00000000000019\x2d0:0\x2dpart5.swap has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit dev-disk-by\x2did-usb\x2dVerbatim_Store__n__Go_00000000000019\x2d0:0\x2dpart5.swap has finished starting up.
    --
    -- The start-up result is done.
    Feb 21 22:37:13 openmediavault systemd[1]: Activated swap /dev/disk/by-path/pci-0000:00:1d.7-usb-0:2:1.0-scsi-0:0:0:0-part5.
    -- Subject: Unit dev-disk-by\x2dpath-pci\x2d0000:00:1d.7\x2dusb\x2d0:2:1.0\x2dscsi\x2d0:0:0:0\x2dpart5.swap has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit dev-disk-by\x2dpath-pci\x2d0000:00:1d.7\x2dusb\x2d0:2:1.0\x2dscsi\x2d0:0:0:0\x2dpart5.swap has finished starting up.
    --
    -- The start-up result is done.
    Feb 21 22:37:13 openmediavault systemd[1]: Starting LSB: VirtualBox Linux kernel module...
    -- Subject: Unit virtualbox.service has begun with start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit virtualbox.service has begun starting up.
    Feb 21 22:37:13 openmediavault virtualbox[11921]: Loading VirtualBox kernel modules...No suitable module for running kernel found ... failed!
    Feb 21 22:37:13 openmediavault virtualbox[11921]: failed!
    Feb 21 22:37:13 openmediavault systemd[1]: virtualbox.service: control process exited, code=exited status=1
    Feb 21 22:37:13 openmediavault systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.
    -- Subject: Unit virtualbox.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit virtualbox.service has failed.
    --
    -- The result is failed.
    ...skipping...
    Feb 21 22:37:13 openmediavault systemd[1]: Activated swap /dev/disk/by-path/pci-0000:00:1d.7-usb-0:2:1.0-scsi-0:0:0:0-part5.
    -- Subject: Unit dev-disk-by\x2dpath-pci\x2d0000:00:1d.7\x2dusb\x2d0:2:1.0\x2dscsi\x2d0:0:0:0\x2dpart5.swap has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit dev-disk-by\x2dpath-pci\x2d0000:00:1d.7\x2dusb\x2d0:2:1.0\x2dscsi\x2d0:0:0:0\x2dpart5.swap has finished starting up.
    --
    -- The start-up result is done.
    Feb 21 22:37:13 openmediavault systemd[1]: Starting LSB: VirtualBox Linux kernel module...
    -- Subject: Unit virtualbox.service has begun with start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit virtualbox.service has begun starting up.
    Feb 21 22:37:13 openmediavault virtualbox[11921]: Loading VirtualBox kernel modules...No suitable module for running kernel found ... failed!
    Feb 21 22:37:13 openmediavault virtualbox[11921]: failed!
    Feb 21 22:37:13 openmediavault systemd[1]: virtualbox.service: control process exited, code=exited status=1
    Feb 21 22:37:13 openmediavault systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.
    -- Subject: Unit virtualbox.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit virtualbox.service has failed.
    --
    -- The result is failed.
    Feb 21 22:37:13 openmediavault 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.
    Feb 21 22:37:13 openmediavault systemd[1]: Unit virtualbox.service entered failed state.

    • Official Post

    It didn't build vboxdrv module correctly. There are lots of threads about that on here.

    omv 6.9.0-1 Shaitan | 64 bit | 6.2 proxmox kernel

    plugins :: omvextrasorg 6.3.1 | kvm 6.2.16 | compose 6.10.3 | cputemp 6.1.3 | mergerfs 6.3.7


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Bert105 Bertolt11

    Changed the title of the thread from “Virtualbox for Omv3 doesn't work” to “Virtualbox for Omv3 doesn't work (closed)”.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!