[libvirt-users] error: authentication failed: Authorization requires authentication but no agent is available

Yih Chuang yih.chuang at gmail.com
Thu Oct 4 23:43:43 UTC 2012


I ran into this error.  Any way to fix it?

[vmcuser at rhel60h207kvm .ssh]$ virsh -c qemu+ssh://
vmcuser at 9.10.110.241/system list --all
error: authentication failed: Authorization requires authentication but no
agent is available.

error: failed to connect to the hypervisor


Here is my settings different from default:
[root at rhel60e201c libvirt]# diff libvirtd.conf libvirtd.conf.old
81c81
< unix_sock_group = "vmcuser"
---
> #unix_sock_group = "libvirt"
88c88
< unix_sock_ro_perms = "0777"
---
> #unix_sock_ro_perms = "0777"
98c98
< unix_sock_rw_perms = "0770"
---
> #unix_sock_rw_perms = "0770"
129c129
< auth_unix_ro = "none"
---
> #auth_unix_ro = "none"

[root at rhel60e201c libvirt]# diff qemu.conf  qemu.conf.old
151c151
< user = "vmcuser"
---
> #user = "root"
154c154
< group = "vmcuser"
---
> #group = "root"

Thanks.

--Yih
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20121004/a51f16b8/attachment.htm>


More information about the libvirt-users mailing list