Jump to content
XPEnology Community

Virtualbox and phpVirtualbox on XPEnology


seba

Recommended Posts

1 hour ago, nemesis122 said:

virtual manager deinstalled also is not working :-(

 

i could reproduce same error (but it is a generic error from php GUI, [not related to oracle virtualbox  server], it just means vboxSRV is not started -> so no port 18083 listenning)

 

check the previous post and try

Edited by ygor
Link to comment
Share on other sites

done with reboot and not exute after the installtion:

my information looks like this

login as: admin
admin@192.168.0.51's password:
Could not chdir to home directory /var/services/homes/admin: No such file or directory
admin@DSM3615XS:/$ :~$ netstat -an | grep 18083
admin@DSM3615XS:/$ netstat -an | grep 18083
admin@DSM3615XS:/$ lsmod | grep box
vboxpci                15225  0
vboxnetadp             18580  0
vboxnetflt             17736  0
vboxdrv               373485  3 vboxnetadp,vboxnetflt,vboxpci
megaraid_mbox          27683  0
megaraid_mm             7552  1 megaraid_mbox
admin@DSM3615XS:/$ uname -a
Linux DSM3615XS 3.10.102 #15217 SMP Fri Nov 3 04:39:47 CST 2017 x86_64 GNU/Linux synology_bromolow_3615xs
admin@DSM3615XS:/$
 

Link to comment
Share on other sites

OK, so on my side the issue is solved, the modifed package is working fine!

I don't know if every step was necessary or not, but

  • I've activated admin user,
  • changed apache to nginx and added soap to php in webstation
  • created a folder for VMs under my users home (after install I've changed the path also in config).

So basically I've did everything what is described in the installation steps of the package.

Thanks for your help!!!

Link to comment
Share on other sites

1 hour ago, nemesis122 said:

done with reboot and not exute after the installtion:

my information looks like this

login as: admin
admin@192.168.0.51's password:
Could not chdir to home directory /var/services/homes/admin: No such file or directory
admin@DSM3615XS:/$ :~$ netstat -an | grep 18083
admin@DSM3615XS:/$ netstat -an | grep 18083
admin@DSM3615XS:/$ lsmod | grep box
vboxpci                15225  0
vboxnetadp             18580  0
vboxnetflt             17736  0
vboxdrv               373485  3 vboxnetadp,vboxnetflt,vboxpci
megaraid_mbox          27683  0
megaraid_mm             7552  1 megaraid_mbox
admin@DSM3615XS:/$ uname -a
Linux DSM3615XS 3.10.102 #15217 SMP Fri Nov 3 04:39:47 CST 2017 x86_64 GNU/Linux synology_bromolow_3615xs
admin@DSM3615XS:/$
 

Do an uninstall reboot check that web station is well configured, install the SPK, and unselect run after install, reboot and run the package. Be sure to have loader 1.02b . Your setup should work. 

Edited by ygor
Link to comment
Share on other sites

Hi ygor

I have done complete reset from the maschine create a new USB stick to sure it is 1.02b 

created the storage JBOD with 4 hardisk as etx 4 

installed webstation /install php 5.6 check the box SOAP 

create the virtualbox share 

install virtualbox not run after the installtion 

reboot run virtualbox and it is not working.

:-( 

i can reset again and prepare a fresh installtion and when you have time we can do a teamviewer sessions ?

 

Link to comment
Share on other sites

1 hour ago, nemesis122 said:

what this means 

I've activated admin user,

the user is activated  by default??????????????????????????????????????????????????????????

admin user is disabled by default in synology

 

you have to go in the user panel and enable admin then set a strong password for this account.

 

as posted in topic:

 

Virtualbox should create log file at following location /var/log/vbox.log.

If you need to troubleshoot vbox from ssh try this to start drivers:
-> /var/packages/virtualbox/target/scripts/vboxdrv.sh start (check kernel driver are loaded: lsmod | grep vbox)
if this goes without error then:
-> /var/packages/virtualbox/target/scripts/vboxinit.sh start
and finally if vboxinit was without errors:
-> /var/packages/virtualbox/target/scripts/vboxweb-service.sh start -> this is the software listening to port 18083 (check vboxwebservice is listenning: netstat -an | grep 18083)

 

 

 

Link to comment
Share on other sites

 

Hi Ygor

the admin user is activated as it was before because by the installtion the user where is given is : admin (given by me by a fresh install.)

Virtualbox should create log file at following location /var/log/vbox.log.

--> Permission denied to view this file ?

-> /var/packages/virtualbox/target/scripts/vboxdrv.sh start 

--> no such file or directory

do you have time for a teamviewer session i have it all prepared and notet the admin password to a word document maybe you see the dumb things what i have done :-)???

Fresh installtion is ready jbod created and webstation installed with php 5.6 and soap bockj checked

 

Edited by nemesis122
Link to comment
Share on other sites

can not install VirtualBox_x64_5.1.30-118389-1 &     VirtualBox_x64_5.0.40-115130-1_6.1.4

my device is ds218+   DSM version is 6.14-15217 update 1          

fatal error like this:   install [virtualbox] faild 

your kernel 4.4.15+ is not supported by this package!

 

what can i do??help!!

 

Link to comment
Share on other sites

4 hours ago, mandolin said:

can not install VirtualBox_x64_5.1.30-118389-1 &     VirtualBox_x64_5.0.40-115130-1_6.1.4

my device is ds218+   DSM version is 6.14-15217 update 1          

fatal error like this:   install [virtualbox] faild 

your kernel 4.4.15+ is not supported by this package!

 

what can i do??help!!

 

 

Sorry mandolin but my kernel version is the following:

Linux NAS 3.10.102 #15217 SMP Fri Nov 10 20:08:59 CST 2017 x86_64 GNU/Linux synology_bromolow_3615xs

 

 

Maybe it's possible to change the REQUIRED_KERNEL_VERSION="3.10.102" to your kernel, but it's your responsability, I don't know what can happens.

Edited by jarugut
Link to comment
Share on other sites

5 hours ago, jarugut said:

thx a lot, i try another method...

 

 

Sorry mandolin but my kernel version is the following:

Linux NAS 3.10.102 #15217 SMP Fri Nov 10 20:08:59 CST 2017 x86_64 GNU/Linux synology_bromolow_3615xs

 

 

Maybe it's possible to change the REQUIRED_KERNEL_VERSION="3.10.102" to your kernel, but it's your responsability, I don't know what can happens.

 

Link to comment
Share on other sites

On 11/24/2017 at 1:35 PM, Bananen79 said:

@ygor

 

Could you please upload your modified .spk file again for 5.1.30?

Here you go.  As posted by ygor in post #406. 

 

Works for me on an HP N36L and HP N54L; both running DSM 6.1.4-15217 Update 2.  I had VirtualBox_x64_5.0.40-115130-1 running on both microservers under DSM 6.1.3.  

 

Process to upgrade:

1. Uninstall Virtualbox

2. Upgrade to DSM 6.1.4-15217

3. Install VirtualBox_x64_5.1.30-118389-1

 

If you are having trouble, make sure User Homes is enabled (Control Panel > User > Advanced), also ensure you follow the install directions closely.  Finally, make sure to enable personal website in Web Station.  Good Luck!

VirtualBox_x64_5.1.30-118389-1.spk

  • Thanks 1
Link to comment
Share on other sites

Hello

I had the same problem.

Thanks to the link below the application is finally installed on DSM 6.1.4-15217

however, I now have the following 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/endpoints/api.php
    [line:protected] => 134
    [trace:Exception:private] => Array
        (
        )
    [previous:Exception:private] => 

can you help me

Link to comment
Share on other sites

On 11/29/2017 at 12:54 PM, ygor said:

This repo also have virtualbox spk 5.0.40 and 5.1.30 but i don't know for DSM6.1.4:

 

http://spk.synologyitalia.com/index.php?fulllist=true

 

edit : looks like 5.1.30 is available for dsm 6.1.4 on synoitalia

 

I've tried to upgrade my previous 5.0.40 version without success. I've gotten the same problem "Could not connect to host (http://127.0.0.1:18083/)"

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...