[Pkg-libvirt-maintainers] Bug#747160: Bug#747160: libvirtError:	Failed to connect socket to '/var/run/libvirt/libvirt-sock':	Permission denied
    Guido Günther 
    agx at sigxcpu.org
       
    Tue May  6 07:08:16 UTC 2014
    
    
  
On Tue, May 06, 2014 at 09:56:34AM +0530, war.dhan wrote:
> Package: libvirt0
> Version: 1.2.4~rc2-1
> Severity: normal
> 
> Dear Maintainer,
> 
>    * What led up to the situation?
> trying to use with xen with virt-manager.
> 
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> launch gui virt-manager.
> 
>    * What was the outcome of this action?
> it shows the following message :
> 
> Unable to connect to libvirt.
> 
> Failed to connect socket to '/var/run/libvirt/libvirt-sock': Permission denied
> 
> Verify that:
>  - A Xen host kernel was booted
>  - The Xen service has been started
> 
> Libvirt URI is: xen:///
> 
> Traceback (most recent call last):
>   File "/usr/share/virt-manager/virtManager/connection.py", line 1027, in
> _open_thread
>     self.vmm = self._try_open()
>   File "/usr/share/virt-manager/virtManager/connection.py", line 1009, in
> _try_open
>     flags)
>   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 105, in openAuth
>     if ret is None:raise libvirtError('virConnectOpenAuth() failed')
> libvirtError: Failed to connect socket to '/var/run/libvirt/libvirt-sock':
> Permission denied
This means that the user trying to access libvirt's socket can't do
so. Check if:
* virsh works
* /usr/share/doc/libvirt-bin/README.Debian about permissions
Cheers,
 -- Guido
    
    
More information about the Pkg-libvirt-maintainers
mailing list