Unsolved
This post is more than 5 years old
5 Practitioner
•
274.2K Posts
0
852
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://
The solution for this from vmware support site is
Workaround: Follow these steps to resolve the issue:
- Make sure the version of the LWP::UserAgent Perl module is above 6.0.4.
- 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?
LouisLu
161 Posts
0
July 12th, 2012 19:00
Have you used a proxy? If so, deactivate the proxy (look in the enviroment) and then have another try.