[fedora-virt] F17 no libvirtd daemon in path

Cole Robinson crobinso at redhat.com
Sun Feb 12 20:22:33 UTC 2012


On 02/11/2012 10:12 AM, Frank Murphy wrote:
> Upgraded my host system this morning. to F17.Xfce
> 
> In Virt-Manager:
> --------------------------------------------------------------
> Unable to connect to libvirt:
> 
> Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such
> file or directory
> 
> Verify that:
>  - The 'libvirtd' daemon has been started
> 
> Libvirt URI is: qemu:///system
> 
> Traceback (most recent call last):
>   File "/usr/share/virt-manager/virtManager/connection.py", line 1185,
> in _open_thread
>     self.vmm = self._try_open()
>   File "/usr/share/virt-manager/virtManager/connection.py", line 1167,
> in _try_open
>     flags)
>   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 102, in openAuth
>     if ret is None:raise libvirtError('virConnectOpenAuth() failed')
> libvirtError: Failed to connect socket to
> '/var/run/libvirt/libvirt-sock': No such file or directory
> ------------------------------------------------------------------------
> 
>  virsh start --console 01-32-Bit-Old
> 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
> 

That error means libvirtd isn't running. The file isn't installed by an RPM,
it is created when libvirtd is started.

> 
> systemctl:
> # systemctl status libvirtd.service
> libvirtd.service
> 	  Loaded: error (Reason: No such file or directory)
> 	  Active: inactive (dead)
> 
> Feb 11 13:57:45 testvm libvirtd[788]: Could not find keytab file:
> /etc/libvirt/krb5.tab: No such file or directory
> Feb 11 13:57:45 testvm libvirtd[788]: server add_plugin entry_point
> error generic failure
> Feb 11 13:57:45 testvm libvirtd[788]: _sasl_plugin_load failed on
> sasl_server_plug_init for plugin: gssapiv2
> Feb 11 13:57:45 testvm libvirtd[788]: 2012-02-11 13:57:45.411+0000:
> 788: info : libvirt version: 0.9.10, package: 0rc2.fc18
> (Fedora...ect.org)
> Feb 11 13:57:45 testvm libvirtd[788]: 2012-02-11 13:57:45.411+0000:
> 788: error : virNetServerMDNSStart:460 : internal error Failed ...
> running
> 

Hmm, does installing avahi daemon or starting that service make any difference?

- Cole


More information about the virt mailing list