VirtualBox in unRAID


Recommended Posts

I added to my last post something to try.

I have 5GB of RAM and right now, about 565MB is in use.

 

root@MICRO:/opt# installpkg /boot/packages/vbox-4.1.20-unRAID-2.6.32.9.tgz                     
Verifying package vbox-4.1.20-unRAID-2.6.32.9.tgz.
Installing package vbox-4.1.20-unRAID-2.6.32.9.tgz:
PACKAGE DESCRIPTION:
Executing install script for vbox-4.1.20-unRAID-2.6.32.9.tgz.
insmod: error inserting '/lib/modules/2.6.32.9-unRAID/misc/vboxdrv.ko': -1 File exists
insmod: error inserting '/lib/modules/2.6.32.9-unRAID/misc/vboxnetadp.ko': -1 File exists
insmod: error inserting '/lib/modules/2.6.32.9-unRAID/misc/vboxnetflt.ko': -1 File exists
Package vbox-4.1.20-unRAID-2.6.32.9.tgz installed.

root@MICRO:/opt# ps -ef |grep ox
root     11840 17682  0 18:51 pts/4    00:00:00 grep ox
root@MICRO:/opt# vboxwebsrv -b -H 127.0.0.1 --logfile /dev/null >/dev/null
Oracle VM VirtualBox web service version 4.1.20
(C) 2005-2012 Oracle Corporation
All rights reserved.
root@MICRO:/opt# ps -ef |grep ox
root     12119 17682  0 18:51 pts/4    00:00:00 grep ox
root@MICRO:/opt# VBoxManage extpack install /boot/packages/Oracle_VM_VirtualBox_Extension_Pack-4.1.20-80170.vbox-extpack
0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to install "/boot/packages/Oracle_VM_VirtualBox_Extension_Pack-4.1.20-80170.vbox-extpack": Extension pack 'Oracle VM VirtualBox Extension Pack' is already installed. In case of a reinstallation, please uninstall it first
root@MICRO:/opt# ps -ef |grep ox
root     12603 17682  0 18:52 pts/4    00:00:00 grep ox
root@MICRO:/opt#

Link to comment
  • Replies 528
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

I added to my last post something to try.

I have 5GB of RAM and right now, about 565MB is in use.

That should be enough.

 

root@MICRO:/opt# installpkg /boot/packages/vbox-4.1.20-unRAID-2.6.32.9.tgz                     
Verifying package vbox-4.1.20-unRAID-2.6.32.9.tgz.
Installing package vbox-4.1.20-unRAID-2.6.32.9.tgz:
PACKAGE DESCRIPTION:
Executing install script for vbox-4.1.20-unRAID-2.6.32.9.tgz.
insmod: error inserting '/lib/modules/2.6.32.9-unRAID/misc/vboxdrv.ko': -1 File exists
insmod: error inserting '/lib/modules/2.6.32.9-unRAID/misc/vboxnetadp.ko': -1 File exists
insmod: error inserting '/lib/modules/2.6.32.9-unRAID/misc/vboxnetflt.ko': -1 File exists
Package vbox-4.1.20-unRAID-2.6.32.9.tgz installed.

root@MICRO:/opt# ps -ef |grep ox
root     11840 17682  0 18:51 pts/4    00:00:00 grep ox

File exists - typically that would mean you are trying to run the install file a 2nd time after it is already running. I do not know why it is not showing as running.

 

Let me know the output from just "ps -ef". It will be all your processed (more to sort through). Maybe it is not be named correctly for some reason? I am confused how both of you on different versions of unRAID are getting the same problem when one of the versions (for 5RC6) was verified to work.

 

neilt0, you mentioned the install commands were in your go file. Comment out those lines & restart. Once the array is up & started, then try this again & let me see the output.

installpkg /boot/packages/vbox-4.1.20-unRAID-2.6.32.9.tgz

ps -ef |grep ox

vboxwebsrv -b -H 127.0.0.1 --logfile /dev/null >/dev/null

ps -ef |grep ox

VBoxManage extpack install /boot/packages/Oracle_VM_VirtualBox_Extension_Pack-4.1.20-80170.vbox-extpack

ps -ef |grep ox

 

If unRAID is trying to install this before the array finishes starting, you may not see any errors it gives. Right now that is all that is coming to me as a possibility.  If that does not work, I will try to re-compile VirtualBox for unRAID 4.7 to see if maybe something happened that I missed.

 

