[libvirt-users] error libvirt
angelo alfano
angeloalfa76 at yahoo.it
Tue May 11 08:37:24 UTC 2010
I have a problem con libvirt, if running this python code:
import libvirt
conn = libvirt.open("vbox:///session")
return this error:
libvir: QEMU error : server closed connection
libvir: warning : Failed to find the interface: Is the daemon running ?
libvir: Remote error : unable to connect to '/var/run/libvirt/libvirt-sock': Connection refused
libvir: warning : Failed to find a node driver: Is the libvirtd daemon running ?
libvir: Remote error : unable to connect to '/var/run/libvirt/libvirt-sock': Connection refused
libvir: warning : Failed to find a secret storage driver: Is the daemon running ?
If I running the python code in sudo mode, I don't have error.
I have before add the my user at the group "libvirtd" with:
sudo adduser user libvirtd
Angelo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20100511/5310b09b/attachment.htm>
More information about the libvirt-users
mailing list