Publish: 2022-03-24 | Modify: 2022-03-24
Recently I encountered a VM that froze, and the server couldn't be accessed. Even trying to enter through PVE VNC didn't work. I attempted to shut down and restart the VM through PVE, but it didn't respond and the following error occurred:
TASK ERROR: VM quit/powerdown failed - got timeout
I used the ps
command to find the process of the corresponding VM:
# Replace 101 with the VM ID of your own virtual machine
ps -ef|grep "/usr/bin/kvm -id 101"|grep -v grep
Here, xiaoz found the process ID 20582
.
I killed this process:
kill 20582
Returning to the PVE interface, I could see that the virtual machine 101
had stopped.
You can either restart this virtual machine through the PVE interface or using the following command:
# Replace 101 with your own VM ID
qm start 101
Finally, the problem was resolved, but the root cause still remains unknown.
I come from China and I am a freelancer. I specialize in Linux operations, PHP, Golang, and front-end development. I have developed open-source projects such as Zdir, ImgURL, CCAA, and OneNav.