Link to comment

Ack! Restarting is a pain.

 

If unRAID is trying to install this before the array finishes starting, you may not see any errors it gives. Right now that is all that is coming to me as a possibility.  If that does not work, I will try to re-compile VirtualBox for unRAID 4.7 to see if maybe something happened that I missed.

The go script has not run with those lines in. I have only used them in the shell. ETA: OK, I am rebooting, will post log shortly!

 

Meanwhile, before rebooting:

 

UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 Aug05 ?        00:00:14 init 
root         2     0  0 Aug05 ?        00:00:00 [kthreadd]
root         3     2  0 Aug05 ?        00:00:39 [migration/0]
root         4     2  0 Aug05 ?        00:00:01 [ksoftirqd/0]
root         5     2  0 Aug05 ?        00:00:34 [migration/1]
root         6     2  0 Aug05 ?        00:00:00 [ksoftirqd/1]
root         7     2  0 Aug05 ?        00:00:00 [events/0]
root         8     2  0 Aug05 ?        00:00:04 [events/1]
root         9     2  0 Aug05 ?        00:00:00 [khelper]
root        14     2  0 Aug05 ?        00:00:00 [async/mgr]
root       116     2  0 Aug05 ?        00:18:07 [sync_supers]
root       118     2  0 Aug05 ?        00:00:00 [bdi-default]
root       120     2  0 Aug05 ?        00:00:00 [kblockd/0]
root       121     2  0 Aug05 ?        00:00:00 [kblockd/1]
root       122     2  0 Aug05 ?        00:00:00 [kacpid]
root       123     2  0 Aug05 ?        00:00:00 [kacpi_notify]
root       124     2  0 Aug05 ?        00:00:00 [kacpi_hotplug]
root       232     2  0 Aug05 ?        00:00:00 [ata/0]
root       233     2  0 Aug05 ?        00:00:00 [ata/1]
root       234     2  0 Aug05 ?        00:00:00 [ata_aux]
root       238     2  0 Aug05 ?        00:00:00 [ksuspend_usbd]
root       243     2  0 Aug05 ?        00:00:00 [khubd]
root       246     2  0 Aug05 ?        00:00:00 [kseriod]
root       279     2  0 Aug05 ?        00:00:00 [rpciod/0]
root       280     2  0 Aug05 ?        00:00:16 [rpciod/1]
root       312     2  0 Aug05 ?        00:27:30 [kswapd0]
root       357     2  0 Aug05 ?        00:00:00 [aio/0]
root       358     2  0 Aug05 ?        00:00:00 [aio/1]
root       364     2  0 Aug05 ?        00:00:34 [nfsiod]
root       369     2  0 Aug05 ?        00:00:00 [kslowd000]
root       370     2  0 Aug05 ?        00:00:00 [kslowd001]
root       460 11518  0 12:26 ?        00:00:03 /usr/bin/php-cgi
root       583     2  0 Aug05 ?        00:00:00 [usbhid_resumer]
root       622     1  0 Aug05 ?        00:00:00 /sbin/udevd --daemon
root       680     2  0 Aug05 ?        00:00:00 [scsi_eh_0]
root       681     2  0 Aug05 ?        00:00:02 [usb-storage]
root       786     2  0 Aug05 ?        00:00:00 [scsi_eh_1]
root       787     2  0 Aug05 ?        00:00:00 [scsi_eh_2]
root       788     2  0 Aug05 ?        00:00:00 [scsi_eh_3]
root       789     2  0 Aug05 ?        00:00:00 [scsi_eh_4]
root       790     2  0 Aug05 ?        00:00:00 [scsi_eh_5]
root       791     2  0 Aug05 ?        00:00:00 [scsi_eh_6]
root      1236     1  2 13:09 ?        00:07:51 /tmp/nzbget-9.0-testing/nzbget -c /mnt/cache/.nzbget/nzbget.conf -D
root      1247     1  0 Aug05 ?        00:00:03 /usr/sbin/syslogd -m0
root      1251     1  0 Aug05 ?        00:00:00 /usr/sbin/klogd -c 3 -x
root      1290     1  0 Aug05 ?        00:01:06 /usr/sbin/ifplugd -i eth0 -fwI -u0 -d10
bin       1298     1  0 Aug05 ?        00:00:00 /sbin/rpc.portmap
nobody    1302     1  0 Aug05 ?        00:00:00 /sbin/rpc.statd
root      1312     1  0 Aug05 ?        00:00:00 /usr/sbin/inetd
root      1322     1  0 Aug05 ?        00:00:00 /usr/sbin/acpid
root      1329     1  0 Aug05 ?        00:00:02 /usr/sbin/crond -l10
daemon    1331     1  0 Aug05 ?        00:00:00 /usr/sbin/atd -b 15 -l 1
root      1336     1  0 Aug05 ?        00:00:57 /usr/sbin/nmbd -D
root      1338     1  0 Aug05 ?        00:00:01 /usr/sbin/smbd -D
root      1356  1338  0 Aug05 ?        00:00:00 /usr/sbin/smbd -D
root      1708     1  0 Aug05 ?        00:00:54 /usr/local/sbin/emhttp
root      1714     1  0 Aug05 ?        00:00:00 /bin/bash /boot/unmenu/uu
root      1715     1  0 Aug05 ?        00:00:00 logger -tunmenu -plocal7.info -is
root      1741     2  0 Aug05 ?        00:00:00 [mdrecoveryd]
root      1749     2  0 Aug05 ?        00:00:00 [spinupd]
root      1750     2  0 Aug05 ?        00:00:00 [spinupd]
root      1751     2  0 Aug05 ?        00:00:00 [spinupd]
root      1752     2  0 Aug05 ?        00:00:00 [spinupd]
root      1753     2  0 Aug05 ?        00:00:00 [spinupd]
root      1854     2  0 Aug05 ?        00:39:17 [unraidd]
root      1934     2  0 Aug05 ?        00:00:13 [reiserfs/0]
root      1935     2  0 Aug05 ?        00:00:13 [reiserfs/1]
root      2060     1  0 Aug05 ?        01:34:40 /usr/local/sbin/shfs /mnt/user -cache 1 -floor 2000000 -o noatime,big_writes,allow_other,default_permissions
root      2068     1  0 Aug05 ?        00:00:01 /usr/local/sbin/shfs /mnt/user0 -cache 0 -o noatime,big_writes,allow_other,default_permissions
root      2105     2  0 Aug05 ?        00:00:00 [lockd]
root      2106     2  0 Aug05 ?        00:02:05 [nfsd]
root      2107     2  0 Aug05 ?        00:02:04 [nfsd]
root      2108     2  0 Aug05 ?        00:02:04 [nfsd]
root      2109     2  0 Aug05 ?        00:02:04 [nfsd]
root      2110     2  0 Aug05 ?        00:02:05 [nfsd]
root      2111     2  0 Aug05 ?        00:02:04 [nfsd]
root      2112     2  0 Aug05 ?        00:02:05 [nfsd]
root      2113     2  0 Aug05 ?        00:02:05 [nfsd]
root      2115     1  0 Aug05 ?        00:00:00 /usr/sbin/rpc.mountd
root      2129  1338  2 06:33 ?        00:16:13 /usr/sbin/smbd -D
root      2385     2  0 Aug19 ?        00:04:37 [flush-8:16]
root      3016     1  0 Aug06 ?        00:00:00 SCREEN
root      3017  3016  0 Aug06 pts/3    00:00:00 /bin/bash
root      6782     1  0 Aug19 ?        00:00:15 /usr/sbin/snmpd -A -p /var/run/snmpd -a -c /etc/snmp/snmpd.conf
root      6789  1714  0 Aug17 ?        00:00:35 awk -W re-interval -f ./unmenu.awk
root      7091  1312  0 11:11 ?        00:00:00 in.telnetd: 192.168.0.15                                                                                                                                                                                                                                                                                               
root      7092  7091  0 11:11 pts/2    00:00:00 -bash
istat     7813     1  0 Aug05 ?        00:01:17 /usr/local/bin/istatd -d
root      8957     1  0 Aug21 ?        00:00:14 /usr/sbin/ntpd -g -p /var/run/ntpd.pid
root     10980  3017  0 Aug06 pts/3    00:00:03 screen -r
root     11341  7092  0 18:50 pts/2    00:00:00 screen -r 17681.pts-2.MICRO
root     11411     1  0 Aug05 ?        00:00:00 /usr/sbin/lighttpd-angel -D -f /boot/custom/lighttpd/lighttpd.conf
root     11412     1  0 Aug05 ?        00:00:00 awk -W re-interval -f /boot/custom/lighttpd/lighttpd_cp.awk
root     11414 11411  0 Aug05 ?        00:08:19 /usr/sbin/lighttpd -D -f /boot/custom/lighttpd/lighttpd.conf
root     11415 11414  0 Aug05 ?        00:00:00 /usr/bin/php-cgi
root     11444 11414  0 Aug05 ?        00:00:00 /usr/bin/php-cgi
root     11517 11414  0 Aug05 ?        00:00:00 /usr/bin/php-cgi
root     11518 11414  0 Aug05 ?        00:00:00 /usr/bin/php-cgi
root     11520 11517  0 Aug05 ?        00:00:04 /usr/bin/php-cgi
root     11521 11444  0 Aug05 ?        00:00:00 /usr/bin/php-cgi
root     11522 11415  0 Aug05 ?        00:00:00 /usr/bin/php-cgi
root     12757     2  0 11:19 ?        00:00:00 [iprt/0]
root     12758     2  0 11:19 ?        00:00:00 [iprt/1]
root     13554     1 12 12:02 ?        00:55:28 python /mnt/cache/.sabnzbd/SABnzbd.py -d
root     14345  1312  0 18:54 ?        00:00:00 in.telnetd: 192.168.0.15                                                                                                                                                                                                                                                                                               
root     14348 14345  0 18:54 pts/5    00:00:00 -bash
root     17130     1  0 Aug05 ?        03:54:57 python /mnt/cache/.sickbeard/SickBeard.py --daemon
root     17681     1  0 Aug07 ?        00:00:00 SCREEN
root     17682 17681  0 Aug07 pts/4    00:00:00 /bin/bash
root     24842 14348 12 19:09 pts/5    00:01:03 /usr/bin/mc -P /tmp/mc-root/mc.pwd.14348
root     24844 24842  0 19:09 pts/6    00:00:00 bash -rcfile .bashrc
root     25567     2  0 19:10 ?        00:00:04 [flush-9:1]
root     30224     1  0 Aug05 ?        00:00:26 /bin/bash /boot/packages/cache_dirs -w -i REDACTED
root     30225     1  0 Aug05 ?        00:00:26 /bin/bash /boot/packages/cache_dirs -w -i REDACTED
root     30227     1  0 Aug05 ?        00:00:27 /bin/bash /boot/packages/cache_dirs -w -i REDACTED
root     30228     1  0 Aug05 ?        00:00:26 /bin/bash /boot/packages/cache_dirs -w -i REDACTED
root     30229     1  0 Aug05 ?        00:00:26 /bin/bash /boot/packages/cache_dirs -w -i REDACTED
root     30265     1  0 Aug05 ?        01:17:12 /bin/bash /boot/packages/cache_dirs -w -i REDACTED
root     31160     1  0 Aug05 ?        00:00:00 /usr/bin/SCREEN -dmS rtorrentd /usr/bin/rtorrent -n -o import=/boot/custom/etc/rtorrent.rc
root     31163 31160  0 Aug05 pts/1    01:37:18 /usr/bin/rtorrent -n -o import=/boot/custom/etc/rtorrent.rc
root     31164     1  0 Aug05 tty1     00:00:00 /sbin/agetty 38400 tty1 linux
root     31165     1  0 Aug05 tty2     00:00:00 /sbin/agetty 38400 tty2 linux
root     31166     1  0 Aug05 tty3     00:00:00 /sbin/agetty 38400 tty3 linux
root     31167     1  0 Aug05 tty4     00:00:00 /sbin/agetty 38400 tty4 linux
root     31168     1  0 Aug05 tty5     00:00:00 /sbin/agetty 38400 tty5 linux
root     31169     1  0 Aug05 tty6     00:00:00 /sbin/agetty 38400 tty6 linux
root     32159 30265  0 19:17 ?        00:00:00 sleep 7
root     32176 30229  0 19:17 ?        00:00:00 sleep 2
root     32178 30227  0 19:17 ?        00:00:00 sleep 2
root     32180 30224  0 19:17 ?        00:00:00 sleep 2
root     32182 30225  0 19:17 ?        00:00:00 sleep 2
root     32183 17682  0 19:17 pts/4    00:00:00 ps -ef

