Jump to content
XPEnology Community

Virtualbox and phpVirtualbox on XPEnology


seba

Recommended Posts

Re-installed virtualbox and the problem is gone... strange!

 

As an aside, does anyone know VirtualBox doesn't show up in the "Main Menu" in DSM?

It looks like the config file says it should, but I get no icon, I have to go to package manager and click the link, or else just go to the url directly.

 

Not a major issue, I just wondered why the icon wasn't showing in the "Main Menu"?

 

Thanks :smile:

Link to comment
Share on other sites

Re-installed virtualbox and the problem is gone... strange!

 

As an aside, does anyone know VirtualBox doesn't show up in the "Main Menu" in DSM?

It looks like the config file says it should, but I get no icon, I have to go to package manager and click the link, or else just go to the url directly.

 

Not a major issue, I just wondered why the icon wasn't showing in the "Main Menu"?

 

Thanks :smile:

 

for me from logs you posted before it looked like problem with access rights then i asked about reinstall virtualbox. about icon, strange, icon could be in menu as usual

Link to comment
Share on other sites

Re-installed virtualbox and the problem is gone... strange!

 

As an aside, does anyone know VirtualBox doesn't show up in the "Main Menu" in DSM?

It looks like the config file says it should, but I get no icon, I have to go to package manager and click the link, or else just go to the url directly.

 

Not a major issue, I just wondered why the icon wasn't showing in the "Main Menu"?

 

Thanks :smile:

 

for me from logs you posted before it looked like problem with access rights then i asked about reinstall virtualbox. about icon, strange, icon could be in menu as usual

 

Login with an admin user, and grant this user the right to VirtualBox ( Control-Panel -> Privilege )

Link to comment
Share on other sites

Re-installed virtualbox and the problem is gone... strange!

 

As an aside, does anyone know VirtualBox doesn't show up in the "Main Menu" in DSM?

It looks like the config file says it should, but I get no icon, I have to go to package manager and click the link, or else just go to the url directly.

 

Not a major issue, I just wondered why the icon wasn't showing in the "Main Menu"?

 

Thanks :smile:

 

for me from logs you posted before it looked like problem with access rights then i asked about reinstall virtualbox. about icon, strange, icon could be in menu as usual

 

Login with an admin user, and grant this user the right to VirtualBox ( Control-Panel -> Privilege )

 

Excellent thanks :smile:

 

Well I logged in as my admin user "MyAdmin" and "Control Panel --> Privileges" did not list phpVirtualBox.

I then re-activated the default Admin account, and then logged in with that, and "Control Panel --> Privileges" now DID list phpVirtualBox.

I then added this to the "MyAdmin" account, logged out/in again, and "MyAdmin" now has the icon in the Main Menu :smile:

 

So... is there any way that these privileges can be assigned at GROUP level, rather than USER level? I'd like to give all the "Administrators" group have privilege for this app, but I can't see anyway to do that?

 

Thanks again :smile:

Link to comment
Share on other sites

  • 4 weeks later...

I installed phpVirtualbox on DS1515+(DSM 5.1) but I have some error when I boot my VM.

 

Please help me to solve this issue.

 

The virtual machine 'win' has terminated unexpectedly during startup with exit code 1

 

Exception Object

