Wednesday 7 August 2013

VMware Error (Solved) : The attempted operation cannot be performed in the current state (Powered Off)

Hi Guys,

You may be face this error on ESXi server after deploy the vm image onto ESXi.

" The attempted operation cannot be performed in the current state (Powered Off)"

After convert the vm, you will try power-on to the vm image. But vm can't boot up and it's only show above error at the console. And you can't power-off to that vm image also. This may occur relatively snapshot of vm image.

Here I will show how to solve this error.

First, you need to power-off the vm, but you can't power off from vSphere or vCenter.
So login to the ESXi server via ssh.

And use the "esxtop" and need to find out the WID of that vm's process and kill it.
#esxtop
By default, esxtop won't show the WID, you need to enable in the feild order.
So Press "f"
and choose the WID feild and press "Enter".


Now it's showing WID at the esxtop field. And record the WID of your vm name.


And To kill the process, press "k" and put the WID of your vm then press enter . Now you can quit from the esxtop, Press "q". Check at the vSphere, you will be see your vm is already power off.

Now you need to go VM folder location, So browse the datastore, and find your vm image folder and browse it.


There, you will be found  "xxxxx.vmsd" file and delete it.


Now you can power-on the vm image again, It will up successfully without error. :)

>>

UTEE

Ref : http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1000959

No comments:

Post a Comment