Link to comment

Here you go, after a fresh boot with no VirtualBox shiz in the go script:

 

Linux 2.6.32.9-unRAID.
root@MICRO:~# installpkg /boot/packages/vbox-4.1.20-unRAID-2.6.32.9.tgz
Verifying package vbox-4.1.20-unRAID-2.6.32.9.tgz.
Installing package vbox-4.1.20-unRAID-2.6.32.9.tgz:
PACKAGE DESCRIPTION:
Executing install script for vbox-4.1.20-unRAID-2.6.32.9.tgz.
Package vbox-4.1.20-unRAID-2.6.32.9.tgz installed.

root@MICRO:~# ps -ef |grep ox
root      1800 11141  0 20:02 pts/0    00:00:00 grep ox
root@MICRO:~# vboxwebsrv -b -H 127.0.0.1 --logfile /dev/null >/dev/null
Oracle VM VirtualBox web service version 4.1.20
(C) 2005-2012 Oracle Corporation
All rights reserved.
root@MICRO:~# ps -ef |grep ox
root      1930 11141  0 20:02 pts/0    00:00:00 grep ox
ension_Pack-4.1.20-80170.vbox-extpackall /boot/packages/Oracle_VM_VirtualBox_Ext
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully installed "Oracle VM VirtualBox Extension Pack".
root@MICRO:~# ps -ef |grep ox
root      2172 11141  0 20:03 pts/0    00:00:00 grep ox

