Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

My script (and vmrun) can't establish a reliable connection to an ESX server via VIX

Lets say I execute the script 10 times consecutively. the script will fail at VMOpen() function call 6 out of 10 times. Its the same situation with vmrun.

Initially, I was able to interface with that ESX machine for several months without a problem. Now, i get connection problems several times an hour.

What gives?

Its not a network issue because I can access the https just fine.

VMOpen description:

share|improve this question
Are there error messages either on the console of the vmrun machine or in the log file of the ESX machine? – kbyrd Nov 15 '11 at 13:11
It's in the vmrun – LostInComputer Nov 16 '11 at 1:48

Without error logs, the next thing you could try would be a packet analyzer like WireShark. You might be able to see if TCP is closing the connection or if the application layer is shutting things down.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.