Hello<br>I've got this error.  <br><b>chubut@chubut:/usr/local$ virsh -c qemu:///system list<br>error: unable to connect to '/usr/local/var/run/libvirt/libvirt-sock', libvirtd may need to be started: No such file or directory<br>
error: failed to connect to the hypervisor</b><br><br>The daemon is not running, but i don't know how to start it.<br>Thank you.<br><br><div class="gmail_quote">2011/1/20 Justin Clift <span dir="ltr"><<a href="mailto:jclift@redhat.com">jclift@redhat.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On 20/01/2011, at 9:26 PM, Marcela Castro León wrote:<br>
Hello<br>
><br>
> I've finished the installation. The daemon is not up, so I've tried in that way:<br>
><br>
> chubut@chubut:/usr/local/sbin$ sudo ./libvirtd start start<br>
> 11:23:17.543: 6168: warning : networkAddGeneralIptablesRules:1097 : Could not add rule to fixup DHCP response checksums on network 'default'.<br>
> 11:23:17.543: 6168: warning : networkAddGeneralIptablesRules:1098 : May need to update iptables package & kernel to support CHECKSUM rule.<br>
> 11:23:17.577: 6168: warning : qemudStartup:1331 : Unable to create cgroup for driver: No such device or address<br>
> 11:23:17.704: 6168: warning : lxcStartup:2128 : Unable to create cgroup for driver: No such device or address<br>
><br>
> And stay there, doesn't finish, and not start.<br>
><br>
> Can you tell me if i'm doing in the right way?<br>
<br>
</div>Hi Marcela,<br>
<br>
When you start the libvirt daemon from the command line, it keeps in the foreground, without going back to a shell prompt.<br>
<br>
ie:<br>
<br>
  $ sudo./libvirtd<br>
  (various messages print out here, but libvirtd doesn't exit)<br>
<br>
Since the libvirt daemon has effectively taken over that terminal session, if I start another terminal session, I can generally use virsh to connect to it.<br>
<br>
Have you tried that?  Starting a new terminal session while libvirtd is running, and then using virsh or virt-manager or something.<br>
<br>
?<br>
<br>
Regards and best wishes,<br>
<font color="#888888"><br>
Justin Clift<br>
<br>
</font></blockquote></div><br>