seba

Virtualbox and phpVirtualbox on XPEnology

Recommended Posts

 

Starting VirtualBox kernel modules
insmod: ERROR: could not insert module /var/packages/virtualbox4dsm/target/drivers/x86_64/3.10.105/vboxdrv.ko: Invalid parameters
Failed to load vboxdrv, use dmesg to find out why.
Starting VirtualBox web service
/var/packages/virtualbox4dsm/target/scripts/vboxweb-service.sh: line 43: fail_msg: command not found

Line 43 ish is... It's basically checking to see if the service is running, by the look of it.

        check_single_user $VBOXWEB_USER
        vboxdrvrunning || {
            fail_msg "VirtualBox kernel module not loaded!"

 

dmesg has

[   62.675262] vboxdrv: Found 4 processor cores
[   62.675916] supdrvGipCreate: failed to allocate the GIP page. rc=-26
[   65.346682] init: nmbd main process (11288) killed by TERM signal
[   75.198477] vboxdrv: Found 4 processor cores
[   75.199098] supdrvGipCreate: failed to allocate the GIP page. rc=-26
[   96.558645] md: md1: resync done.
[   96.578674] md: md1: current auto_remap = 0

 

Any help?

Kernel is at 3.10.105

 

Share this post


Link to post
Share on other sites
Posted (edited)

If vbox doesn't work work you please give me output of 'uname -a', so I know what kind of arch you have. Also content of scripts.log file and dmesg messages. By the looks of it there should be a build custom for each arch, which I was hoping to avoid, as it takes time to prepare which I don't have.

Just to add I made some changes to x64 package and re-upload it to github.

Edited by seba

Share this post


Link to post
Share on other sites

 

 uname -a
Linux vSYNO2 3.10.105 #23739 SMP Tue Jul 10 00:17:06 CST 2018 x86_64 GNU/Linux synology_broadwell_3617xs

 

Share this post


Link to post
Share on other sites

Hi seba at first a big thx for your work!!!

 

I hope it helps to find a solution for a lot of different systems. If you need some more information or help please let me know.

 

uname -a

Linux Diskstation 3.10.105 #23739 SMP Tue Jul 10 00:16:03 CST 2018 x86_64 GNU/Linux synology_braswell_416play

dmesg

[860946.933455] nspr-2[14511]: segfault at 0 ip 00007feb59c637a6 sp 00007feb5b945768 error 4 in libc-2.20-2014.11.so[7feb59b3a000+19b000]
[861011.347077] nspr-2[18472]: segfault at 0 ip 00007f14140997a6 sp 00007f1415f7d768 error 4 in libc-2.20-2014.11.so[7f1413f70000+19b000]
[861017.767608] vboxdrv: Found 2 processor cores
[861017.774250] supdrvGipCreate: failed to allocate the GIP page. rc=-26
[861018.513897] nspr-2[19843]: segfault at 0 ip 00007fc0876607a6 sp 00007fc089342768 error 4 in libc-2.20-2014.11.so[7fc087537000+19b000]
[861073.205929] nspr-2[23203]: segfault at 0 ip 00007fb8d3fbd7a6 sp 00007fb8d5c9f768 error 4 in libc-2.20-2014.11.so[7fb8d3e94000+19b000]
[861073.775005] vboxdrv: Found 2 processor cores
[861073.775309] supdrvGipCreate: failed to allocate the GIP page. rc=-26
[861074.035391] nspr-2[23295]: segfault at 0 ip 00007fd89db9f7a6 sp 00007fd89f881768 error 4 in libc-2.20-2014.11.so[7fd89da76000+19b000]

scripts.log

**** Stop at Sun Oct  7 19:37:22 CEST 2018 ****
vbox wol stopping
vbox wol stopping done
vboxinit stopping VM's
/var/packages/virtualbox4dsm/target/scripts/vboxinit.sh: line 53: --nologo: command not found
VM shutdown... Done!
vboxinit stopping done
/opt/VirtualBox/VBoxManage: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxManage)
/opt/VirtualBox/VBoxManage: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxManage)
/opt/VirtualBox/VBoxManage: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxManage)
/opt/VirtualBox/VBoxManage: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxDDU.so)
/opt/VirtualBox/VBoxManage: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxRT.so)
/opt/VirtualBox/VBoxManage: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxRT.so)
/opt/VirtualBox/VBoxManage: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxRT.so)
/opt/VirtualBox/VBoxManage: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxXPCOM.so)
/opt/VirtualBox/VBoxManage: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxXPCOM.so)
VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Code NS_ERROR_ABORT (0x80004004) - Operation aborted (extended info not available)
VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start.
Stopping VirtualBox kernel modules
vboxpci module is not loaded
vboxnetadp module is not loaded
vboxnetflt module is not loaded
vboxdrv module is not loaded
Stopping VirtualBox kernel modules. Done!
**** Stop finished at Sun Oct  7 19:37:23 CEST 2018 ****
**** Start at Sun Oct  7 19:37:23 CEST 2018 ****
Starting VirtualBox kernel modules
insmod: ERROR: could not insert module /var/packages/virtualbox4dsm/target/drivers/x86_64/3.10.105/vboxdrv.ko: Invalid parameters
Failed to load vboxdrv, use dmesg to find out why.
Starting VirtualBox web service
VirtualBox kernel module not loaded!
vboxinit starting VM's
/opt/VirtualBox/VBoxManage: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxManage)
/opt/VirtualBox/VBoxManage: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxManage)
/opt/VirtualBox/VBoxManage: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxManage)
/opt/VirtualBox/VBoxManage: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxDDU.so)
/opt/VirtualBox/VBoxManage: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxRT.so)
/opt/VirtualBox/VBoxManage: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxRT.so)
/opt/VirtualBox/VBoxManage: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxRT.so)
/opt/VirtualBox/VBoxManage: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxXPCOM.so)
/opt/VirtualBox/VBoxManage: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxXPCOM.so)
VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Code NS_ERROR_ABORT (0x80004004) - Operation aborted (extended info not available)
VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start.
vboxinit starting done
**** Start finished at Sun Oct  7 19:37:24 CEST 2018 ****

 

