NKXLAB / phpvirtualbox

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

CpuId override leaf 0x80000009 is not set error #72

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.If i go to http://loacalhost:18083 host responce SOAP-ENV:ClientHTTP GET 
method not implemented
2.if i go to http://loacalhost  '"An unknown PHP error occurred. This is most 
likely a syntax error in config.php in phpVirtualBox's folder. The most common 
errors are an unclosed quote or a missing semicolon in a configuration item 
that has been entered (e.g. location, username, or password).

Depending on your PHP configuration, navigating directly to config.php in your 
web browser may display the PHP error message.

If find that this is not the case, or have no idea what this error message 
means, please raise the issue at 
http://code.google.com/p/phpvirtualbox/issues/list"

php5-5.3.3_2        PHP Scripting Language
php5-json-5.3.3_2   The json shared extension for php
php5-session-5.3.3_2 The session shared extension for php
php5-soap-5.3.3_2   The soap shared extension for php
phpvirtualbox-0.4   AJAX Web Interface for VirtualBox
virtualbox-ose-3.2.8 A general-purpose full virtualizer for x86 hardware
virtualbox-ose-kmod-3.2.8 VirtualBox kernel module for FreeBSD

FreeBSD8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010     
root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

config.php

<?php
/*
 * phpVirtualBox configuration
 *
 */
class phpVBoxConfig {

/* Username / Password for system user that runs VirutalBox */
var $username = 'user';
var $password = 'password';
var $location = 'http://127.0.0.1:18083';

/* Currently, en_US is the only supported language */
var $language = 'en_US';

/*
 *
 * Not-so-common options / tweeking
 *
 */

// Default host/ip to use for RDP
//var $rdpHost = '192.168.1.40';

/*
Allow to prompt deletion harddisk files on removal from Virtual Media Manager.
If this is not set, files are always kept. If this is set, you will be PROMPTED
to decide whether or not you would like to delete the harddisk file(s) when you
remove a harddisk from virtual media manager. You may still choose not to delete
the file when prompted.
*/
var $deleteOnRemove = true;

/*
 * File / Folder browser settings
 */

// Restrict file types
var $browserRestrictFiles = '.iso,.vdi,.vmdk,.img,.bin,.vhd,.hdd,.ovf,.ova';

// Restrict locations / folders
#var $browserRestrictFolders = 'D:\\,C:\\Users\\Ian'; // Or something like 
'/home/vbox,/var/ISOs'

// Force use of local, webserver based file browser instead of going through 
vboxwebsrv
#var $browserLocal = true;

// Disable file / folder browser.
#var $browserDisable = true;

/*
 * Misc
 */

/* Disable any of phpVirtualBox's main tabs */
#var $disableTabVMSnapshots = true; // Snapshots tab
#var $disableTabVMConsole = true; // Console tab
#var $disableTabVMDescription = true; // Description tab

/* Custom screen resolutions for console tab */
#var $consoleResolutions = '640x480,800x600,1024x768';

/* Max number of network cards per VM. Do not set above VirtualBox's limit 
(typically 8) or below 1 */
var $nicMax = 4;

/* Enable Acceleration configuration (normally hidden in the VirtualBox GUI) */
var $enableAccelerationConfig = true;

/* Custom VMList sort function in JavaScript */
/* This places running VMs at the top of the list
var $vmListSort = 'function(a,b) {
    if(a.state == "Running" && b.state != "Running") return -1;
    if(b.state == "Running" && a.state != "Running") return 1;
    return strnatcasecmp(a.name,b.name);
}';
*/

/*
 * Cache tweeking.
 *
 * NOT a good idea to set any of these unless asked to do so.
 */
#var $cachePath = '/tmp';

/*
 * Cache timings

var $cacheExpireMultiplier = 1;
var $cacheSettings = array(
        'getHostDetails' => 86400, // "never" changes
        'getGuestOSTypes' => 86400,
        'getSystemProperties' => 86400,
        'getInternalNetworks' => 86400,
        'getMediums' => 600,
        'getVMs' => 2,
        '__getMachine' => 7200,
        '__getNetworkAdapters' => 7200,
        '__getStorageControllers' => 7200,
        '__getSharedFolders' => 7200,
        '__getUSBController' => 7200,
);
*/

}

Original issue reported on code.google.com by Kornienk...@gmail.com on 21 Sep 2010 at 9:02

GoogleCodeExporter commented 9 years ago
Do you see any errors or output when you navigate to 
http://loacalhost/config.php ?

Original comment by imooreya...@gmail.com on 21 Sep 2010 at 4:17

GoogleCodeExporter commented 9 years ago
No I see the configuration file.

Original comment by Kornienk...@gmail.com on 22 Sep 2010 at 6:14

