i am using libvirt-1.1.4 with xen(libxl). When destroying the VM its showing the following error :
virsh # destroy 4
error: Failed to destroy domain 4
error: End of file while reading data: Input/output error
error: One or more references were leaked after disconnect from the hypervisor
error: Failed to reconnect to the hypervisor
virsh # list
error: failed to connect to the hypervisor
error: no valid connection
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Connection refused
already i send one request to this community to solve this problem. they suggested to do gdb.
Any guide to do the gdb libvirtd. By googling i did the following things:
1. i enable the logoutput and loglevel in libvirtd.conf
2. restarted the libvirtd with the changed configuration file.
3. ps -aux | grep libvirtd
4. gdb libvirtd pid
5. then what i have to do to find the reason for this error.
Suggest me some steps to solve this problem.