dgzyk / phpvirtualbox

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

Error logging in to vboxwebsrv. #663

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Dear All,

I have just installed Oracle Virtualbox and trying to phpVirtualBox to have a 
Web Interface.

My Scenario -
Operating System - Windows 7 64 Bit
VirtualBox Version - VirtualBox-4.1-4.1.12_77245
PHP Version - 5.3.3
phpVirtualBox - 4.1-7

I can open php info web page correctly, thus I am assuming I have set the my 
username and password correctly at the config.php.

On opening http://192.168.1.10/phpvirtualbox/ I get a login prompt and when I 
enter my username/password, it throws an error - "Error logging to vboxwebsrv".

Please note that the error is same even if I deliberately enter wrong 
username/password.

My Error Details
Exception Object
(
    [message:protected] => Error logging in to vboxwebsrv.
    [string:Exception:private] => 
    [code:protected] => 64
    [file:protected] => C:\wamp\www\phpvirtualbox\lib\ajax.php
    [line:protected] => 128
    [trace:Exception:private] => Array
        (
        )

    [previous:Exception:private] => 
    [xdebug_message] => <tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Exception: Error logging in to vboxwebsrv. in C:\wamp\www\phpvirtualbox\lib\ajax.php on line <i>128</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' 
bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th 
align='left' bgcolor='#eeeeec'>Function</th><th align='left' 
bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' 
align='center'>0.0021</td><td bgcolor='#eeeeec' align='right'>785896</td><td 
bgcolor='#eeeeec'>{main}(  )</td><td 
title='C:\wamp\www\phpvirtualbox\lib\ajax.php' 
bgcolor='#eeeeec'>..\ajax.php<b>:</b>0</td></tr>

)

Original issue reported on code.google.com by bobyerha...@gmail.com on 29 Jan 2013 at 12:34

GoogleCodeExporter commented 8 years ago
Same issue. This issue seems to be linked to vbox web service that is not 
executed.
When i execute the process with root right, vbow web service is running, when i 
use vbox user, the service still not started... I'm using Mageia 2 64 bits...

Original comment by form....@gmail.com on 10 Feb 2013 at 10:11

GoogleCodeExporter commented 8 years ago
Okay, so after working on this for some time and pulling whats left of my hair 
out. I was able to get past this ugly error message. What I had to do was make 
sure the "vbox user on the system had a password and then enter that password 
in plan text in the config.php file 

/* Username / Password for system user that runs VirtualBox */
var $username = 'vbox';
var $password = 'pass';

Where "pass" is replace with your password. Seems a little unsecure however 
once I did this I was able to login with admin / admin.

Hope this helps!

Original comment by nbr...@peapodit.com on 25 Feb 2013 at 7:45

GoogleCodeExporter commented 8 years ago
unfortunately, this solution did not solve the same issue on my SEVEN.
I still rejected with code error 64.

Original comment by www....@gmail.com on 8 Apr 2013 at 11:05

GoogleCodeExporter commented 8 years ago
Please create a new issue if you are still having this problem

Original comment by imooreya...@gmail.com on 11 Jul 2013 at 4:11