MUI says virtual machine has shutdown – but vCenter still thinks the machine is running

From time you might experience this problem. You shutdown a virtual machine and after sometime the MUI indicates this VM has terminated, but when you open up Remote Console you can see the virtual machine has shutdown. However, in the vCenter client it looks as if the VM is powered up. You are unable to change any settings (such as memory or disks) about the VM until the vCenter client things shutdown gracefully.

Although the vmkernal terminated the WID correctly, the Service Console has not terminated the process ID for the virtual machine correctly.  It is this information which is being erroneously returned to vCetner. Find out the process ID of the virtual machine and then kill that process.

  1. Connect to the Service Console
  2. Use vmware-cmd to find out the pid value with:

    vmware-cmd /home/vmware/vmname/vmname.vmx getpid

  3. Use the kill command to end the process:

    kill -9 pidno


    Requires Free Membership to View

This was first published in October 2005

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.