lost and found ( for me ? )

KVM virsh console error: operation failed: Active console session exists for this domain

When you can not connect to VMs over “virsh conlose” as below, restart libvirt-bin.
# virsh console 8
Connected to domain centos6-vm1-appportal
Escape character is ^]
error: operation failed: Active console session exists for this domain

After restarting libvirt-bin, you will be able to access to the VM.
# /etc/init.d/libvirt-bin restart
* Restarting libvirt management daemon /usr/sbin/libvirtd               [ OK ]

# virsh console 8
Connected to domain centos6-vm1
Escape character is ^]

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.