Sometimes a VM on XenServer gets stuck. Trying to reboot it from XenCenter results in the error message “Another operation involving the object is currently in progress“. There are some steps that can be taken to reboot the VM from the command line on the XenServer host itself.

We start with the UUID of the stuck VM, replacing the text NameOfYourVM with the actual name of your VM:

xe vm-list | grep -B 1 NameOfYourVM

Copy the UUID, and paste it in the following command:

list_domains | grep UUIDOfYourVM

This will result in the domain identifier of your VM, which we use in the following command:

/opt/xensource/debug/destroy_domain -domid DomainIdOfYourVM

The final step involves rebooting the VM in a forceful way:

xe vm-reboot uuid=UUIDOfYourVM --force
Rebooting a stuck VM on XenServer
Tagged on:

One thought on “Rebooting a stuck VM on XenServer

  • 2015-11-24 at 16:19

    Hi, I need help in

    1- stuck xen vm which has websites mysql Database and is in halt state.
    Can you please respond to boot the VM to normal state:

    I followed the above commands and I get message: error: “domid” argument is not valid

    Before this I tried to Shutdown/reboot etc. using xencenter interface and I get message :
    message: xenopsd internal error: Xb.Noent

    Because of this our whole system is down.

    2- Can you please also comment how can I access the files/directories of stuck VM?

    Thank you,


Leave a Reply

Your email address will not be published. Required fields are marked *