何鑫
2012-Aug-09 08:25 UTC
[libvirt-users] libvirtd may need to be started: Permission denied
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 deniederror: 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! RegardsCorey -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120809/8148b9ab/attachment.htm>
Gao Yongwei
2012-Aug-10 09:36 UTC
[libvirt-users] libvirtd may need to be started: Permission denied
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.
Apparently Analagous Threads
- error : virPidFileAcquirePath:345 : Failed to acquire pid file '/home/corey/.libvirt/libvirtd.pid': Resource temporarily unavailable
- Failed to bind socket to '/var/run/libvirt/libvirt-sock': Permission denied
- How to connect to local hpyervisor by libvirt?
- How the libvirtd connect to qemud in source codes?
- Failed to connect socket to '/usr/local/libvirt/var/run/libvirt/libvirt-sock':