Start a Conversation

Unsolved

This post is more than 5 years old

A

5 Practitioner

 • 

274.2K Posts

852

July 11th, 2012 14:00

vicfg-hostops error

Hi All,

    I just got through the installation of vCLI and perl SDK. I installed all this in my vCenter SUSE VM it self. The vCenter is bootstrapped into the cluster. I am trying to reboot a host in my cluster using,

    vicfg-hostsops --operation reboot --server 10.243.xxx.xxx --username root --password

    I get this error - Server version unavailable at 'https:///sdk/vimService.wsdl' at /usr/lib/perl5/5.8.8/VMware/VICommon.pm line 545

     The solution for this from vmware support site is

Workaround: Follow these steps to resolve the issue:

  1. Make sure the version of the LWP::UserAgent Perl module is above 6.0.4.
  2. Turn off host name verification by running the following command:
    export PERL_LWP_SSL_VERIFY_HOSTNAME=0

       The latest LWP::UserAgent perl module is 6.04 and nothing here which I have installed.

       Exported the variable and assigned it to 0.

I did all this but I still get the same error - server version unavailable.

Any ideas?

161 Posts

July 12th, 2012 19:00

Have you used a proxy? If so, deactivate the proxy (look in the enviroment) and then have another try.

No Events found!

Top