virtualbox problems

  • hi there


    when i installed virtualbox i get nothing but errors. As soon i click on virtual i get this error
    Error #64:exception 'Exception' with message 'Could not connect to host (http://127.0.0.1:18083/)' in /usr/share/phpvirtualbox/lib/vboxconnector.php:210


    i've run build-essentials and vboxdrv setup, they fail with error too and point me to this log /var/log/vbox-install.log


    Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
    Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
    make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /lib/modules/3.16.0-0.bpo.4-amd64/build modules
    make[1]: Entering directory `/usr/src/linux-headers-3.16.0-0.bpo.4-amd64'
    make -C /usr/src/linux-headers-3.16.0-0.bpo.4-amd64 \
    KBUILD_SRC=/usr/src/linux-headers-3.16.0-0.bpo.4-common \
    KBUILD_EXTMOD="/tmp/vbox.0" -f /usr/src/linux-headers-3.16.0-0.bpo.4-common/Makefile \
    modules
    test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
    echo >&2; \
    echo >&2 " ERROR: Kernel configuration is invalid."; \
    echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
    echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
    echo >&2 ; \
    /bin/false)
    mkdir -p /tmp/vbox.0/.tm




    Can anyone please help???



    Andy

    • Offizieller Beitrag

    You need the kernel-headers installed. How did you install the backports kernel? There is a button to install the kernel headers in omv-extras.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    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!

  • Hi ryecoaaron again,


    sorry that failed too earlier:
    Install build-essential.
    Reading package lists...
    Building dependency tree...
    Reading state information...
    build-essential is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
    Recompile VirtualBox module.
    Stopping VirtualBox kernel modules ...done.
    Recompiling VirtualBox kernel modules ...failed!
    (Look at /var/log/vbox-install.log to find out what went wrong)
    Load VirtualBox module.
    Starting VirtualBox kernel modules ...failed!
    (modprobe vboxdrv failed. Please use 'dmesg' to find out why)
    Restart vboxweb-service
    Starting VirtualBox web service ...fail!

    • Offizieller Beitrag

    What is the output of:


    apt-get -t wheezy-backports --yes --force-yes --fix-missing install linux-headers-3.16.0-0.bpo.4-amd64 firmware-linux firmware-linux-free

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    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!

  • hi


    that worked fine, everything unpacked and installed fine.When i clicked on phpvirtualbox and entered username password i got htis:


    Exception Object
    (
    [message:protected] => Could not connect to host (http://127.0.0.1:18083/)
    [string:Exception:private] =>
    [code:protected] => 64
    [file:protected] => /usr/share/phpvirtualbox/lib/ajax.php
    [line:protected] => 128
    [trace:Exception:private] => Array
    (
    )


    [previous:Exception:private] =>
    )

    • Offizieller Beitrag
    Code
    apt-get purge openmediavault-virtualbox virtualbox
    reboot
    rm -f /etc/default/openmediavault-virtualbox /etc/default/virtualbox
    userdel vbox
    groupdel vboxusers
    reboot


    Then reinstall the plugin

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    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!

  • Thanks, got this after reinstalling;


    useradd: group 'vboxusers' does not exist
    dpkg: error processing openmediavault-virtualbox (--configure):
    subprocess installed post-installation script returned error exit status 6
    Processing triggers for openmediavault ...
    Restarting engine daemon ...
    Errors were encountered while processing:
    openmediavault-virtualbox


    Cannot click on close, its stuck now.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!