Link to comment

**SNIP**

 

Here you go, it seems to start then stop? I have 8GB ram so that really shouldn't be an issue  :(

 

root@Tower:/boot/extra/virtualbox# installpkg vbox-4.1.20-unRAID-3.4.4.tgz 
Verifying package vbox-4.1.20-unRAID-3.4.4.tgz.
Installing package vbox-4.1.20-unRAID-3.4.4.tgz:
PACKAGE DESCRIPTION:
Executing install script for vbox-4.1.20-unRAID-3.4.4.tgz.
Package vbox-4.1.20-unRAID-3.4.4.tgz installed.

root@Tower:/boot/extra/virtualbox# ps -ef |grep ox
root      5335  2332  0 22:13 pts/0    00:00:00 grep ox

root@Tower:/boot/extra/virtualbox# vboxwebsrv -b -H 127.0.0.1 --logfile /dev/null >/dev/null
Oracle VM VirtualBox web service version 4.1.20
(C) 2005-2012 Oracle Corporation
All rights reserved.

root@Tower:/boot/extra/virtualbox# ps -ef |grep ox
root      5389  2332  0 22:13 pts/0    00:00:00 grep ox

root@Tower:/boot/extra/virtualbox# VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.1.20-80170.vbox-extpack 
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully installed "Oracle VM VirtualBox Extension Pack".