GoogleCodeExporter commented 9 years ago
I installed version 0.5 and it solved the problem.
I installed version 0.5 and it solved the problem
But now another error when you log on to http: / / lotsalhost an error
VirtualBox error: (0x80004005)
SoapFault Object
(
    [message:protected] => VirtualBox error:  (0x80004005)
    [string:private] => 
    [code:protected] => 0
    [file:protected] => /usr/local/www/apache22/data/lib/vboxServiceWrappers.php
    [line:protected] => 3224
    [trace:private] => Array
        (
            [0] => Array
                (
                    [file] => /usr/local/www/apache22/data/lib/vboxServiceWrappers.php
                    [line] => 3224
                    [function] => __soapCall
                    [class] => SoapClient
                    [type] => ->
                    [args] => Array
                        (
                            [0] => IHost_getProcessorDescription
                            [1] => Array
                                (
                                    [0] => Array
                                        (
                                            [_this] => 5d0b7637f7e956e5-0000000000000381
                                            [cpuId] => 0
                                        )

                                )

                        )

                )

            [1] => Array
                (
                    [file] => /usr/local/www/apache22/data/lib/vboxconnector.php
                    [line] => 1401
                    [function] => getProcessorDescription
                    [class] => IHost
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 0
                        )

                )

            [2] => Array
                (
                    [file] => /usr/local/www/apache22/data/lib/vboxconnector.php
                    [line] => 218
                    [function] => getHostDetailsCached
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [fn] => getHostDetails
                                )

                            [1] => Array
                                (
                                    [data] => Array
                                        (
                                            [id] => host
                                            [operatingSystem] => FreeBSD
                                            [OSVersion] => 8.1-RELEASE
                                            [memorySize] => 7146
                                            [Acceleration3DAvailable] => 
                                            [cpus] => Array
                                                (
                                                )

                                            [networkInterfaces] => Array
                                                (
                                                )

                                            [DVDDrives] => Array
                                                (
                                                )

                                            [floppyDrives] => Array
                                                (
                                                )

                                        )

                                    [errors] => Array
                                        (
                                        )

                                    [persist] => Array
                                        (
                                        )

                                )

                        )

                )

            [3] => Array
                (
                    [file] => /usr/local/www/apache22/data/lib/ajax.php
                    [line] => 93
                    [function] => __call
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => getHostDetails
                            [1] => Array
                                (
                                    [0] => Array
                                        (
                                            [fn] => getHostDetails
                                        )

                                    [1] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [data] => Array
                                                        (
                                                            [id] => host
                                                            [operatingSystem] => FreeBSD
                                                            [OSVersion] => 8.1-RELEASE
                                                            [memorySize] => 7146
                                                            [Acceleration3DAvailable] => 
                                                            [cpus] => Array
                                                                (
                                                                )

                                                            [networkInterfaces] => Array
                                                                (
                                                                )

                                                            [DVDDrives] => Array
                                                                (
                                                                )

                                                            [floppyDrives] => Array
                                                                (
                                                                )

                                                        )

                                                    [errors] => Array
                                                        (
                                                        )

                                                    [persist] => Array
                                                        (
                                                        )

                                                )

                                        )

                                )

                        )

                )

            [4] => Array
                (
                    [file] => /usr/local/www/apache22/data/lib/ajax.php
                    [line] => 93
                    [function] => getHostDetails
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [fn] => getHostDetails
                                )

                            [1] => Array
                                (
                                    [0] => Array
                                        (
                                            [data] => Array
                                                (
                                                    [id] => host
                                                    [operatingSystem] => FreeBSD
                                                    [OSVersion] => 8.1-RELEASE
                                                    [memorySize] => 7146
                                                    [Acceleration3DAvailable] => 
                                                    [cpus] => Array
                                                        (
                                                        )

                                                    [networkInterfaces] => Array
                                                        (
                                                        )

                                                    [DVDDrives] => Array
                                                        (
                                                        )

                                                    [floppyDrives] => Array
                                                        (
                                                        )

                                                )

                                            [errors] => Array
                                                (
                                                )

                                            [persist] => Array
                                                (
                                                )

                                        )

                                )

                        )

                )

        )

    [faultstring] => VirtualBox error:  (0x80004005)
    [faultcode] => SOAP-ENV:Sender
    [detail] => stdClass Object
        (
            [RuntimeFault] => stdClass Object
                (
                    [resultCode] => -2147467259
                    [interfaceID] => 00000000-0000-0000-0000-000000000000
                    [component] => 
                    [text] => 
                )

        )

)

Original comment by Kornienk...@gmail.com on 22 Sep 2010 at 7:48

GoogleCodeExporter commented 9 years ago
Hi,

