Lots of talk out there about “VMControl error -8: Invalid operation for virtual machine’s current state: Make sure the VMware Server Tools are running” when trying to use “vmware-cmd
I’m scripting a start followed by a stop so vmware will generate new mac addresses for a vmx, and thie works “vmware-cmd
Theres information here about how MACs are generated by the way. Removing mac address lines from the vmx file will cause them (and the uuid if it’s removed to) to be generated on startup and added to the vmx file.
I also experienced VMControl erro -8, however with the vmware-cmd start. (This is vmware server 1.05 )
I just wonder if know what could cause this, and if there is anything in the log that I can look for?
Thanks
@pt,
You are running vmware-cmd as root or via sudo, correct?
I’d tail /var/log/vmware/vmware-serverd.log when you try to start and see what messages appear.
/var/log/vmware/vmware-serverd.log VMControl erro -8, however with the vmware-cmd start
for /f “delims=” %%i IN (‘dir/s/b c:\rootwars\*.vmx’) do (
“C:\Program Files\VMware\VMware Server\vmware-cmd” -v “%%i” start
)