root@Tower:/boot/extra/virtualbox# ps -ef |grep ox
root      5412     1  0 22:13 ?        00:00:00 /opt/VirtualBox/VBoxXPCOMIPCD
root      5420     1 22 22:13 ?        00:00:01 /opt/VirtualBox/VBoxSVC --auto-shutdown
root      5438  2332  0 22:13 pts/0    00:00:00 grep ox

root@Tower:/boot/extra/virtualbox# ps -ef |grep ox
root      5446  2332  0 22:13 pts/0    00:00:00 grep ox

root@Tower:/boot/extra/virtualbox# ps -ef |grep ox
root      5448  2332  0 22:13 pts/0    00:00:00 grep ox
root@Tower:/boot/extra/virtualbox# 

 

 

 

If I run the following after a clean reboot with NO additions apart from webserver:

 


root@Tower:/boot/extra/virtualbox# vboxwebsrv -H 127.0.0.1
Oracle VM VirtualBox web service version 4.1.20
(C) 2005-2012 Oracle Corporation
All rights reserved.
VirtualBox web service 4.1.20 r80170 linux.x86 (Aug 20 2012 16:20:54) release log
00:00:00.001 main     Log opened 2012-08-27T21:28:35.428503000Z
00:00:00.001 main     OS Product: Linux
00:00:00.001 main     OS Release: 3.4.4-unRAID
00:00:00.001 main     OS Version: #2 SMP Thu Jul 26 10:31:59 PDT 2012
00:00:00.001 main     OS Service Pack: #2 SMP Thu Jul 26 10:31:59 PDT 2012
00:00:00.001 main     Executable: /opt/VirtualBox/vboxwebsrv
00:00:00.001 main     Process ID: 3018
00:00:00.001 main     Package type: LINUX_32BITS_GENERIC
00:00:00.410 SQPmp    Socket connection successful: host = 127.0.0.1, port = 18083, master socket = 8

 

