码迷,mamicode.com
首页 > 其他好文 > 详细

Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or director

时间:2016-07-04 12:02:26      阅读:114      评论:0      收藏:0      [点我收藏+]

标签:failed to connect socket to '/var/run/libvirt/libvirt-sock': no such file or director

error: Failed to reconnect to the hypervisor
error: no valid connection
error: Failed to connect socket to ‘/var/run/libvirt/libvirt-sock‘: No such file or directory

Further investigation found avahi was needed for this to work. The final fix was running



yum -y install avahi
/etc/init.d/messagebus restart
/etc/init.d/avahi-daemon restart
/etc/init.d/libvirtd restart
/sbin/chkconfig messagebus on
/sbin/chkconfig avahi-daemon on

本文出自 “尼古风锁丝愁过” 博客,请务必保留此出处http://smoke520.blog.51cto.com/9256117/1795527

Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or director

标签:failed to connect socket to '/var/run/libvirt/libvirt-sock': no such file or director

原文地址:http://smoke520.blog.51cto.com/9256117/1795527

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!