(

[message:protected] => The virtual machine 'win' has terminated unexpectedly during startup with exit code 1

[string:Exception:private] =>

[code:protected] => 0

[file:protected] => /volume3/web/phpvirtualbox/lib/vboxconnector.php

[line:protected] => 2382

[trace:Exception:private] => Array

(

[0] => Array

(

[file] => /volume3/web/phpvirtualbox/lib/vboxconnector.php

[line] => 928

[function] => remote_progressGet

[class] => vboxconnector

[type] => ->

[args] => Array

(

[0] => Array

(

[progress] => 1ed17e1b0fc48d28-0000000000000110

[_persist] => Array

(

[vboxHandle] => 1ed17e1b0fc48d28-000000000000010e

)

 

[fn] => progressGet

)

 

)

 

)

 

[1] => Array

(

[file] => /volume3/web/phpvirtualbox/lib/ajax.php

[line] => 309

[function] => __call

[class] => vboxconnector

[type] => ->

[args] => Array

(

[0] => progressGet

[1] => Array

(

[0] => Array

(

[progress] => 1ed17e1b0fc48d28-0000000000000110

[_persist] => Array

(

[vboxHandle] => 1ed17e1b0fc48d28-000000000000010e

)

 

[fn] => progressGet

)

 

[1] => Array

(

[0] => Array

(

[data] => Array

(

[responseData] => Array

(

[progress] => 1ed17e1b0fc48d28-0000000000000110

[info] => Array

(

[completed] => 1

[canceled] =>

[description] => Starting VM

[operationDescription] => Creating process for virtual machine "win" (headless)

[timeRemaining] => Array

(

)

 

[timeElapsed] => Array

(

[days] => 16436

[hours] => 12

[minutes] => 56

[seconds] => 19

)

 

[percent] => 0

)

 

)

 

[success] => 1

[key] => 720f4c5f2f9c111d81c1aa4a7f53b5bc

)

 

[errors] => Array

(

)

 

[persist] => Array

(

)

 

[messages] => Array

(

)

 

)

 

)

 

)

 

)

 

)

 

[2] => Array

(

[file] => /volume3/web/phpvirtualbox/lib/ajax.php

[line] => 309

[function] => progressGet

[class] => vboxconnector

[type] => ->

[args] => Array

(

[0] => Array

(

[progress] => 1ed17e1b0fc48d28-0000000000000110

[_persist] => Array

(

[vboxHandle] => 1ed17e1b0fc48d28-000000000000010e

)

 

[fn] => progressGet

)

 

[1] => Array

(

[0] => Array

(

[data] => Array

(

[responseData] => Array

(

[progress] => 1ed17e1b0fc48d28-0000000000000110

[info] => Array

(

[completed] => 1

[canceled] =>

[description] => Starting VM

[operationDescription] => Creating process for virtual machine "win" (headless)

[timeRemaining] => Array

(

)

 

[timeElapsed] => Array

(

[days] => 16436

[hours] => 12

[minutes] => 56

[seconds] => 19

)

 

[percent] => 0

)

 

)

 

[success] => 1

[key] => 720f4c5f2f9c111d81c1aa4a7f53b5bc

)

 

[errors] => Array

(

)

 

[persist] => Array

(

)

 

[messages] => Array

(

)

 

)

 

)

 

)

 

)

 

)

 

[previous:Exception:private] =>

)

Link to comment
Share on other sites

I installed phpVirtualbox on DS1515+(DSM 5.1) but I have some error when I boot my VM.

 

Please help me to solve this issue.

 

The virtual machine 'win' has terminated unexpectedly during startup with exit code 1

 

Exception Object

