[libvirt] virsh --connect not working

Daniel P. Berrange berrange at redhat.com
Fri Sep 28 08:11:58 UTC 2012


On Thu, Sep 27, 2012 at 11:15:56PM -0700, hiren panchasara wrote:
> I've installed libvirt-0.9.13 from ports on my freebsd machine.
> 
> I started libvirtd:
> 
> $ ps awwux | grep libvirtd
> root       11470   0.0  0.4  103100  31948  -  I    10:41PM   0:00.35
> libvirtd -v -d
> 
> $ sudo virsh --connect qemu:///system
> error: no connection driver available for No connection for URI
> qemu:///system
> error: failed to connect to the hypervisor
> 
> I am sure I am missing something obvious.


Try collecting some debugging output using

  LIBVIRT_DEBUG=1 sudo virsh --connect qemu:///system

It should give a better idea why it failed.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list