dgzyk / phpvirtualbox

Automatically exported from code.google.com/p/phpvirtualbox
Other
0 stars 0 forks source link

phpvirtualbox Cannot Connect to host #567

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

I'm trying to set up phpvirtualbox on my machine, however I ran into what seems 
to be quite a common issue, whereby I cannot log into the web interface and get 
an error saying it cannot connect to host.

Below I have pasted the error code in full.
These are the guides I used to setup phpvbox on my machine:

http://www.howtoforge.com/vboxheadless-running-virtual-machines-with-virtualbox-
4.1-on-a-headless-ubuntu-12.04-server

http://www.howtoforge.com/managing-a-headless-virtualbox-installation-with-phpvi
rtualbox-ubuntu-12.04

I have read through numerous such troubleshooting tickets, but none seem to 
help.

OS - xubuntu 12.04
Vbox 4.1
phpvbox 4.1

Here's what I have tried so far:

1 - Reinstalling Vbox 4.1 headless and phpvirtualbox
2 - Reinstalling the extension pack
3 - Reinstalling apache2
4 - chmod on the www/phpvirtualbox directory
5 - Running the VBoxManage setproperty websrvauthlibrary default command.

This is something that baffles me. If anyone could offer any assistance at all, 
that would be great.
Also please find the php config attached.

Exception Object
(
    [message:protected] => Could not connect to host (http://127.0.0.1:18083/)
    [string:Exception:private] => 
    [code:protected] => 64
    [file:protected] => /var/www/phpvirtualbox/lib/vboxconnector.php
    [line:protected] => 188
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/phpvirtualbox/lib/auth/Builtin.php
                    [line] => 45
                    [function] => connect
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [1] => Array
                (
                    [file] => /var/www/phpvirtualbox/lib/ajax.php
                    [line] => 119
                    [function] => login
                    [class] => phpvbAuthBuiltin
                    [type] => ->
                    [args] => Array
                        (
                            [0] => vbox
                            [1] => 343482AA
                        )

                )

        )

    [previous:Exception:private] => 
)

Original issue reported on code.google.com by rrathal...@gmail.com on 6 Aug 2012 at 11:48

Attachments:

GoogleCodeExporter commented 8 years ago
Hello,

Did you start vboxwebsrv? What do you see when you type:

service vboxweb-service status

 as root?

Original comment by imooreya...@gmail.com on 6 Aug 2012 at 1:30

GoogleCodeExporter commented 8 years ago
Closed due to inactivity

Original comment by imooreya...@gmail.com on 21 Aug 2012 at 12:30