VMware {code} Community
rcblair
Contributor
Contributor

Perl SDK on RHEL /CENTOS 7.0

Has anyone been successful installing "vSphere SDK for Perl 5.5 Update 2" on RHEL 7.0?  We have it working on RHEL 6.5 but when I installed on RHEL 7.0 it does not work.  After the username/password prompt, it hangs and never returns.  I believe the release notes call out RHEL 6.X but I though I would give a try on RHEL 7.  We need to go to RHEL 7 for other reasons.

2 Replies
stumpr
Virtuoso
Virtuoso

You can try --verbose to see more detail (this will show the XML being sent and received). 

Odds are it's related to the Crypt::SSLeay and LWP 6.08.  You can try downgrading LWP to 6.03 or 5.83(?).  That usually fixes it for me.  I see very long SSL session connections before you get any results (minutes).  Once LWP is downgraded (I usually end up at 5.83), it will run as normal.

Reuben Stump | http://www.virtuin.com | @ReubenStump
Reply
0 Kudos
Michade
Contributor
Contributor

Hi,

I tried to install the Perl SDK version 6 on centos 7.

When I start the install script, I got the following error

This version of "vSphere CLI" is incompatible with this operating system.

Please install the "x86_64" version of this program instead.

Execution aborted.

I commented out the following line in bin/vmware-uninstall-vSphere-CLI.pl

$chk_msg = product_os_match();

changed to

#$chk_msg = product_os_match();

After that the insatllation works fine und all is running.

I don't use the precompiled modules.

I also had to isntall the following packages

yum install e2fsprogs-devel libuuid-devel perl-XML-LibXML openssl-devel gcc perl-CPAN perl-Archive-Zip perl-Class-MethodMaker perl-SOAP-Lite perl-XML-SAX  perl-XML-NamespaceSupport perl-XML-LibXML perl-Data-Dump uuid-perl libuuid-devel uuid-devel glibc.i686

I hope this helps other people with he same problem.