<div dir="ltr">Another strange thing. I tried, in order to solve this, to put my hostname as listening address.<div>I started with the ip, 192.168.2.2, and it works.</div><div>I then decided to use the domain name, pasquale-Dell, but the socket is not created.</div>
<div>Looking into logs it seems it tries to resolve the name, without success. After a lot of tries it just decides to give up. However, in file /etc/hosts the resolution is correctly set and I can just think that libvirt starts before the name discovery system is actually up.</div>
<div><br></div><div>The fact the daemon is not started at all confirms this.</div><div><br></div><div>But now here's the moment I begin to HATE libvirt. </div><div>You would expect that executing service libvirt-bin start (or restart) would solve this, right?</div>
<div>Well, if I do that the deamon correctly starts...but libvirt hangs!!</div><div>Every connect I try with virsh, let it be local or remote, just hangs indefinitely.</div><div><br></div><div>The is no *censored* way to restart the libvirt daemon: it just leads to hang. </div>
<div>The only *censored* way to restart it is to restart the whole system and pray libvirt starts after the name resolution.</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-07 10:26 GMT+01:00 Pasquale Dir <span dir="ltr"><<a href="mailto:phate867@gmail.com" target="_blank">phate867@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">netstat -lptu<div>gives me</div><div><div>tcp6       0      0 [::]:16514              [::]:*                  LISTEN      1314/libvirtd   </div>
</div><div><br></div><div>so the server is correctly listening on interfaces.</div>
<div><br></div><div>My /etc/libvirt/libvirtd settings are defaulted.</div><div>My /etc/default/libvirt-bin has "-d -l" options so server is listening. </div><div><br></div><div>If I do virsh -c qemu://<a href="http://143.225.229.190/system" target="_blank">143.225.229.190/system</a> (that is my ip or an ip belonging to my network) I get "connection refused".</div>

<div><br></div><div>How come?</div><div>And note that if I put my address, 143.225.229.190, as listening address in the libvirtd conf file, I get "this address class is not supported".</div><div><br></div><div>
<br>
</div></div>
</blockquote></div><br></div>