[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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

[vmcuser rhel60h207kvm .ssh]$ virsh -c qemu+ssh://vmcuser 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 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 rhel60e201c libvirt]# diff qemu.conf  qemu.conf.old
151c151
< user = "vmcuser"
---
> #user = "root"
154c154
< group = "vmcuser"
---
> #group = "root"

Thanks.

--Yih

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]