(

[message:protected] => The virtual machine 'win' has terminated unexpectedly during startup with exit code 1

[string:Exception:private] =>

[code:protected] => 0

[file:protected] => /volume3/web/phpvirtualbox/lib/vboxconnector.php

[line:protected] => 2382

[trace:Exception:private] => Array

(

[0] => Array

(

[file] => /volume3/web/phpvirtualbox/lib/vboxconnector.php

[line] => 928

[function] => remote_progressGet

[class] => vboxconnector

[type] => ->

[args] => Array

(

[0] => Array

(

[progress] => 1ed17e1b0fc48d28-0000000000000110

[_persist] => Array

(

[vboxHandle] => 1ed17e1b0fc48d28-000000000000010e

)

 

[fn] => progressGet

)

 

)

 

)

 

[1] => Array

(

[file] => /volume3/web/phpvirtualbox/lib/ajax.php

[line] => 309

[function] => __call

[class] => vboxconnector

[type] => ->

[args] => Array

(

[0] => progressGet

[1] => Array

(

[0] => Array

(

[progress] => 1ed17e1b0fc48d28-0000000000000110

[_persist] => Array

(

[vboxHandle] => 1ed17e1b0fc48d28-000000000000010e

)

 

[fn] => progressGet

)

 

[1] => Array

(

[0] => Array

(

[data] => Array

(

[responseData] => Array

(

[progress] => 1ed17e1b0fc48d28-0000000000000110

[info] => Array

(

[completed] => 1

[canceled] =>

[description] => Starting VM

[operationDescription] => Creating process for virtual machine "win" (headless)

[timeRemaining] => Array

(

)

 

[timeElapsed] => Array

(

[days] => 16436

[hours] => 12

[minutes] => 56

[seconds] => 19

)

 

[percent] => 0

)

 

)

 

[success] => 1

[key] => 720f4c5f2f9c111d81c1aa4a7f53b5bc

)

 

[errors] => Array

(

)

 

[persist] => Array

(

)

 

[messages] => Array

(

)

 

)

 

)

 

)

 

)

 

)

 

[2] => Array

(

[file] => /volume3/web/phpvirtualbox/lib/ajax.php

[line] => 309

[function] => progressGet

[class] => vboxconnector

[type] => ->

[args] => Array

(

[0] => Array

(

[progress] => 1ed17e1b0fc48d28-0000000000000110

[_persist] => Array

(

[vboxHandle] => 1ed17e1b0fc48d28-000000000000010e

)

 

[fn] => progressGet

)

 

[1] => Array

(

[0] => Array

(

[data] => Array

(

[responseData] => Array

(

[progress] => 1ed17e1b0fc48d28-0000000000000110

[info] => Array

(

[completed] => 1

[canceled] =>

[description] => Starting VM

[operationDescription] => Creating process for virtual machine "win" (headless)

[timeRemaining] => Array

(

)

 

[timeElapsed] => Array

(

[days] => 16436

[hours] => 12

[minutes] => 56

[seconds] => 19

)

 

[percent] => 0

)

 

)

 

[success] => 1

[key] => 720f4c5f2f9c111d81c1aa4a7f53b5bc

)

 

[errors] => Array

(

)

 

[persist] => Array

(

)

 

[messages] => Array

(

)

 

)

 

)

 

)

 

)

 

)

 

[previous:Exception:private] =>

)

 

Real synology boxes are not supported because I don't have one so i can't test vbox properly, that is the reason I didn't upload spk to any public repo. Also since there is no xpenology 5.1 I cant support vbox on 5.1. That being said error message you have seam to be happening because of vbox crashing. Clue to reason why you could find in vbox log at /var/log/vbox.log (i think that is the location).

 

Sent from my Nexus 7 using Tapatalk HD

Link to comment
Share on other sites

  • 2 weeks later...

Hi Seba

 

I have the same problem. I've installed DSM .1 on a spare server (DL120 G6) and the DSM is working great. I installed your package and it installs no problem. Create a VM no problem but when I run it I get the same problem as above. I understand that you do no support DSM 5.1 but do you have plans to do so in the future. (hope so you have already saved me on my electric bill :grin: ).

 

I have DSM 5.0 running on a HP NL40 and your package works perfect on that. I have two vms running one is an Elastix PBX and the other is a Win 7 for y CCTV using iCatcher.

 

I would love to upgrade my NL40 to DSM 5.1 but the only thing stopping me is I've become reliant on your package lol.

 

Thanks for the work you have done so far.

 

Andy

Link to comment
Share on other sites

I will support 5.1 once I repair my xpenology box. Mb is gone for rma and when I get it back, 5.1 will be more stable for me to work with it.

 

Sent from my Nexus 7 using Tapatalk HD

 

thank you so much!

 

take you time, it seems xpenoboot still needs some bug fixes.

Link to comment
Share on other sites

I always get this error

 