Start vboxwebsrv in a console with no arguments (if you haven't already). Then 
refresh phpVirtualBox's page and watch for any errors from vboxwebsrv. It 
should give more information. Could you copy / paste the output here please?

Meanwhile I'm installing this all on a freebsd box to test. As you probably 
know, it takes a while to compile everything.

Original comment by imooreya...@gmail.com on 22 Sep 2010 at 1:45

GoogleCodeExporter commented 9 years ago
Hi in console error
2010-09-23 15:11:37 [  2] New SOAP thread started
2010-09-23 15:11:37 [  2] Processing connection from IP=127.0.0.1 socket=10 (0 
out of 2 threads idle)
2010-09-23 15:11:37 [  2] Processing connection from IP=127.0.0.1 socket=11 (0 
out of 2 threads idle)
2010-09-23 15:11:37 [  1] Processing connection from IP=127.0.0.1 socket=14 (0 
out of 2 threads idle)
API return code:            0x80004005 (NS_ERROR_FAILURE)
COM error info result code: 0x0
COM error info text:

And if i select a tab VirtualBox hosting error in console

API return code:            0x80004005 (NS_ERROR_FAILURE)
COM error info result code: 0x80070057
COM error info text:        CpuId override leaf 0x80000009 is not set

Original comment by Kornienk...@gmail.com on 23 Sep 2010 at 12:13

GoogleCodeExporter commented 9 years ago
Hrmm.. very strange. What happens when you run:

VBoxManage list hostinfo

On that box? Can you paste the output here please?

Original comment by imooreya...@gmail.com on 23 Sep 2010 at 3:09

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by imooreya...@gmail.com on 24 Sep 2010 at 2:11

GoogleCodeExporter commented 9 years ago
Oracle VM VirtualBox Command Line Management Interface Version 3.2.8_OSE
(C) 2005-2010 Oracle Corporation
All rights reserved.

Host Information:

Host time: 2010-09-24T14:29:49.911000000Z
Processor online count: 8
Processor count: 8
Processor#0 speed: 2002 MHz
Processor#0 description: Intel(R) Xeon(R) CPU           E5335  @ 2.00GHz
Processor#1 speed: 2002 MHz
ERROR: CpuId override leaf 0x80000009 is not set
Details: code NS_ERROR_INVALID_ARG (0x80070057), component Machine, interface 
IMachine, callee nsISupports
Context: "GetProcessorDescription(i, processorDescription.asOutParam())" at 
line 523 of file VBoxManageList.cpp
Processor#1 description:
Processor#2 speed: 2002 MHz
ERROR: CpuId override leaf 0x0 is not set
Details: code NS_ERROR_INVALID_ARG (0x80070057), component Machine, interface 
IMachine, callee nsISupports
Context: "GetProcessorDescription(i, processorDescription.asOutParam())" at 
line 523 of file VBoxManageList.cpp
Processor#2 description:
Processor#3 speed: 2002 MHz
ERROR: CpuId override leaf 0x80000009 is not set
Details: code NS_ERROR_INVALID_ARG (0x80070057), component Machine, interface 
IMachine, callee nsISupports
Context: "GetProcessorDescription(i, processorDescription.asOutParam())" at 
line 523 of file VBoxManageList.cpp
Processor#3 description:
Processor#4 speed: 2002 MHz
ERROR: CpuId override leaf 0x80000009 is not set
Details: code NS_ERROR_INVALID_ARG (0x80070057), component Machine, interface 
IMachine, callee nsISupports
Context: "GetProcessorDescription(i, processorDescription.asOutParam())" at 
line 523 of file VBoxManageList.cpp
Processor#4 description:
Processor#5 speed: 2002 MHz
ERROR: CpuId override leaf 0x80000007 is not set
Details: code NS_ERROR_INVALID_ARG (0x80070057), component Machine, interface 
IMachine, callee nsISupports
Context: "GetProcessorDescription(i, processorDescription.asOutParam())" at 
line 523 of file VBoxManageList.cpp
Processor#5 description:
Processor#6 speed: 2002 MHz
ERROR: CpuId override leaf 0x0 is not set
Details: code NS_ERROR_INVALID_ARG (0x80070057), component Machine, interface 
IMachine, callee nsISupports
Context: "GetProcessorDescription(i, processorDescription.asOutParam())" at 
line 523 of file VBoxManageList.cpp
Processor#6 description:
Processor#7 speed: 2002 MHz
ERROR: CpuId override leaf 0x80000006 is not set
Details: code NS_ERROR_INVALID_ARG (0x80070057), component Machine, interface 
IMachine, callee nsISupports
Context: "GetProcessorDescription(i, processorDescription.asOutParam())" at 
line 523 of file VBoxManageList.cpp
Processor#7 description:
Memory size: 7146 MByte
Memory available: 1731 MByte
Operating system: FreeBSD
Operating system version: 8.1-RELEASE

Original comment by Kornienk...@gmail.com on 24 Sep 2010 at 11:28

GoogleCodeExporter commented 9 years ago
It's as I thought. VirtualBox itself is giving the same error. Until this is 
fixed, phpVirtualBox will not work. Unfortunately I can't be of much assistance 
here as I've never seen this error. I suggest posting to the VirtualBox forums.

Original comment by imooreya...@gmail.com on 24 Sep 2010 at 1:18

GoogleCodeExporter commented 9 years ago

Original comment by imooreya...@gmail.com on 28 Sep 2010 at 8:32

GoogleCodeExporter commented 9 years ago
FreeBSD 8.1 amd64 have same error, also Console is not availible on page

SoapFault Object
(
    [message:protected] => VirtualBox error:  (0x80004005)
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /usr/local/www/phpvirtualbox/lib/vboxServiceWrappers.php
    [line:protected] => 3224
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /usr/local/www/phpvirtualbox/lib/vboxServiceWrappers.php
                    [line] => 3224
                    [function] => __soapCall
                    [class] => SoapClient
                    [type] => ->
                    [args] => Array
                        (
                            [0] => IHost_getProcessorDescription
                            [1] => Array
                                (
                                    [0] => Array
                                        (
                                            [_this] => 8ec997c436bb122c-00000000000001f8
                                            [cpuId] => 0
                                        )

                                )

                        )

                )

            [1] => Array
                (
                    [file] => /usr/local/www/phpvirtualbox/lib/vboxconnector.php
                    [line] => 1401
                    [function] => getProcessorDescription
                    [class] => IHost
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 0
                        )

                )

            [2] => Array
                (
                    [file] => /usr/local/www/phpvirtualbox/lib/vboxconnector.php
                    [line] => 218
                    [function] => getHostDetailsCached
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [fn] => getHostDetails
                                )

                            [1] => Array
                                (
                                    [data] => Array
                                        (
                                            [id] => host
                                            [operatingSystem] => FreeBSD
                                            [OSVersion] => 8.1-RELEASE
                                            [memorySize] => 32744
                                            [Acceleration3DAvailable] => 
                                            [cpus] => Array
                                                (
                                                )

                                            [networkInterfaces] => Array
                                                (
                                                )

                                            [DVDDrives] => Array
                                                (
                                                )

                                            [floppyDrives] => Array
                                                (
                                                )

                                        )

                                    [errors] => Array
                                        (
                                        )

                                    [persist] => Array
                                        (
                                        )

                                )

                        )

                )

            [3] => Array
                (
                    [file] => /usr/local/www/phpvirtualbox/lib/ajax.php
                    [line] => 93
                    [function] => __call
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => getHostDetails
                            [1] => Array
                                (
                                    [0] => Array
                                        (
                                            [fn] => getHostDetails
                                        )

                                    [1] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [data] => Array
                                                        (
                                                            [id] => host
                                                            [operatingSystem] => FreeBSD
                                                            [OSVersion] => 8.1-RELEASE
                                                            [memorySize] => 32744
                                                            [Acceleration3DAvailable] => 
                                                            [cpus] => Array
                                                                (
                                                                )

                                                            [networkInterfaces] => Array
                                                                (
                                                                )

                                                            [DVDDrives] => Array
                                                                (
                                                                )

                                                            [floppyDrives] => Array
                                                                (
                                                                )

                                                        )

                                                    [errors] => Array
                                                        (
                                                        )

                                                    [persist] => Array
                                                        (
                                                        )

                                                )

                                        )

                                )

                        )

                )

            [4] => Array
                (
                    [file] => /usr/local/www/phpvirtualbox/lib/ajax.php
                    [line] => 93
                    [function] => getHostDetails
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [fn] => getHostDetails
                                )

                            [1] => Array
                                (
                                    [0] => Array
                                        (
                                            [data] => Array
                                                (
                                                    [id] => host
                                                    [operatingSystem] => FreeBSD
                                                    [OSVersion] => 8.1-RELEASE
                                                    [memorySize] => 32744
                                                    [Acceleration3DAvailable] => 
                                                    [cpus] => Array
                                                        (
                                                        )

                                                    [networkInterfaces] => Array
                                                        (
                                                        )

                                                    [DVDDrives] => Array
                                                        (
                                                        )

                                                    [floppyDrives] => Array
                                                        (
                                                        )

                                                )

                                            [errors] => Array
                                                (
                                                )

                                            [persist] => Array
                                                (
                                                )

                                        )

                                )

                        )

                )

        )

    [previous:Exception:private] => 
    [faultstring] => VirtualBox error:  (0x80004005)
    [faultcode] => SOAP-ENV:Sender
    [detail] => stdClass Object
        (
            [RuntimeFault] => stdClass Object
                (
                    [resultCode] => -2147467259
                    [interfaceID] => 00000000-0000-0000-0000-000000000000
                    [component] => 
                    [text] => 
                )

        )

)

Original comment by valentin...@gmail.com on 6 May 2011 at 11:49