[Openstack] Failed to connect socket to '/var/run/libvirt/libvirt-sock'

Ashok Kumaran ashokkumaran.b at gmail.com
Sat May 11 04:56:24 UTC 2013


Looks like there could be some configuration issues in libvirtd.conf.
Can you ensure that you have below values set
 listen_tls=0
listen_tcp=1

Try restarting libvirt-bin let us know the outcome

-Ashok

Sent from my iPhone

On 11-May-2013, at 1:29 AM, Dhanasekaran Anbalagan <bugcy013 at gmail.com>
wrote:

Hi Guys,

I trying to grizzly version on ubuntu 12.04 it's says Failed to connect
socket to '/var/run/libvirt/libvirt-sock'

Please check my console log
root at computenode:~# kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used
root at computenode:~# virsh net-destroy default
error: failed to connect to the hypervisor
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such
file or directory
root at computenode:~# virsh net-undefine default
error: failed to connect to the hypervisor
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such
file or directory
root at computenode:~# deb
http://ubuntu-cloud.archive.canonical.com/ubuntuprecise-updates/grizzly
main^C
root at computenode:~# virsh --version
1.0.2
root at computenode:~# virsh net-destroy default
error: failed to connect to the hypervisor
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such
file or directory
root at computenode:~# virsh net-undefine default
error: failed to connect to the hypervisor
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such
file or directory
root at computenode:~# service libvirt-bin restart
stop: Unknown instance:
libvirt-bin start/running, process 8606
root at computenode:~# tail -f /var/log/libvirt/
libvirtd.log  lxc/          qemu/         uml/
root at computenode:~# tail -f /var/log/libvirt/libvirtd.log
2013-05-10 19:54:23.264+0000: 8702: info : libvirt version: 1.0.2
2013-05-10 19:54:23.264+0000: 8702: error :
virNetTLSContextCheckCertFile:111 : Cannot read CA certificate
'/etc/pki/CA/cacert.pem': No such file or directory
2013-05-10 19:54:23.302+0000: 8718: info : libvirt version: 1.0.2
2013-05-10 19:54:23.302+0000: 8718: error :
virNetTLSContextCheckCertFile:111 : Cannot read CA certificate
'/etc/pki/CA/cacert.pem': No such file or directory
2013-05-10 19:54:23.337+0000: 8734: info : libvirt version: 1.0.2
2013-05-10 19:54:23.337+0000: 8734: error :
virNetTLSContextCheckCertFile:111 : Cannot read CA certificate
'/etc/pki/CA/cacert.pem': No such file or directory
2013-05-10 19:54:23.374+0000: 8750: info : libvirt version: 1.0.2
2013-05-10 19:54:23.374+0000: 8750: error :
virNetTLSContextCheckCertFile:111 : Cannot read CA certificate
'/etc/pki/CA/cacert.pem': No such file or directory
2013-05-10 19:54:23.409+0000: 8766: info : libvirt version: 1.0.2
2013-05-10 19:54:23.409+0000: 8766: error :
virNetTLSContextCheckCertFile:111 : Cannot read CA certificate
'/etc/pki/CA/cacert.pem': No such file or directory
root at computenode:~# libvirtd --version
libvirtd (libvirt) 1.0.2


Guys how to fix this. Please guide me.

-Dhanasekaran


Did I learn something today? If not, I wasted it.

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130511/36ec1f1b/attachment.html>


More information about the Openstack mailing list