Problem while installing "openmediavault-virtualbox" on openmediavault 1.19 kralizec

  • Some prehistory , yesterday the server was on "0.5.6 sardaukar" . This i s server for small firm that i setup 2 years ago and it was working grate without maintenance. But yesterday the boss of the firm called me and say that he want a windows machine for something . So i i tough that virtualbox plugin is my think but after tried to install ops surprise there is no more support for squeeze . So i use this tread [SOLVED] Can't update from 0.5.60 to even 1.0 to upgrade to 1.19 . It goes ok. But now when i try to install virtual box i get this :


    So dpkg -l | grep virtualbox get me this :

    Code
    root@server:/# dpkg -l | grep virtualbox
    ii  phpvirtualbox                      4.3-3                             all          PhpVirtualBox is a web interface for VirtualBox
    ii  virtualbox-4.3                     4.3.38-106717~Debian~wheezy       amd64        Oracle VM VirtualBox
    iF  virtualbox-extpack-installer       4.3.28                            all          VirtualBox extpack installer.


    i thing that some part of the problem is the difference in the versions of virtualbox and extpack but i don't know how to resolve this .
    some more info :
    this is my source list:


    openmediavault.list:

    • Offizieller Beitrag

    Upgrade to OMV 2.x. Then try. 1.x is not supported anymore.

    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!

  • I was able to upgrade to 2.2.4 but still unabbe to install virtualbox :

    • Offizieller Beitrag

    What is the output of: dpkg -l |grep -E "virt|openm"

    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!

  • Code
    root@server:~# dpkg -l |grep -E "virt|openm"
    ii  openmediavault                     2.2.4                             all                                  Open network attached storage solution
    ii  openmediavault-keyring             0.4                               all                                  GnuPG archive keys of the OpenMediaVault archive
    ii  openmediavault-omvextrasorg        2.13.2                            all                                  OMV-Extras.org Package Repositories for OpenMediaVault
    ii  openvpn                            2.2.1-8+deb7u3                    amd64                                virtual private network daemon
    ii  phpvirtualbox                      4.3-3                             all                                  PhpVirtualBox is a web interface for VirtualBox
    ii  proftpd-basic                      1.3.4a-5+deb7u3                   amd64                                Versatile, virtual-hosting FTP daemon - binaries
    ii  virtualbox-4.3                     4.3.38-106717~Debian~wheezy       amd64                                Oracle VM VirtualBox
    ii  virtualbox-extpack-installer       4.3.34.1                          all                                  VirtualBox extpack installer.
    • Offizieller Beitrag

    It shows as installed. I assume the plugin is not working?

    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!

    • Offizieller Beitrag

    Try this:


    Code
    wget http://omv-extras.org/testing2/vb5_install.sh
    chmod +x vb5_install.sh
    ./vb5_install.sh

    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!

  • Ok i was able to install with this script , but now when i try to connect to phpVirtualBox i get this error:



    and this too :

    • Offizieller Beitrag

    Try a different browser or clear your browser cache.

    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!

  • Cache cleared , and with different browser exact same errors .


    SO, my bad :

    Code
    root@server:/# apt-get install build-essential
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    build-essential is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


    Code
    root@server:/# /etc/init.d/vboxdrv setup
    Stopping VirtualBox kernel modules ...done.
    Recompiling VirtualBox kernel modules ...failed!
      (Look at /var/log/vbox-install.log to find out what went wrong)


    Code
    root@server:/# cat  /var/log/vbox-install.log
    Makefile:185: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<direc                     tory> and run Make again.  Stop.
    Makefile:185: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<direc                     tory> and run Make again.  Stop.
    Makefile:185: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<direc                     tory> and run Make again.  Stop.


    Code
    [ ? ]  vboxautostart-service
     [ + ]  vboxballoonctrl-service
     [ + ]  vboxdrv
     [ + ]  vboxinit
     [ + ]  vboxweb-service


    Code
    root@server:/# cat /etc/group | grep box
    cdrom:x:24:chrno,vbox
    vboxusers:x:116:
    
    
    root@server:/# cat /etc/passwd | grep box
    vbox:x:997:116::/var/lib/vbox:/bin/sh





    So maybe it is not installed properly :D . Now what ?


    Whatever you did, the system wants to uninstall virtualbox. Try:


    apt-get purge virtualbox-4.3 openmediavault-virtualbox


    Then reinstall using the webinterface and the plugin



    - That and reinstall do the trick 10x ....

  • New problem



    Ok it is my bad again i didn't give a acl permeation of vboxuser for the folder where VM folder resents :)

Jetzt mitmachen!

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