Quantcast
Channel: VMware Communities : All Content - vSphere Management Assistant (vMA)
Viewing all articles
Browse latest Browse all 482

PLEASE HELP! Using vMA to run script using cron fails!

$
0
0

I am trying to revert a guest to the latest snapshot using snapshotmanager.pl and all works fine when I run it. However when I try to run it using cron it fails! I redirected output from the snapshotmanager.pl command to a text file and get the following:

 

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

 

Maybe this is a red herring - I'm no expert! I added the 5 or 6 VMWare specific lines at the end of the /etc/bashrc file to the script (as mentioned here http://www.virtuallyghetto.com/2011/01/how-to-automate-cron-vi-fastpass.html) but still no luck! The script still runs fine manually.

 

I'm using vMA to connect to the ESXi 5.0.0 host its running on. I downloaded and I am using the vMA-5.0.0.1-643553 OVF.

 

Any suggestions? I'm gonna start over with a fresh ovf but if that fails I am out of ideas!

 

This is for a new deployment of a production system so any and all help is welcome - I am increasingly under pressure to get this one going!

 

Thanks!

Chris


Viewing all articles
Browse latest Browse all 482

Trending Articles



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