<div dir="ltr">Restarted libvirt to listen at tcp<br>$ sudo /etc/init.d/libvirt-bin stop<br>[sudo] password for fluent: <br>Rather than invoking init scripts through /etc/init.d, use the service(8)<br>utility, e.g. service libvirt-bin stop<br>
<br>Since the script you are attempting to invoke has been converted to an<br>Upstart job, you may also use the stop(8) utility, e.g. stop libvirt-bin<br>libvirt-bin stop/waiting<br>$ sudo libvirtd -d --listen<br><br><br>
<br>Now am getting this error :<br><br>libvirt: XML-RPC error : authentication failed: Failed to start SASL negotiation: -4 (SASL(-4): no mechanism available: No worthy mechs found)<br>Traceback (most recent call last):<br>
  File "<stdin>", line 1, in <module><br>  File "/home/fluent/cvt/convirt-enterprise/tg2env/local/lib/python2.7/site-packages/libvirt.py", line 239, in open<br>    if ret is None:raise libvirtError('virConnectOpen() failed')<br>
libvirt.libvirtError: authentication failed: Failed to start SASL negotiation: -4 (SASL(-4): no mechanism available: No worthy mechs found)<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 10, 2014 at 2:32 PM, usha basavaraju <span dir="ltr"><<a href="mailto:usha.basavaraju@gmail.com" target="_blank">usha.basavaraju@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">tcp connection working only for remote host . for localhost raising the following error<br><div><br>>>> con=libvirt.open("qemu+tcp:///system")<br>
libvirt: XML-RPC error : unable to connect to server at 'localhost:16509': Connection refused<br>
Traceback (most recent call last):<br>  File "<stdin>", line 1, in <module><br>  File "/home/fluent/cvt/convirt-enterprise/tg2env/local/lib/python2.7/site-packages/libvirt.py", line 239, in open<br>

    if ret is None:raise libvirtError('virConnectOpen() failed')<br>libvirt.libvirtError: unable to connect to server at 'localhost:16509': Connection refused<br>>>><br></div><div>Is there any other params to be set for local host connection..? please help<br>

</div></div>
</blockquote></div><br></div>