roddam
Contributor
Contributor

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 <server_password>

    I get this error - Server version unavailable at  'https://<server>/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?

Reply
0 Kudos