[libvirt] fail to run virsh

Daniel P. Berrange berrange at redhat.com
Fri Aug 15 07:21:38 UTC 2008


On Thu, Aug 14, 2008 at 05:27:14PM +0900, Jun Koi wrote:
> Hi,
> 
> I installed libvirt (cvs version), and can confirm that libvirtd is
> running. However, virsh failed to work. I got the below message when
> running virsh with debugging information.


> # LIBVIRT_DEBUG=1 virsh
> DEBUG: libvirt.c: virInitialize (register drivers)

...

> DEBUG: libvirt.c: do_open (trying driver 5 (remote) ...)
> DEBUG: remote_internal.c: doRemoteOpen (proceeding with name = qemu:///system)
> libvir: Remote error : No such file or directory

This suggests that its not able to connect to the daemon. Are you using the
version of virsh that matches the libvirtd daemon you compiled ? If you
have a pre-built virsh from your distro installed, and then do a CVS build
with a different '--prefix' to configure that could explain this.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list