which results in:

 

root      3018  2397  0 22:28 pts/1    00:00:00 /opt/VirtualBox/vboxwebsrv -H 127.0.0.1
root      3034     1  0 22:28 ?        00:00:00 /opt/VirtualBox/VBoxXPCOMIPCD
root      3042     1  0 22:28 ?        00:00:00 /opt/VirtualBox/VBoxSVC --auto-shutdown

 

 

Then if I try and access it via tower:8082:

 

Error: Error logging in to vboxwebsrv.

Details:


Exception Object
(
    [message:protected] => Error logging in to vboxwebsrv.
    [string:Exception:private] => 
    [code:protected] => 64
    [file:protected] => /boot/extra/virtualbox/phpvirtualbox/lib/vboxconnector.php
    [line:protected] => 187
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /boot/extra/virtualbox/phpvirtualbox/lib/auth/Builtin.php
                    [line] => 45
                    [function] => connect
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [1] => Array
                (
                    [file] => /boot/extra/virtualbox/phpvirtualbox/lib/ajax.php
                    [line] => 119
                    [function] => login
                    [class] => phpvbAuthBuiltin
                    [type] => ->
                    [args] => Array
                        (
                            [0] => vbox
                            [1] => pass
                        )

                )

        )

    [previous:Exception:private] => 
)

 

and in addition to the previous code:

...
00:00:00.410 SQPmp    Socket connection successful: host = 127.0.0.1, port = 18083, master socket = 8
00:02:26.411 SQPmp    Request 1 on socket 9 queued for processing (1 items on Q)
00:02:26.411 SQW01    New SOAP thread started
00:02:26.411 SQW01    Processing connection from IP=127.0.0.1 socket=9 (0 out of 1 threads idle)

 

