VMware Cloud Community
usmansiddiqui
Contributor
Contributor
Jump to solution

VM is in (invalid) satate

Hi,

I am running a vsphere 4 updat 1 environment.

Recently, I tried to shutdown a virtual machine (which is a clone machine) but it stuck at 95%.When I opened its console from vcenter server it showed following error

"Unable to connect to the MKS:Error connecting to /vmfs/volumes/....../MachineName.vmx because the vmx is not started.."

I restarted mgmt and vpxa services on ESX server, hosting the VM.After executing the command VM turned off successfully. However, status of VM is shown "invalid" in vCenter. When I try to turn it on , a dialogue box pops up showing

"The operation is not allowed in the current state"

Regards

Reply
0 Kudos
1 Solution

Accepted Solutions
jamesbowling
VMware Employee
VMware Employee
Jump to solution

You could also attempt to remove the VM from inventory and then adding it back in.

If you found this at all helpful please award points by using the correct or helpful buttons! Thanks!

James B. | Blog: http://www.vSential.com | Twitter: @vSential --- If you found this helpful then please awards helpful or correct points accordingly. Thanks!

View solution in original post

Reply
0 Kudos
3 Replies
vcpguy
Expert
Expert
Jump to solution

Try removing the host from the cluster and add it back again. If that is not helping how about reconfiguring the HA agent on that host. I don't this HA has anytthing to do with this but just give it a shot.

Thanks

My blog:

----------------------------------------------------------------------------- Please don't forget to reward Points for helpful hints; answers; suggestions. My blog: http://vmwaredevotee.com
jamesbowling
VMware Employee
VMware Employee
Jump to solution

You could also attempt to remove the VM from inventory and then adding it back in.

If you found this at all helpful please award points by using the correct or helpful buttons! Thanks!

James B. | Blog: http://www.vSential.com | Twitter: @vSential --- If you found this helpful then please awards helpful or correct points accordingly. Thanks!
Reply
0 Kudos
usmansiddiqui
Contributor
Contributor
Jump to solution

Problem resolved Thanks

Reply
0 Kudos