VMware Cloud Community
itomeb
Contributor
Contributor

esxcli: no such file or directory after succesful installation

Hi, I am able to install both vCli 5.0 U1 and vCli 5.1 in Ubuntu 12.04.1 64-bit but when I try esxcli I get:

bash: /usr/bin/esxcli: No such file or directory

The installation log:

Do you accept? (yes/no) yes

Thank you.

Please wait while configuring CPAN ...

Please wait while configuring perl modules using CPAN ...

CPAN is downloading and installing pre-requisite Perl module "Archive::Zip" .

CPAN is downloading and installing pre-requisite Perl module "Crypt::SSLeay" .

CPAN is downloading and installing pre-requisite Perl module
"Class::MethodMaker" .

CPAN is downloading and installing pre-requisite Perl module "Data::Dump" .

CPAN is downloading and installing pre-requisite Perl module "SOAP::Lite" .

In which directory do you want to install the executable files?
[/usr/bin]

Please wait while copying vSphere CLI files...

The installation of vSphere CLI 5.1.0 build-780721 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command:
"/usr/bin/vmware-uninstall-vSphere-CLI.pl".

This installer has successfully installed both vSphere CLI and the vSphere SDK
for Perl.

Enjoy,

--the VMware team

Everything seems fine but esxcli don't work. Any ideas?

Regards.

3 Replies
itomeb
Contributor
Contributor

Well, I found the problem so I am going to answer myself Smiley Wink

The point is that esxcli is a 32-bit binary and it requires the 32-bit system libraries to work. So, in the case that the machine is 64-bit (like this case) you hace to install that 32-bit libraries. In Ubuntu the package is called ia32-libs.

Regards.

Sreejesh_D
Virtuoso
Virtuoso

thank you for sharing the info.

VMware says CLI is supporated on both 32bit and 64 bit of ubuntu 10.04.01. VMware yet to announce support for Ubuntu v12, that may be the reason for default installation failure.

https://www.vmware.com/support/developer/vcli/vcli51/vsp5_51_vcli_relnotes.html#supported

Reply
0 Kudos
carl1
Expert
Expert

Worked for me for the 5.1 vCLI.

Had to install into ubuntu 12.04

apt-get install perl-doc openssl libssl-dev libxml-libxml-perl ia32libs

Works now.  Thanks for the ia32libs suggestion.

Reply
0 Kudos