On Tue, Jun 10, 2014 at 03:15:37PM +0530, usha basavaraju wrote:
Restarted libvirt to listen at tcp $ sudo /etc/init.d/libvirt-bin stop [sudo] password for fluent: Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service libvirt-bin stop Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the stop(8) utility, e.g. stop libvirt-bin libvirt-bin stop/waiting $ sudo libvirtd -d --listen Now am getting this error : libvirt: XML-RPC error : authentication failed: Failed to start SASL negotiation: -4 (SASL(-4): no mechanism available: No worthy mechs found) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/fluent/cvt/convirt-enterprise/tg2env/local/lib/python2.7/site-packages/libvirt.py", line 239, in open if ret is None:raise libvirtError('virConnectOpen() failed') libvirt.libvirtError: authentication failed: Failed to start SASL negotiation: -4 (SASL(-4): no mechanism available: No worthy mechs found)
Because you have authentication set up and you're not calling OpenAuth() you have to change one of those. Martin
On Tue, Jun 10, 2014 at 2:32 PM, usha basavaraju <usha.basavaraju@xxxxxxxxx> wrote:tcp connection working only for remote host . for localhost raising the following error >>> con=libvirt.open("qemu+tcp:///system") libvirt: XML-RPC error : unable to connect to server at 'localhost:16509': Connection refused Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/fluent/cvt/convirt-enterprise/tg2env/local/lib/python2.7/site-packages/libvirt.py", line 239, in open if ret is None:raise libvirtError('virConnectOpen() failed') libvirt.libvirtError: unable to connect to server at 'localhost:16509': Connection refused >>> Is there any other params to be set for local host connection..? please help
_______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users
Attachment:
signature.asc
Description: Digital signature
_______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users