Currently running workstation 14 on ubuntu 16. For several years I have a backup script (running as root) that suspends the vm, backup the files (to zip), then runs vmrun to start the vm. Now when the script runs the vmrun command error that says "unable to connect to host." Nothing has changed in years. Any ideas? The VM is a port from an old RedHat61 Cartman system. It only works on this version of RedHat.
Here is the (simple) backup script - nothing fancy
#!/bin/bash
set -x
dt=`date +%Y%m%d`
export DISPLAY=:0
echo "RedHat_"$dt".tar.gz"
cd /software
dt=`date +%Y%m%d`
vmrun suspend /software/RedHat61/RedHat61.vmx
tar -zcvf "RedHat61_"$dt".tar.gz" RedHat61
vmrun start /software/RedHat61/RedHat61.vmx
Well I decided to reboot the server, the backup script works just fine. Not sure what got hosed other than something happened this month. Anyway all is fine