I just got VMware-vSphere-CLI-5.1.0-780721.x86_64.tar from vmware and tried to install it in my RHEL 6.4 64 bit edition.
First I got a message saying that need to install next packages manually:
Compress::Zlib 2.037 or newer
UUID 0.03 or newer
Data::Dump 1.15 or newer
SOAP::Lite 0.710.08 or newer
After install them I got next message:
Please wait while configuring CPAN ...
please restart the installer.
$
I tried to restart the installer, no luck. Also rebooted machine and the problem is the same. Also checked out if commands were isntalled regardless the error.
How can I fix this problem?
Hi
Welcome to the communities.
Please go through the following 2 links.
I'm just trying to install command line interface tool in my workstation so I can connect to ESXi 5.1 hosts. I followed Red Had installation instrucions as referenced in vSphere Documentation Center.
I had tried with esxcli versions 5.0/5.1/5.5 and the only one that is correctly installed in 5.5 but is not capable to connect to ESXi host since are not in same version level. When I tried to install 5.0 or 5.1 I got the error above.
Any one had the same problem here?
The CPAN refers to perl modules.
To install esxcli there are some prerequisites which you need to have installed on your machine.
Use yum to install libxml2-devel, perl-Crypt-SSLeay, expat-devel and perl-Archive-Zip;which are prerequisites.
yum install libxml2-devel perl-Crypt-SSLeay expat-devel perl-Archive-Zip
These are standard RHEL packages.
The installer needs these prerequiistes for successful install. But it doesn't attempt to install them and just fails silently.
Hope this helps
-SatyS
Just have a look @VMware vSphere 5.1
-SatyS
Thanks SatyS for your answer realized that perl-Archive-Zip and expat-devel was mising from my system unfortunately the problem persist even after.
Is there a full check list of prerequistes somewhere? Do you know if installing al perl packages would fix the problem?
Magurena,
Did you try after installing perl-Archive-Zip and expat-devel which were missing on your setup?
Installing Perl will fix your problem for sure.
You can use this as a reference guide VMware vSphere 5.1
If you find the answer useful,please mark as correct/helpful answer.
-SatyS
