kintsukori / phpvirtualbox

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

Error logging in to vboxwebsrv. #707

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] => /home/www/phpvirtualbox/lib/ajax.php
    [line:protected] => 128
    [trace:Exception:private] => Array
        (
        )

    [previous:Exception:private] => 
)
i have the /usr/lib/virtualbox/vboxwebsrv --background running.
and i have username and password in config.php
var $username = 'vbox';
var $password = 'pass';

Original issue reported on code.google.com by walke...@gmail.com on 17 Jul 2013 at 10:05

GoogleCodeExporter commented 8 years ago
i use the svn version.

Original comment by walke...@gmail.com on 17 Jul 2013 at 10:06

GoogleCodeExporter commented 8 years ago
When you type:

ps aux | grep vboxwebsrv

what do you see?

Original comment by imooreya...@gmail.com on 18 Jul 2013 at 5:32

GoogleCodeExporter commented 8 years ago
i'm using debian 6.0 that old, i know, but should not be a problem, right?
10:19:18#tp#~> ps aux | grep vboxwebsrv
walkerxk  1534  0.0  0.1  38180  7876 ?        Sl   10:14   0:00 
/usr/lib/virtualbox/vboxwebsrv --background
walkerxk 11270  0.0  0.0   5224   872 pts/2    S+   10:19   0:00 grep 
--color=auto vboxwebsrv
10:19:19#tp#~> cat /etc/issue
Debian GNU/Linux 6.0 \n \l

10:19:26#tp#~> uname -a
Linux tp 2.6.32-5-686-bigmem #1 SMP Fri Feb 15 16:26:23 UTC 2013 i686 GNU/Linux
10:20:47#tp#~> grep -P '^var \$(username|password)' www/phpvirtualbox/config.php
var $username = 'vbox';
var $password = 'pass';
10:20:52#tp#~>

Original comment by walke...@gmail.com on 19 Jul 2013 at 2:22

GoogleCodeExporter commented 8 years ago
So it looks like vboxwebsrv is running as walkerxk. Please update config.php 
$username and $password to be username 'walkerxk' and this user's password.

Original comment by imooreya...@gmail.com on 19 Jul 2013 at 2:27

GoogleCodeExporter commented 8 years ago
sorry, i made a mistake, i thought this is the login username and passwd.

Original comment by walke...@gmail.com on 19 Jul 2013 at 2:58

GoogleCodeExporter commented 8 years ago
is the login username and password the same? i got the 'Invalid username or 
password.' error when using my username and password.

Original comment by walke...@gmail.com on 19 Jul 2013 at 3:00

GoogleCodeExporter commented 8 years ago
The login username / password is admin / admin

Original comment by imooreya...@gmail.com on 19 Jul 2013 at 3:13

GoogleCodeExporter commented 8 years ago
ok, thank you, it works. 
is there a document mention it? i didn't find it, thanks again.

Original comment by walke...@gmail.com on 19 Jul 2013 at 3:26

GoogleCodeExporter commented 8 years ago
Hello,

http://code.google.com/p/phpvirtualbox/wiki/CommonErrors

Original comment by imooreya...@gmail.com on 19 Jul 2013 at 6:07

GoogleCodeExporter commented 8 years ago
thanks.

Original comment by walke...@gmail.com on 20 Jul 2013 at 4:14