openSUSE13.1 error logging in

Help
2014-03-01
2014-03-01
  • System:openSUSE 13.1

    Checking for VBox Web Service ...running

    vboxweb-service.service - LSB: VirtualBox web service API
    Loaded: loaded (/etc/init.d/vboxweb-service)
    Active: active (exited) since Sat 2014-03-01 07:05:42 EET; 1h 29min ago


    VirtualBox web service 4.2.18_OSE r88780 linux.amd64 (openSUSE Buildservice) release log
    00:00:00.002703 main Log opened 2014-03-01T07:07:40.873972000Z
    00:00:00.002705 main OS Product: Linux
    00:00:00.002706 main OS Release: 3.11.10-7-desktop
    00:00:00.002707 main OS Version: #1 SMP PREEMPT Mon Feb 3 09:41:24 UTC 2014 (750023e)
    00:00:00.002721 main DMI Product Name: To Be Filled By O.E.M.
    00:00:00.002729 main DMI Product Version: To Be Filled By O.E.M.
    00:00:00.002838 main Host RAM: 3957MB total, 1710MB available
    00:00:00.002841 main Executable: /usr/lib/virtualbox/vboxwebsrv
    00:00:00.002841 main Process ID: 22764
    00:00:00.002842 main Package type: LINUX_64BITS_GENERIC (OSE)
    00:00:00.768735 SQPmp Socket connection successful: host = default (localhost), port = 18083, master socket = 9


    telnet localhost 18083

    Trying ::1...
    Connected to localhost.
    Escape character is '^]'.


    ps aux | grep vbox

    USER 18142 0.0 0.1 527180 7488 ? Sl 08:37 0:00 /usr/lib/virtualbox/vboxwebsrv --background


    With appropriate credentials:


    /etc/default/virtualbox

    VBOXWEB_USER=USER
    VBOXWEB=0.0.0.0


    config.php

    <?php
    /
    * phpVirtualBox example configuration.
    * @version $Id: config.php-example 452 2012-10-17 12:22:12Z imooreyahoo@gmail.com $

    * rename to config.php and edit as needed.

    /
    class phpVBoxConfig {
    /
    Username / Password for system user that runs VirtualBox */
    var $username = 'USER';
    var $password = 'PASS';

    / SOAP URL of vboxwebsrv (not phpVirtualBox's URL) /
    //var $location = 'http://127.0.0.1:18083/';
    var $location = 'http://localhost:18083/';

    / Default language. See languages folder for more language options.
    * Can also be changed in File -> Preferences -> Language in
    * phpVirtualBox.
    /
    var $language = 'en';
    ...
    ...
    ...


    login output error:


    Exception Object
    (
    [message:protected] => Error logging in to vboxwebsrv.
    [string:Exception:private] =>
    [code:protected] => 64
    [file:protected] => /srv/www/shtdocs/phpvirtualbox/lib/ajax.php
    [line:protected] => 128
    [trace:Exception:private] => Array
    (
    )

    [previous:Exception:private] =>
    

    )

     
    Last edit: Filippos L Filippides 2014-03-01
  • without credentials given but noAuth is true:


    Exception Object
    (
        [message:protected] => Error logging in to vboxwebsrv.
        [string:Exception:private] => 
        [code:protected] => 64
        [file:protected] => /srv/www/shtdocs/phpvirtualbox/lib/vboxconnector.php
        [line:protected] => 210
        [trace:Exception:private] => Array
            (
                [0] => Array
                    (
                        [file] => /srv/www/shtdocs/phpvirtualbox/lib/vboxconnector.php
                        [line] => 5164
                        [function] => connect
                        [class] => vboxconnector
                        [type] => ->
                        [args] => Array
                            (
                            )
                    )
                [1] => Array
                    (
                        [file] => /srv/www/shtdocs/phpvirtualbox/lib/vboxconnector.php
                        [line] => 920
                        [function] => remote_vboxSystemPropertiesGet
                        [class] => vboxconnector
                        [type] => ->
                        [args] => Array
                            (
                                [0] => Array
                                    (
                                        [fn] => vboxSystemPropertiesGet
                                    )
    
                            )
    
                    )
    
                [2] => Array
                    (
                        [file] => /srv/www/shtdocs/phpvirtualbox/lib/ajax.php
                        [line] => 309
                        [function] => __call
                        [class] => vboxconnector
                        [type] => ->
                        [args] => Array
                            (
                                [0] => vboxSystemPropertiesGet
                                [1] => Array
                                    (
                                        [0] => Array
                                            (
                                                [fn] => vboxSystemPropertiesGet
                                            )
    
                                        [1] => Array
                                            (
                                                [0] => Array
                                                    (
                                                        [data] => Array
                                                            (
                                                                [responseData] => Array
                                                                    (
                                                                    )
    
                                                            )
    
                                                        [errors] => Array
                                                            (
                                                            )
    
                                                        [persist] => Array
                                                            (
                                                            )
    
                                                        [messages] => Array
                                                            (
                                                            )
    
                                                    )
    
                                            )
    
                                    )
    
                            )
    
                    )
    
                [3] => Array
                    (
                        [file] => /srv/www/shtdocs/phpvirtualbox/lib/ajax.php
                        [line] => 309
                        [function] => vboxSystemPropertiesGet
                        [class] => vboxconnector
                        [type] => ->
                        [args] => Array
                            (
                                [0] => Array
                                    (
                                        [fn] => vboxSystemPropertiesGet
                                    )
    
                                [1] => Array
                                    (
                                        [0] => Array
                                            (
                                                [data] => Array
                                                    (
                                                        [responseData] => Array
                                                            (
                                                            )
    
                                                    )
    
                                                [errors] => Array
                                                    (
                                                    )
    
                                                [persist] => Array
                                                    (
                                                    )
    
                                                [messages] => Array
                                                    (
                                                    )
    
                                            )
    
                                    )
    
                            )
    
                    )
    
            )
    
        [previous:Exception:private] => 
    )
    
    Location:
    
    
    
     
    Last edit: Filippos L Filippides 2014-03-01