So no idea WTF is going on here! :(

Link to comment

neilt0, I recompiled VirtualBox for 4.7 & posted it to my SkyDrive. I restarted the system where I compiled it & then installed it. It worked for me. I then decided to test the old compiled file by rebooting again & trying to install it... it also worked. I am not sure this will fix your problem, but can try the newly uploaded (file named the same vbox-4.1.20-unRAID-2.6.32.9.tgz) to see if it will work now.

 

The installing of the package does not cause any process to show as running under ps. It is after the command for vboxwebsrv that ps should show it as running.

 

Concorde Rules, Try running

/usr/bin/VBoxManage setproperty websrvauthlibrary null

Link to comment

Ok, I will recompile the 4.7 version & post once I have updated the file on my skydrive.

Rebooted and replaced with the new version. This gave the same result. However, I accidentally pasted in two lines and got this:

 

 

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully installed "Oracle VM VirtualBox Extension Pack".
root@MICRO:~#
root@MICRO:~# ps -ef |grep ox
root       973     1  0 07:44 ?        00:00:00 /opt/VirtualBox/VBoxXPCOMIPCD
root       981     1 30 07:44 ?        00:00:01 /opt/VirtualBox/VBoxSVC --auto-shutdown
root      1030  2072  0 07:44 pts/0    00:00:00 grep ox

but then immediately after:

 

root@MICRO:~# ps -ef |grep ox
root      3228  2072  0 07:49 pts/0    00:00:00 grep ox

Link to comment

neilt0, I recompiled VirtualBox for 4.7 & posted it to my SkyDrive. I restarted the system where I compiled it & then installed it. It worked for me. I then decided to test the old compiled file by rebooting again & trying to install it... it also worked. I am not sure this will fix your problem, but can try the newly uploaded (file named the same vbox-4.1.20-unRAID-2.6.32.9.tgz) to see if it will work now.

 

The installing of the package does not cause any process to show as running under ps. It is after the command for vboxwebsrv that ps should show it as running.

 

Concorde Rules, Try running

/usr/bin/VBoxManage setproperty websrvauthlibrary null

 

root@Tower:/boot/extra/virtualbox# VBoxManage setproperty websrvauthlibrary null
VBoxManage: error: Runtime error opening '/root/.VirtualBox/VirtualBox.xml-tmp' for reading: -102 (File not found.).
VBoxManage: error: /home/vbox/tinderbox/4.1-lnx32-rel/src/VBox/Main/src-server/VirtualBoxImpl.cpp[3398] (nsresult VirtualBox::saveSettings())
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component VirtualBox, interface IVirtualBox, callee nsISupports
Context: "COMSETTER(WebServiceAuthLibrary)(Bstr(a->argv[1]).raw())" at line 827 of file VBoxManageMisc.cpp
root@Tower:/boot/extra/virtualbox# 

 

 

Myself and neilt0 seem to be having exactly the same problem!!

Link to comment

Hi all,

 

First of all, thanks to all contributors on this topic. After a few hours spent reading this topic, I finally got VirtualBox installed on my Proliant.

 

I'm running unRAID 5.0-rc6-r8168-test.

1. I installed "vbox-4.1.20-unRAID-3.4.4.tgz" on "/boot/extra"

2. I installed "Oracle_VM_VirtualBox_Extension_Pack-4.1.20.vbox-extpack" on "/boot/packages"

3. I modifed the "Go" script as following:

 

# Start VirtualBox
#installpkg /boot/packages/vbox-4.1.20-unRAID-3.4.4.tgz
VBoxManage setproperty websrvauthlibrary null
vboxwebsrv -H 127.0.0.1 --logfile /dev/null >/dev/null
VBoxManage extpack install /boot/packages/Oracle_VM_VirtualBox_Extension_Pack-4.1.20.vbox-extpack

 

There's no need to run

#installpkg /boot/packages/vbox-4.1.20-unRAID-3.4.4.tgz

because the package is in the "extra" directory and runs before the"Go" script.

 

I had to remove "-b" switch when calling "vboxwebsrv". It does not seem to work and I don't know why.

I also had to create "vbox" directory under "custom" directory to get "VBoxManage..." working.

 

That was a hard work for a newbie but it works...

Thanks to "theone", "lainie"...

Link to comment

Woah! That worked!

 

Thanks to both Pippo BIMBO (best username ever) and lainie!

 

I ran vboxwebsrv in a Screen session. Will try the other command line options later.

 

Cheers,

 

Neil.

 

What exactly changed it for you?

 

Following Pippo Bimbos instructions! Hence my thanks above.  :D

 

GOOD TIMES!

 

iVmNE.png

Link to comment

Woah! That worked!

 

Thanks to both Pippo BIMBO (best username ever) and lainie!

 

I ran vboxwebsrv in a Screen session. Will try the other command line options later.

 

Cheers,

 

Neil.

 

You're welcome. I only spent one day installing this :)

Next step : import all my Top Gear stuff from my QNAP to unRAID... That should not be so hard!!

Link to comment

Here are the options for vboxwebsrv. The -b is to run in the background. Should not be causing it to start then die off. However, if it works, go with it. Thanks for posting the fix Pippo BIMBO.

 

vboxwebsrv --help
Oracle VM VirtualBox web service version 4.1.20
(C) 2005-2012 Oracle Corporation
All rights reserved.

Usage: vboxwebsrv [options]

Supported options (default values in brackets):
--help, -h:            Print this help message and exit.
--background, -b:      Run in background (daemon mode).
--host, -H:            The host to bind to (localhost).
--port, -p:            The port to bind to (18083).
--ssl, -s:             Enable SSL/TLS encryption.
--keyfile, -K:         Server key and certificate file, PEM format ("").
--passwordfile, -a:    File name for password to server key ("").
--cacert, -c:          CA certificate file, PEM format ("").
--capath, -C:          CA certificate path ("").
--dhfile, -D:          DH file name or DH key length in bits ("").
--randfile, -r:        File containing seed for random number generator ("").
--timeout, -t:         Session timeout in seconds; 0 = disable timeouts (300).
--check-interval, -i:  Frequency of timeout checks in seconds (5).
--threads, -T:         Maximum number of worker threads to run in parallel (100).
--keepalive, -k:       Maximum number of requests before a socket will be closed (100).
--authentication, -A:  Authentication method for the webservice ("").
--verbose, -v:         Be verbose.
--pidfile, -P:         Name of the PID file which is created when the daemon was started.
--logfile, -F:         Name of file to write log to (no file).
--logrotate, -R:       Number of log files (0 disables log rotation).
--logsize, -S:         Maximum size of a log file to trigger rotation (bytes).
--loginterval, -I:     Maximum time interval to trigger log rotation (seconds).

 

Not sure I would have caught it. Maybe if I had been able to reproduce the problem on my test box. Glad it is working now.

Link to comment

# Start VirtualBox
#installpkg /boot/packages/vbox-4.1.20-unRAID-3.4.4.tgz
VBoxManage setproperty websrvauthlibrary null
vboxwebsrv -H 127.0.0.1 --logfile /dev/null >/dev/null
VBoxManage extpack install /boot/packages/Oracle_VM_VirtualBox_Extension_Pack-4.1.20.vbox-extpack

I had to remove "-b" switch when calling "vboxwebsrv". It does not seem to work and I don't know why.

I also had to create "vbox" directory under "custom" directory to get "VBoxManage..." working.

Are you sure that the lines past vboxwebsrv in your go file are actually executing? Without the -b option, I would assume the process would stay in the foreground and prevent the rest of the lines from running until the vboxwebsrv was exited.

 

Maybe the new release of vboxwebsrv defaults to daemon mode and the -b switch is deprecated?

Link to comment

# Start VirtualBox
#installpkg /boot/packages/vbox-4.1.20-unRAID-3.4.4.tgz
VBoxManage setproperty websrvauthlibrary null
vboxwebsrv -H 127.0.0.1 --logfile /dev/null >/dev/null
VBoxManage extpack install /boot/packages/Oracle_VM_VirtualBox_Extension_Pack-4.1.20.vbox-extpack

I had to remove "-b" switch when calling "vboxwebsrv". It does not seem to work and I don't know why.

I also had to create "vbox" directory under "custom" directory to get "VBoxManage..." working.

Are you sure that the lines past vboxwebsrv in your go file are actually executing? Without the -b option, I would assume the process would stay in the foreground and prevent the rest of the lines from running until the vboxwebsrv was exited.

 

Maybe the new release of vboxwebsrv defaults to daemon mode and the -b switch is deprecated?

 

That is a good point that anything below vboxwebsrv might not be running. It might also point to something that was killing off Virtualbox (something below that line in their go file).

 

If they deprecated the -b option, they forgot to remove it from the help file (which is possible). It seems odd that some of us are running with the -b option & do not have the issue.

Link to comment

# Start VirtualBox
#installpkg /boot/packages/vbox-4.1.20-unRAID-3.4.4.tgz
VBoxManage setproperty websrvauthlibrary null
vboxwebsrv -H 127.0.0.1 --logfile /dev/null >/dev/null
VBoxManage extpack install /boot/packages/Oracle_VM_VirtualBox_Extension_Pack-4.1.20.vbox-extpack

I had to remove "-b" switch when calling "vboxwebsrv". It does not seem to work and I don't know why.

I also had to create "vbox" directory under "custom" directory to get "VBoxManage..." working.

Are you sure that the lines past vboxwebsrv in your go file are actually executing? Without the -b option, I would assume the process would stay in the foreground and prevent the rest of the lines from running until the vboxwebsrv was exited.

 

Maybe the new release of vboxwebsrv defaults to daemon mode and the -b switch is deprecated?

 

Good question : I'm not sure that the last line in the "Go" script is executed. Is there a way to know that extension pack is correctly installed?

 

For testing, I executed the last line in a telnet session and the extension pack installed fine (0% -> 100%). So, I conclude that extension pack was not first installed by the "Go" script. Do you agree?

 

Concerning the "-b" switch, I spent a lot of time on it. When I launch vboxwebsrv with that switch, it dies immediatly...

 

So, "in fine", VirtualBox "works"... but without extension pack.

Link to comment

When I had VBox on my unRAID server I used:

 

echo "\013" | vboxheadless --startvm hdserver > /dev/null 2>&1 &

 

where "hdserver" is the name of the vm.  This is suppose to start it in the background.  It is possible that you could use the echo "\013" command with the -b option on the vboxwebsrv command to achieve background execution.  It turned out that vboxheadless was waiting for a return even though it is suppose to be in the "background" - go figure.

Link to comment

Good question : I'm not sure that the last line in the "Go" script is executed. Is there a way to know that extension pack is correctly installed?

 

For testing, I executed the last line in a telnet session and the extension pack installed fine (0% -> 100%). So, I conclude that extension pack was not first installed by the "Go" script. Do you agree?

 

Concerning the "-b" switch, I spent a lot of time on it. When I launch vboxwebsrv with that switch, it dies immediatly...

 

So, "in fine", VirtualBox "works"... but without extension pack.

You could just move the line that installs the extension pack above the webserver line as a stopgap measure.
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.