Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 192300

Re: Can run health check successfully from the CLI, but a cronjob fails with "Server version unavailable" ...

$
0
0

... it's been a while, but just in case someone else is having the same issue:

 

"Server version unavailable at 'https://10.32.10.27:443/sdk/vimService.wsdl' at /usr/lib/perl5/5.10.0/VMware/VICommon.pm line 545."


is being caused by the failed SSL verification. Just add


# Disable SSL Verification

 

export PERL_LWP_SSL_VERIFY_HOSTNAME=0

 

to your script right before calling vmwarevSphereHealthCheck.pl and it should run as expected.


Viewing all articles
Browse latest Browse all 192300

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>