libvirt-bin: can not connect to openvz hypervisor

Charlie Kravetz cjk at
Fri Jan 23 15:20:07 UTC 2009

On Wed, 21 Jan 2009 14:54:40 +0100
Fabrice Douchant <fabrice.douchant at> wrote:

> Package: libvirt-bin
> Version: 0.4.0-2ubuntu8.1
> Severity: important
> I can create an openvz VM using vzctl. 
> I can create and manage a KVM/Qemu VM using virsh and virt-install.
> But I cannot create, manage openvz VM using eather virsh or
> virt-install. I get the error:
> # virsh connect openvz:///system
> Connecting to uri: qemu:///system
> libvir: error : could not connect to openvz:///system
> error: Failed to connect to the hypervisor
> Since I have no clue how to deal directly with libvirt and because 2
> tools using libvirt get the same connection error, I suppose the
> problem comes from libvirt. (I also googled the error but didn't find
> anything)
> Thank you,
> F.D
> -- System Information:
> Debian Release: lenny/sid
>   APT prefers hardy-updates
>   APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500,
> 'hardy') Architecture: i386 (i686)
> Kernel: Linux 2.6.24-23-openvz (SMP w/2 CPU cores)
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Versions of packages libvirt-bin depends on:
> ii  bridge-utils     1.2-2                   Utilities for
> configuring the Linu ii  dnsmasq-base     2.41-2ubuntu2.1         A
> small caching DNS proxy and DHCP ii  iptables
> administration tools for packet fi ii
> libavahi-client3 0.6.22-2ubuntu4.1       Avahi client library ii
> libavahi-common3 0.6.22-2ubuntu4.1       Avahi common library ii
> libc6            2.7-10ubuntu4           GNU C Library: Shared
> libraries ii  libdbus-1-3      1.1.20-1ubuntu3.2       simple
> interprocess messaging syst ii  libgnutls13
> 2.0.4-1ubuntu2.3        the GNU TLS library - runtime libr ii
> libpolkit-dbus2  0.7-2ubuntu7            library for accessing
> PolicyKit vi ii  libpolkit2       0.7-2ubuntu7            library for
> accessing PolicyKit ii  libreadline5     5.2-3build1             GNU
> readline and history libraries ii  libsasl2-2
> 2.1.22.dfsg1-18ubuntu2  Cyrus SASL - authentication abstra ii
> libvirt0         0.4.0-2ubuntu8.1        library for interfacing with
> diffe ii  libxen3          3.2.0-0ubuntu10         library interface
> for Xen, a Virtu ii  libxml2          2.6.31.dfsg-2ubuntu1.3  GNOME
> XML library ii  netcat-openbsd   1.89-2ubuntu1           TCP/IP swiss
> army knife
> libvirt-bin recommends no packages.
> -- no debconf information

Can you file this on launchpad? I know the system sent it to the users
mailing list, but it never gets worked if it stays here. 

The right place to file bug reports is:

That will give the developers a chance to see if they can fix it.


Charlie Kravetz 
Linux Registered User Number 425914          []
Never let anyone steal your DREAM.           []

More information about the ubuntu-users mailing list