[libvirt-users] libvirtd may need to be started: Permission denied

Gao Yongwei itxx00 at gmail.com
Fri Aug 10 09:36:28 UTC 2012


2012/8/9 何鑫 <wherethriving at hotmail.com>:
> Hi,
>     I try to configure libvirtd to use qemu+tcp, but after doing so, I can't
> use virsh or programs with libvirt API.
>
> I type "virsh -c qemu:///system", then
> error: unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may
> need to be started: Permission denied
> error: failed to connect to the hypervisor
>
> I could add "sudo" to "virsh -c qemu:///system", running virsh with
> "qemu:///system" normally, but it's not suitable for my requests.
>
> Also I try to restart or reinstall libvirt-bin in Ubuntu, also failed.
>
> Could you give me some idea?
>
> Thanks a lot!
>
> Regards
> Corey
>
use may try to use qemu+tcp://ip/system   as uri.




More information about the libvirt-users mailing list