Good evening,
<div><br></div><div>could anybody explain me this, please?</div><div><br></div><div><div><div>divinus:~ # virsh </div><div>error: cannot recv data: : Connection reset by peer</div><div>error: failed to connect to the hypervisor</div>
<div>divinus:~ #</div></div></div><div><br></div><div>I am trying to imlement Chris's ruby-libvirt to my Ruby on Rails application. First few connection to libvirt daemon (thru ruby-libvirt API) from my app are ok, but then somethings happend and it's not possible to connect anymore until I restart libvirt daemon manually by init.d script or until I restart apache (or WEBrick). And it's not possible connect to virsh from shell also! See messages above.</div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div>When I try ruby-libvirt from bare Ruby script, everythig is fine - doesn't matter how many times I connect. It's strange.</div>
<div><br></div><div>Does anybody have experience with ruby-libvirt in RoR application?</div><div><br></div><div>Thank you.</div><div><br></div><div>Jaromir.</div>