libvirt的问题

启动openstack计算节点的nova-compute时,报如下错误:

error: Failed to connect socket to '/usr/local/var/run/libvirt/libvirt-sock': No such file or directory

 这是需要启动libvirtd守护线程,执行启动命令:

[paole@liangbo]#  libvirtd --daemon

 如果启动时遇到如下故障:

libvirtd: error: Unable to obtain pidfile. Check /var/log/messages or run without --daemon for more info

 

这是因为,它的启动记录文件还存在,需要先删除:

 

[paole@liangbo]# rm /var/run/libvirtd.pid 

 

你可能感兴趣的:(lib)