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

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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的主要内容,如果未能解决你的问题,请参考以下文章

socket() failed (13: Permission denied) while connecting to upstream

LSF - 提交GUI应用到LSF无法运行,报错Failed to connect to socket /tmp/dbus-xxxxxxxxx: Connection refused

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 directory错误处理(示

LR回放https协议脚本失败:[GENERAL_MSG_CAT_SSL_ERROR]connect to host "XXX" failed:[10054] Connection

psql: error: connection to server on socket “/tmp/.s.PGSQL.5432“ failed: No such file or directory