VMware Cloud Community
Noman0118
Contributor
Contributor
Jump to solution

(ESX 3.0/VC 2.0): Cannot Shutdown VM?

Hello,

I am trying to shutdown my VM. I tried doing through the VI it prompts "Operation failed another task in progress". I tried doing via ssh into the ESX host and do a vmware /path/vm.vmx stop hard and i get the following "VMControl error -999: Unknown error: SoapError: ServerFaultCode(1604) : (Operation failed since another task is in progress)". I am running few production VMs on the same ESX host, how do i turn off the VM without affecting the ESX host and the other VMs that are on it? Some process seems to be hanging on to the VM, i guess i have to safely kill that right?

Thanks in advance!

Reply
0 Kudos
1 Solution

Accepted Solutions
Troy_Clavell
Immortal
Immortal
Jump to solution

try restarting the management service on the ESX host

service mgmt-vmware restart.

If that doesn't work, if you can, restart the virtual center server service

View solution in original post

Reply
0 Kudos
7 Replies
SRuff
Enthusiast
Enthusiast
Jump to solution

As a last resort you can login to the esx host console and kill the process if it's still running. It would be the process starting with /usr/lib/vmware/bin/vmkload_app and ending with the path to your VM file.

Reply
0 Kudos
Chamon
Commander
Commander
Jump to solution

You can also try these first is is a bit easyier on them if it works

To shut down VM

\# vmware-cmd /path/to/config/file.vmx stop soft

or

\# vmware-cmd /path/to/config/file.vmx stop hard

Noman0118
Contributor
Contributor
Jump to solution

I tried hard stop but got the same error.

Reply
0 Kudos
Troy_Clavell
Immortal
Immortal
Jump to solution

try restarting the management service on the ESX host

service mgmt-vmware restart.

If that doesn't work, if you can, restart the virtual center server service

Reply
0 Kudos
Noman0118
Contributor
Contributor
Jump to solution

What does it exactly do though? kills all process associated with the VM cleanly? We are running production VMs on the same ESX hosts w/ no support (l. e very little resources). I am basically the one man team to handle all that has to do with virtualization. So i need to be 100% sure if i take any step that it wont compromise anything or lead to a disaster. Please, advice?

thanks,

Reply
0 Kudos
Noman0118
Contributor
Contributor
Jump to solution

Thank you service mgmt-vmware restart. did the trick!

Reply
0 Kudos
Chamon
Commander
Commander
Jump to solution

Restarting the mgmt-vmware service refreshes what you see in VC. if the stop or kill returned a 1 then it was off.

Reply
0 Kudos