VMware: Server version unavailable at ‘https://MYHOST:443/sdk/vimService.wsdl’ at /usr/lib/perl5/5.10.0/VMware/VICommon.pm line 545

I’m trying to set up SNMP communities on my VM Hosts, so I downloaded and installed the vma (vSphere Management Assistant), and from there I added the hosts as targets. When I try to set up the community with “vicfg-snmp -c mycommunity” I see the subject error;
Server version unavailable at ‘https://MYHOST:443/sdk/vimService.wsdl’ at /usr/lib/perl5/5.10.0/VMware/VICommon.pm line 545

Here is one solution

vi /usr/bin/vicfg-snmp
insert as the very 2nd line of the program:
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;

that’s it, problem solved!

Update, this Phips guy says “You don’t need to edit anything.”

export PERL_LWP_SSL_VERIFY_HOSTNAME=0 in your shell.

Run VMware SDK command.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *