VMware {code} Community
amsingh
Contributor
Contributor

Vm stuck

Hello

I have been entangled in the situation, a VM, neither has been rebooted nor shutdown, which is run on ESXi 6.5 host. I also tied via cmd nothing worked.

I ran the following cmd to accomplished the task

vim-cmd vmsvc/getallvms

vmid       

10          vmxxxxxx          

vim-cmd vmsvc/power.getstate 10

power state online

vim-cmd vmsvc/power.shutdown 10

vim-cmd vmsvc/power.off 10

then ran to kill the world of VM

esxcli vm process list

esxcli VM process kill --type= soft, hard, force --world-id=47xxxxxx

it killed the world id

but VM was still in running mode.

tried to kill the process of VM

ps | grep vmx

list of vmx with process and parent process id

ran kill 47xxxxx

sh: can't kill PID 47xxxxxx: No such process

kill -9 47xxxxx

sh: can't kill PID 47xxxxxx: No such process

GUI: VM show already another task in the process

pastedImage_8.png

pastedImage_9.png

Please suggest any other set which will resolve my issue ASAP

2 Replies
daphnissov
Immortal
Immortal

You're welcome to take a sledgehammer to it and just powercycle the entire host.

amsingh
Contributor
Contributor

Thanks

0 Kudos