解決 libvirtd 錯誤

錯誤訊息

root@autotest0019:/etc/ld.so.conf.d# /usr/local/sbin/libvirtd -d -l

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

root@autotest0019:/etc/ld.so.conf.d# /usr/local/sbin/libvirtd -l

2014-07-29 11:27:37.644+0000: 31256: info : libvirt version: 1.2.5

2014-07-29 11:27:37.644+0000: 31256: error : virPidFileAcquirePath:414 : Failed to acquire pid file '/usr/local/var/run/libvirtd.pid': Resource temporarily unavailable

解決方式,編輯下方檔案,不修改,然后直接退出即可

/usr/local/var/run/libvirtd.pid

 

 

Posted in KVM