Virtual Box not working on fresh install

    • OMV 3.x
    • Resolved
    • Virtual Box not working on fresh install

      So I have a fresh install of OMV 3.0.98, when I try to turn on Virtual Box service I get the following error in web UI.

      Source Code

      1. 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.


      When i check the journalctl it gives me this:

      Shell-Script

      1. -- Logs begin at Thu 2018-03-15 15:44:34 PDT, end at Thu 2018-03-15 20:20:56 PDT. --
      2. Mar 15 20:20:41 OMV systemd[1]: Starting LSB: VirtualBox Linux kernel module...
      3. -- Subject: Unit virtualbox.service has begun with start-up
      4. -- Defined-By: systemd
      5. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
      6. --
      7. -- Unit virtualbox.service has begun starting up.
      8. Mar 15 20:20:41 OMV virtualbox[24690]: Loading VirtualBox kernel modules...No suitable module for running kernel found .
      9. Mar 15 20:20:41 OMV virtualbox[24690]: failed!
      10. Mar 15 20:20:41 OMV systemd[1]: virtualbox.service: control process exited, code=exited status=1
      11. Mar 15 20:20:41 OMV systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.
      12. -- Subject: Unit virtualbox.service has failed
      13. -- Defined-By: systemd
      14. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
      15. --
      16. -- Unit virtualbox.service has failed.
      17. --
      18. -- The result is failed.
      19. Mar 15 20:20:41 OMV systemd[1]: Dependency failed for VirtualBox Web Service.
      20. -- Subject: Unit virtualbox-web.service has failed
      21. -- Defined-By: systemd
      22. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
      23. --
      24. -- Unit virtualbox-web.service has failed.
      25. --
      26. -- The result is dependency.
      Display All
      I found this thread while searching the forums VirtualBox errors, uninstalled and manually re-installed plugin manually.
      During the install I get the following Warning:

      Source Code

      1. WARNING: The character device /dev/vboxdrv does not exist.
      2. Please install the virtualbox-dkms package and the appropriate
      3. headers, most likely linux-headers-amd64.
      4. You will not be able to start VMs until this problem is fixed.

      When I try to install those packages it says both latest versions are installed. Not sure what else to do.


      System info:
      OMV Ver - 3.0.98
      Kernel - 4.9.0-0.bpo.3-amd64
      CPU - Ryzen 1300x
      Mobo - GA-AB350N-Gaming WIFI
    • Users Online 1

      1 Guest