Share this post


Link to post
Share on other sites

HP n54l 6.1.7 15284

 

virtualbox 5.1.30-118389-1 

could not connect the host (127.0.0.1:18083)

 

 

ssh: 

 

root@Homenas:~# lsmod | grep vbox
vboxpci                15225  0
vboxnetadp             18580  0
vboxnetflt             17736  0
vboxdrv               373485  3 vboxnetadp,vboxnetflt,vboxpci


root@Homenas:~# /opt/VirtualBox/vboxwebsrv -b
/opt/VirtualBox/vboxwebsrv: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/vboxwebsrv)
/opt/VirtualBox/vboxwebsrv: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/vboxwebsrv)
/opt/VirtualBox/vboxwebsrv: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxRT.so)
/opt/VirtualBox/vboxwebsrv: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxRT.so)
/opt/VirtualBox/vboxwebsrv: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxRT.so)
/opt/VirtualBox/vboxwebsrv: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxXPCOM.so)
/opt/VirtualBox/vboxwebsrv: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxXPCOM.so)
Oracle VM VirtualBox web service Version 5.1.30
(C) 2007-2017 Oracle Corporation
All rights reserved.
VirtualBox web service 5.1.30 r118389 linux.amd64 (Oct 16 2017 12:07:35) release log
00:00:00.000209 main     Log opened 2018-10-11T01:12:25.537669000Z
00:00:00.000213 main     Build Type: release
00:00:00.000220 main     OS Product: Linux
00:00:00.000222 main     OS Release: 3.10.102
00:00:00.000224 main     OS Version: #15284 SMP Mon Jul 9 23:04:14 CST 2018
00:00:00.000272 main     DMI Product Name: Synoden
00:00:00.000282 main     DMI Product Version:
00:00:00.000359 main     Host RAM: 3392MB (3.3GB) total, 2748MB (2.6GB) available
00:00:00.000369 main     Executable: /opt/VirtualBox/vboxwebsrv
00:00:00.000371 main     Process ID: 10451
00:00:00.000373 main     Package type: LINUX_64BITS_GENERIC


root@Homenas:~# uname -a
Linux Homenas 3.10.102 #15284 SMP Mon Jul 9 23:04:14 CST 2018 x86_64 GNU/Linux synology_bromolow_3615xs

 

 

how to fix it and run?

 

Share this post


Link to post
Share on other sites
16 hours ago, Antoniowong said:

HP n54l 6.1.7 15284

 

virtualbox 5.1.30-118389-1 

could not connect the host (127.0.0.1:18083)

 

 

ssh: 

 

root@Homenas:~# lsmod | grep vbox
vboxpci                15225  0
vboxnetadp             18580  0
vboxnetflt             17736  0
vboxdrv               373485  3 vboxnetadp,vboxnetflt,vboxpci


root@Homenas:~# /opt/VirtualBox/vboxwebsrv -b
/opt/VirtualBox/vboxwebsrv: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/vboxwebsrv)
/opt/VirtualBox/vboxwebsrv: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/vboxwebsrv)
/opt/VirtualBox/vboxwebsrv: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxRT.so)
/opt/VirtualBox/vboxwebsrv: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxRT.so)
/opt/VirtualBox/vboxwebsrv: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxRT.so)
/opt/VirtualBox/vboxwebsrv: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxXPCOM.so)
/opt/VirtualBox/vboxwebsrv: /lib/libstdc++.so.6: no version information available (required by /opt/VirtualBox/VBoxXPCOM.so)
Oracle VM VirtualBox web service Version 5.1.30
(C) 2007-2017 Oracle Corporation
All rights reserved.
VirtualBox web service 5.1.30 r118389 linux.amd64 (Oct 16 2017 12:07:35) release log
00:00:00.000209 main     Log opened 2018-10-11T01:12:25.537669000Z
00:00:00.000213 main     Build Type: release
00:00:00.000220 main     OS Product: Linux
00:00:00.000222 main     OS Release: 3.10.102
00:00:00.000224 main     OS Version: #15284 SMP Mon Jul 9 23:04:14 CST 2018
00:00:00.000272 main     DMI Product Name: Synoden
00:00:00.000282 main     DMI Product Version:
00:00:00.000359 main     Host RAM: 3392MB (3.3GB) total, 2748MB (2.6GB) available
00:00:00.000369 main     Executable: /opt/VirtualBox/vboxwebsrv
00:00:00.000371 main     Process ID: 10451
00:00:00.000373 main     Package type: LINUX_64BITS_GENERIC


root@Homenas:~# uname -a
Linux Homenas 3.10.102 #15284 SMP Mon Jul 9 23:04:14 CST 2018 x86_64 GNU/Linux synology_bromolow_3615xs

 

 

how to fix it and run?

 

what versión of dsm are you using?

check this foro... if the versión 5.1.30 not works try with the 5.0.40, I´ve left upload different versions of package.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now