Thank you. That actually fixed the repo and I got things installed. But i now have another issue.
I get an error when I go to my-host/phpvirtualbox/
"An error occurred communicating with your vboxwebsrv. No more requests will be sent by phpVirtualBox until the error is corrected and this page is refreshed. The details of this connection error should be displayed in a subsequent dialog box."
and the details are below:
Exception Object
(
[message:protected] => Could not connect to host (
http://127.0.0.1:18083/)
[string:Exception:private] =>
[code:protected] => 64
[file:protected] => /opt/phpvirtualbox/endpoints/lib/vboxconnector.php
[line:protected] => 220
[trace:Exception:private] => Array
(
(
[file] => /opt/phpvirtualbox/endpoints/lib/vboxconnector.php
[line] => 3147
[function] => connect
[class] => vboxconnector
[type] => ->
[args] => Array
(
)
)
[1] => Array
(
[file] => /opt/phpvirtualbox/endpoints/lib/vboxconnector.php
[line] => 951
[function] => remote_vboxGetGuestOSTypes
[class] => vboxconnector
[type] => ->
[args] => Array
(
)
)
[2] => Array
(
[file] => /opt/phpvirtualbox/endpoints/api.php
[line] => 316
[function] => __call
[class] => vboxconnector
[type] => ->
[args] => Array
(
- => vboxGetGuestOSTypes
[1] => Array
(
- =>
[1] => Array
(
- => Array
(
[data] => Array
(
[responseData] => Array
(
)
)
[errors] => Array
(
)
[persist] => Array
(
)
[messages] => Array
(
)
)
)
)
)
)
[3] => Array
(
[file] => /opt/phpvirtualbox/endpoints/api.php
[line] => 316
[function] => vboxGetGuestOSTypes
[class] => vboxconnector
[type] => ->
[args] => Array
(
- =>
[1] => Array
(
- => Array
(
[data] => Array
(
[responseData] => Array
(
)
)
[errors] => Array
(
)
[persist] => Array
(
)
[messages] => Array
(
)
)
)
)
)
)
[previous:Exception:private] =>
)
Location:http://127.0.0.1:18083/
--------------------------------------------------------------------
and when I run # /etc/init.d/vboxdrv status
VirtualBox kernel module is not loaded.
Any suggestions?
It would seem that the needed kernel modules are installed.
yum install --enablerepo=epel dkms kernel-devel
Loaded plugins: fastestmirror, post-transaction-actions, smeserver
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.optus.net
* epel: mirror.optus.net
* smeaddons: mirror.pialasse.com
* smeextras: mirror.pialasse.com
* smeos: mirror.pialasse.com
* smeupdates: mirror.pialasse.com
* updates: mirror.internode.on.net
Package dkms-2.4.0-1.20170926git959bd74.el6.noarch already installed and latest version
Package kernel-devel-2.6.32-754.23.1.el6.x86_64 already installed and latest version
Nothing to do