VirtualBox Plugin: installing error

  • Hello folks!
    I read all virtualbox related post on this forum but i can't find a solution to my issue.
    My system runs OMV 0.4.15 64bit
    Virtualbox intallation fail with this error:



    and if i try to reconfigure the package (dpkg --configure)


    Code
    Stopping VirtualBox kernel modules:
    Message from syslogd@MyServer at Jan 20 13:43:54 ...
     kernel:[  480.775137] RTSpinlockReleaseNoInts: ffff880037882850 (magic=0x19480428)
    .
    Starting VirtualBox kernel modules:.
    Starting VirtualBox web service:
     failed!
    invoke-rc.d: initscript vboxweb-service, action "start" failed.


    How can i fix this???? I can't reinstall omv AGAIN!

  • Hi tekkbebe!
    Plugins repo is OK.
    Unfortunately the plugin is not checked installed also if it's present in the side-bar, so i used command-line to uninstall with dpkg --purge.
    Then i tried to re-install the plugin again... it fails!


  • Try purging it and then:


    apt-get -f install


    Then try plugin again.



    You did not say that you tried the apt-get -f install. It said in error message you
    have unmet dependencies. I try to see if you have dependency issue before
    installing plugin. If that does not work install plugin and then:


    apt-get -f install


    Then try to configure it...

  • Zitat von "tekkbebe"


    You did not say that you tried the apt-get -f install.


    Yes I already ran this command before and aften purging packages! No errors!



    Zitat von "tekkbebe"


    I try to see if you have dependency issue before
    installing plugin.


    the dependency issue, looking at the installation log, depends on openmediavault-virtualbox and it's normal cause virtualbox-4.2 package was not properly installed.


    I guess the issue is related to virtualboxweb service:

    Code
    invoke-rc.d: initscript vboxweb-service, action "start" failed


    However, the result is the same here.

  • Hello,


    I have exactly the same problem, do you manage to solve it ?


    Fedaikin 64bits


    Thankyou very much.


  • Thank you for your answer.


    As said in my previous post, I tried viewtopic.php?f=13&t=1708&start=10#p8810 but with no luck.


    The other topic doesn't work too.


    Always the same problem about wboxweb-service.

    • Offizieller Beitrag

    Did you go through this topic?


    Can you post the output of:


    cat /etc/apt/sources.list

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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
    /etc/init.d/vboxweb-service status
    Checking for VBox Web Service ...running
  • I've just changed my repos like this :



    Hope it 'll help.

    • Offizieller Beitrag

    That would be my first advice. Hope it works.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!

  • Uinstall the plugin. Then go thru these steps:


    Code
    rm -rf /root/.Virtualbox
    rm -rf /home/vbox
    rm -rf /etc/defaults/openmediavault-virtualbox
    rm -rf /etc/defaults/virtualbox
    rm -rf /tmp/.vbox*
    rm -rf /usr/share/phpvirtualbox
    userdel vbox
    groupdel vboxusers


    You changed your repos to usa, correct? Then do this.
    apt-get update
    apt-get upgrade
    apt-get -f install


    Then go into OMV web-gui and try to reinstall the plugin. Tell me what happens.


    PS- Ryeco, I have noticed that if a plugin is removed but the user/group is not deleted a reinstall will not work with the user/group that was setup in the prior install. So be sure that any users/groups created by a plugin/package in question has been deleted before reinstall.

  • The install seem good, thank you :



    But when I enable the plugin I've this error : :?:


    Do you have an idea of what I do wrong, thank you very much for yours advices.


    (identifiant inconnu : vbox = unknow user vbox)




    Code
    root@proliant:~#  /etc/init.d/vboxweb-service status
    Checking for VBox Web Service ...not running
  • Do these steps:


    First make sure this file exists /etc/default/virtualbox with these contents:

    Code
    # defaults for virtualbox
    # sourced by vboxweb-service on startup
    
    
    VBOXWEB_USER=vbox
    VBOXWEB_HOST=127.0.0.1


    if it is not there create it.


    Then in command line:
    modprobe vboxdrv
    reboot


    Then after reboot run this command to make sure Vbox services are running:
    ps aux | grep virtualbox


    Results of this command should look like this:

    Code
    root@OMVbase:~# ps aux | grep virtualbox
    vbox      1410  0.0  0.2 116040  5496 ?        Sl   20:37   0:00 /usr/lib/virtualbox/vboxwebsrv --background -H 127.0.0.1
    vbox      1412  0.0  0.2  84584  5284 ?        S    20:37   0:00 /usr/lib/virtualbox/VBoxXPCOMIPCD
    vbox      1417  0.0  0.3 104976  7372 ?        Sl   20:37   0:00 /usr/lib/virtualbox/VBoxSVC --auto-shutdown
    root      1599  0.0  0.0   7552   832 pts/0    S+   20:38   0:00 grep virtualbox
    root@OMVbase:~#


    Let me know if you see these serices running now...

  • I've done modprobe without error then reboot.


    Code
    root@proliant:~# ps aux | grep virtualbox
    root      4564  0.0  0.0   9620   880 pts/0    S+   08:39   0:00 grep virtualbox



    But in the interface it show virtualbox service "enable" but running : "off"


    I tried restarting the plugin by unchecking then checking virtualbox enable always the same error :




    Code
    root@proliant:~#  /etc/init.d/vboxweb-service start
    Starting VirtualBox web service:
     failed!
  • does the user "vbox" exist for your system?


    Code
    id vbox
    id: vbox : utilisateur inexistant => non existing user



    Is sudo installed?


    Code
    apt-get install sudo
    Lecture des listes de paquets... Fait
    Construction de l'arbre des dépendances
    Lecture des informations d'état... Fait
    sudo est déjà la plus récente version disponible.
    0 mis à jour, 0 nouvellement installés, 0 à enlever et 3 non mis à jour.
    
    
    => sudo is installed


    us vbox sudoer? => NO



    Do I have to do it manually ? Add user vbox etc ... ?

Jetzt mitmachen!

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