Exception Object

(

[message:protected] => Could not connect to host (http://127.0.0.1:18083)

[string:Exception:private] =>

[code:protected] => 64

[file:protected] => /volume1/web/phpvirtualbox/lib/ajax.php

[line:protected] => 128

[trace:Exception:private] => Array

(

)

 

[previous:Exception:private] =>

)

 

 

Have try many reinstallation but nothing works.

 

Strange thinks is that first time i have try it everything was ok.

 

anyone have an idea ?

 

If This can help

 

 

/var/packages/virtualbox/scripts/start-stop-status start

Starting VirtualBox kernel modules ...done.

Starting VirtualBox web serviceVBoxManage: error: Failed to create the VirtualBo x object!

VBoxManage: error: Start tag expected, '<' not found.

VBoxManage: error: Location: '/root/.config/VirtualBox/VirtualBox.xml', line 1 ( 0), column 1.

VBoxManage: error: /home/vbox/tinderbox/4.3-lnx64-rel/src/VBox/Main/src-server/V irtualBoxImpl.cpp[531] (nsresult VirtualBox::init())

VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component Virtua lBox, interface IVirtualBox

...fail!

...fail!

VBoxManage: error: Failed to create the VirtualBox object!

VBoxManage: error: Start tag expected, '<' not found.

VBoxManage: error: Location: '/root/.config/VirtualBox/VirtualBox.xml', line 1 ( 0), column 1.

VBoxManage: error: /home/vbox/tinderbox/4.3-lnx64-rel/src/VBox/Main/src-server/V irtualBoxImpl.cpp[531] (nsresult VirtualBox::init())

VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component Virtua lBox, interface IVirtualBox

Link to comment
Share on other sites

I will support 5.1 once I repair my xpenology box. Mb is gone for rma and when I get it back, 5.1 will be more stable for me to work with it.

 

Sent from my Nexus 7 using Tapatalk HD

 

5.1 on Xpeno looks to be stable now, i just tried it, but all Vms crash on "-1 code error"

 

Where could i find log messages to find the problem ?

 

Thanks for your help, can't wait you support dsm 5.1 :smile:

 

Gary

Link to comment
Share on other sites

I will support 5.1 once I repair my xpenology box. Mb is gone for rma and when I get it back, 5.1 will be more stable for me to work with it.

 

Sent from my Nexus 7 using Tapatalk HD

 

5.1 on Xpeno looks to be stable now, i just tried it, but all Vms crash on "-1 code error"

 

Where could i find log messages to find the problem ?

 

Thanks for your help, can't wait you support dsm 5.1 :smile:

 

Gary

 

 

When it gives you the error you clcik on details and it gives you the long error

Link to comment
Share on other sites

 

 

When it gives you the error you clcik on details and it gives you the long error

Yep i know it but i would like to have more logs ...

 

Actually details are

 

Exception Object
(
   [message:protected] => The virtual machine 'windows 7 pro 32' has terminated unexpectedly during startup with exit code 1
   [string:Exception:private] => 
   [code:protected] => 0
   [file:protected] => /volume1/web/phpvirtualbox/lib/vboxconnector.php
   [line:protected] => 2382
   [trace:Exception:private] => Array
       (
           [0] => Array
               (
                   [file] => /volume1/web/phpvirtualbox/lib/vboxconnector.php
                   [line] => 928
                   [function] => remote_progressGet
                   [class] => vboxconnector
                   [type] => ->
                   [args] => Array
                       (
                           [0] => Array
                               (
                                   [progress] => 97b97af2ee424582-0000000000000097
                                   [_persist] => Array
                                       (
                                           [vboxHandle] => 97b97af2ee424582-0000000000000095
                                       )

                                   [fn] => progressGet
                               )

                       )

               )

           [1] => Array
               (
                   [file] => /volume1/web/phpvirtualbox/lib/ajax.php
                   [line] => 309
                   [function] => __call
                   [class] => vboxconnector
                   [type] => ->
                   [args] => Array
                       (
                           [0] => progressGet
                           [1] => Array
                               (
                                   [0] => Array
                                       (
                                           [progress] => 97b97af2ee424582-0000000000000097
                                           [_persist] => Array
                                               (
                                                   [vboxHandle] => 97b97af2ee424582-0000000000000095
                                               )

                                           [fn] => progressGet
                                       )

                                   [1] => Array
                                       (
                                           [0] => Array
                                               (
                                                   [data] => Array
                                                       (
                                                           [responseData] => Array
                                                               (
                                                                   [progress] => 97b97af2ee424582-0000000000000097
                                                                   [info] => Array
                                                                       (
                                                                           [completed] => 1
                                                                           [canceled] => 
                                                                           [description] => Starting VM
                                                                           [operationDescription] => Creating process for virtual machine "windows 7 pro 32" (headless)
                                                                           [timeRemaining] => Array
                                                                               (
                                                                               )

                                                                           [timeElapsed] => Array
                                                                               (
                                                                                   [days] => 16465
                                                                                   [hours] => 18
                                                                                   [minutes] => 30
                                                                                   [seconds] => 45
                                                                               )

                                                                           [percent] => 0
                                                                       )

                                                               )

                                                           [success] => 1
                                                           [key] => 720f4c5f2f9c111d81c1aa4a7f53b5bc
                                                       )

                                                   [errors] => Array
                                                       (
                                                       )

                                                   [persist] => Array
                                                       (
                                                       )

                                                   [messages] => Array
                                                       (
                                                       )

                                               )

                                       )

                               )

                       )

               )

           [2] => Array
               (
                   [file] => /volume1/web/phpvirtualbox/lib/ajax.php
                   [line] => 309
                   [function] => progressGet
                   [class] => vboxconnector
                   [type] => ->
                   [args] => Array
                       (
                           [0] => Array
                               (
                                   [progress] => 97b97af2ee424582-0000000000000097
                                   [_persist] => Array
                                       (
                                           [vboxHandle] => 97b97af2ee424582-0000000000000095
                                       )

                                   [fn] => progressGet
                               )

                           [1] => Array
                               (
                                   [0] => Array
                                       (
                                           [data] => Array
                                               (
                                                   [responseData] => Array
                                                       (
                                                           [progress] => 97b97af2ee424582-0000000000000097
                                                           [info] => Array
                                                               (
                                                                   [completed] => 1
                                                                   [canceled] => 
                                                                   [description] => Starting VM
                                                                   [operationDescription] => Creating process for virtual machine "windows 7 pro 32" (headless)
                                                                   [timeRemaining] => Array
                                                                       (
                                                                       )

                                                                   [timeElapsed] => Array
                                                                       (
                                                                           [days] => 16465
                                                                           [hours] => 18
                                                                           [minutes] => 30
                                                                           [seconds] => 45
                                                                       )

                                                                   [percent] => 0
                                                               )

                                                       )

                                                   [success] => 1
                                                   [key] => 720f4c5f2f9c111d81c1aa4a7f53b5bc
                                               )

                                           [errors] => Array
                                               (
                                               )

                                           [persist] => Array
                                               (
                                               )

                                           [messages] => Array
                                               (
                                               )

                                       )

                               )

                       )

               )

       )

   [previous:Exception:private] => 
)

Link to comment
Share on other sites

Hi, i have the same Problem with 5.1.

I hope seba becomes his MB fast, thank you for your work.

 

i try to start the VM Guest with Cli but this is the error:

 

Xpenology> ./VBoxManage startvm Test --type headless
Waiting for VM "Test" to power on...
VBoxManage: error: The virtual machine 'Test' has terminated unexpectedly during startup with exit code 1
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component Machine, interface IMachine

 

I hope someone have an idea how to fix this.

 

Thanks.

Edited by Guest
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

×
×
  • Create New...