Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am starting a vmware 2.x vm on a linux host.

This is my script:

#!/bin/sh
vmrun -T server -h https://localhost:11768/sdk -u tore -p mypass123 start "[my1] server1/server1.vmx"

The result when I call the script is:

Error: Cannot open VM: [my1] server1/server1.vmx, The virtual machine cannot be found

But I can start the vm from the browser ui. And in the browser ui it is configured like this:

Virtual Machine Configuration File: [my1] server1/server1.vmx
share|improve this question
up vote 3 down vote accepted

Try replacing localhost with the ipaddress of the host.

share|improve this answer
    
it works. thank you! – Tore Niedahl Jun 13 '10 at 16:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.