SOAP Error Using VirtualBox 5.1.14 on Intel Xenon E5620
A web-based front-end to VirtualBox written in PHP
Brought to you by:
imoore76
So I installed the latest version of virtualbox 5.1.14 on Debian Jessie and there is a problem with phpvirtualbox. When I login I get a SOAP error see below
SoapFault Object ( [message:protected] => VirtualBox error: rc=0x80004005 [string:Exception:private] => [code:protected] => 0 [file:protected] => /usr/share/phpvirtualbox/endpoints/lib/vboxServiceWrappers.php [line:protected] => 4880 [trace:Exception:private] => Array ( [0] => Array ( [file] => /usr/share/phpvirtualbox/endpoints/lib/vboxServiceWrappers.php [line] => 4880 [function] => __soapCall [class] => SoapClient [type] => -> [args] => Array ( [0] => IHost_getProcessorDescription [1] => Array ( [0] => Array ( [_this] => 444dc1d726f3481f-0000000000000002 [cpuId] => 1 ) ) ) ) [1] => Array ( [file] => /usr/share/phpvirtualbox/endpoints/lib/vboxconnector.php [line] => 3394 [function] => getProcessorDescription [class] => IHost [type] => -> [args] => Array ( [0] => 1 ) ) [2] => Array ( [file] => /usr/share/phpvirtualbox/endpoints/lib/vboxconnector.php [line] => 951 [function] => remote_hostGetDetails [class] => vboxconnector [type] => -> [args] => Array ( [0] => ) ) [3] => Array ( [file] => /usr/share/phpvirtualbox/endpoints/api.php [line] => 316 [function] => __call [class] => vboxconnector [type] => -> [args] => Array ( [0] => hostGetDetails [1] => Array ( [0] => [1] => Array ( [0] => Array ( [data] => Array ( [responseData] => Array ( ) ) [errors] => Array ( ) [persist] => Array ( ) [messages] => Array ( ) ) ) ) ) ) [4] => Array ( [file] => /usr/share/phpvirtualbox/endpoints/api.php [line] => 316 [function] => hostGetDetails [class] => vboxconnector [type] => -> [args] => Array ( [0] => [1] => Array ( [0] => Array ( [data] => Array ( [responseData] => Array ( ) ) [errors] => Array ( ) [persist] => Array ( ) [messages] => Array ( ) ) ) ) ) ) [previous:Exception:private] => [faultstring] => VirtualBox error: rc=0x80004005 [faultcode] => SOAP-ENV:Client [detail] => stdClass Object ( [RuntimeFault] => stdClass Object ( [resultCode] => -2147467259 [returnval] => ) ) )
My CPU is an Intel Xenon E5620. It looks like the code it bombing while trying to get the description of my CPU so I commented out line 4880 in vboxServiceWrappers.php and so that I can continue to use the interface. I don't know how to fix it and I believe it to be a bug.
In a proliant ml 360 g6 with two Intel (R) Xeon (R) L5520 processors we have the same error.
And it is because it lists the processors in pairs.
When trying to list processor number 1 it gives an error when it does not exist.
%Cpu0 : 0,0 us, 0,0 sy, 0,0 ni,100,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu2 : 0,0 us, 0,0 sy, 0,0 ni,100,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu4 : 0,0 us, 0,0 sy, 0,0 ni, 99,3 id, 0,7 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu6 : 0,0 us, 0,0 sy, 0,0 ni,100,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu8 : 0,3 us, 0,3 sy, 0,0 ni, 99,3 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu10 : 0,0 us, 0,0 sy, 0,0 ni,100,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu12 : 0,0 us, 0,0 sy, 0,0 ni,100,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu14 : 0,0 us, 0,0 sy, 0,0 ni,100,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu16 : 0,0 us, 0,0 sy, 0,0 ni,100,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu18 : 0,0 us, 0,0 sy, 0,0 ni,100,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu20 : 0,0 us, 0,0 sy, 0,0 ni,100,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu22 : 0,0 us, 0,0 sy, 0,0 ni,100,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu24 : 0,0 us, 0,0 sy, 0,0 ni,100,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu26 : 0,0 us, 0,0 sy, 0,0 ni,100,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu28 : 0,0 us, 0,0 sy, 0,0 ni,100,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu30 : 0,0 us, 0,0 sy, 0,0 ni,100,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
Check GitHub for a more detailed explanation what is going on and an easy fix to apply:
https://github.com/phpvirtualbox/phpvirtualbox/issues/53#issuecomment-326043790