dgzyk / phpvirtualbox

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

Error logging in to vboxwebsrv. #485

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Exception Object
(
    [message:protected] => Error logging in to vboxwebsrv.
    [string:Exception:private] => 
    [code:protected] => 64
    [file:protected] => /var/www/phpvirtualbox/lib/vboxconnector.php
    [line:protected] => 107
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/phpvirtualbox/lib/vboxconnector.php
                    [line] => 238
                    [function] => __vboxwebsrvConnect
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [1] => Array
                (
                    [file] => /var/www/phpvirtualbox/lib/auth/Builtin.php
                    [line] => 21
                    [function] => connect
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [2] => Array
                (
                    [file] => /var/www/phpvirtualbox/lib/ajax.php
                    [line] => 109
                    [function] => login
                    [class] => phpvbAuthBuiltin
                    [type] => ->
                    [args] => Array
                        (
                            [0] => patrice
                            [1] => ------------
                        )

                )

        )

    [previous:Exception:private] => 
)

What version of phpVirtualBox, VirtualBox, and PHP are you using? On what
operating system?

Please provide any additional information below.
This what the error i get when i try to log on.

Latest vbox version 4.1.8 i think.
i use pbp4.7 (not the beta)

Ubuntu server 11.10 64 bit.

Original issue reported on code.google.com by deschene...@gmail.com on 25 Jan 2012 at 9:12

GoogleCodeExporter commented 8 years ago
sorry, this is the real error

Exception Object
(
    [message:protected] => Error logging in to vboxwebsrv.
    [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] => patrice
                            [1] => -----------
                        )

                )

        )

    [previous:Exception:private] => 
)

Original comment by deschene...@gmail.com on 25 Jan 2012 at 9:22

GoogleCodeExporter commented 8 years ago
Do you have the correct username / password in config.php? What user is 
vboxwebsrv running as when you type: ps aux | grep vboxwebsrv?

Original comment by imooreya...@gmail.com on 26 Jan 2012 at 1:04

GoogleCodeExporter commented 8 years ago

Original comment by imooreya...@gmail.com on 26 Jan 2012 at 1:18

GoogleCodeExporter commented 8 years ago
This is what I get:
vboxuser  1354  0.0  0.0 115960  4864 ?        Sl   08:48   0:00 
/usr/lib/virtua                  lbox/vboxwebsrv --background
patrice   1914  0.0  0.0   9244   868 pts/0    S+   09:20   0:00 grep 
--color=au                  to vboxwebsrv

So I tried using vboxuser/patrice as user id, even if I change the config.php, 
I get an error of invalid password for vboxuser and I get the vboxwebsrv 
connexion error if i  use patrice

Original comment by deschene...@gmail.com on 26 Jan 2012 at 2:36

GoogleCodeExporter commented 8 years ago
So the username / password in config.php looks like it should be the one for 
'vboxuser' - the username / password used to log in to phpVirtualBox is 
different. By default, it is username: admin password: admin.

Let me know how this goes.

Original comment by imooreya...@gmail.com on 26 Jan 2012 at 2:44

GoogleCodeExporter commented 8 years ago
I feel dumb -.-

Thank you.

Original comment by deschene...@gmail.com on 26 Jan 2012 at 3:00

GoogleCodeExporter commented 8 years ago
No worries. It's a common mistake.

Original comment by imooreya...@gmail.com on 26 Jan 2012 at 3:08

GoogleCodeExporter commented 8 years ago

Original comment by imooreya...@gmail.com on 26 Jan 2012 at 3:08