After installing the Remote Client Interface I tried to use the VI perl toolkit.
Executing /usr/local/share/viperltoolkit/apps/vm/vminfo.pl --username root --password doe --server www.xxx.yyy.zzz
I got the following output:
Error connecting to server at 'https://www.xxx.yyy.zzz/sdk/webService':
SOAP Fault:
Fault detail:
$VAR1 = bless ( {
'object' => bless( {*
'value' => 'ha-folder-root',*
'type' => 'Folder'*
}, 'ManagedObjectReference' ),*
'privilegeId' => 'System.View'*
}, 'NoPermission' );*
Why do root not have enough privilege to execute any remote command?
My ESX3i box has the latest applied patch level 94430
I have the exact same issue...
ESX 3.5
If you're logging in as root to your ESX(i) host, it should be able to extract information using vminfo.pl Are you using the latest version of ESXi 3.5u4? If so, the reason for the permission denied is here:
Technically it should have returned "restricted version" error than a permission denied, else there might have been some permission modifications that's preventing the 'root' account to pull the information.
=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at:
If you find this information useful, please award points for "correct" or "helpful".