[Pkg-libvirt-maintainers] Bug#557744: libvirt-bin: Starting domain fails with "qemudOpenMonitorUnix: monitor socket did not show up.: Connection refused"

Vadim Zeitlin vz-debian at zeitlins.org
Sun Nov 22 13:24:36 UTC 2009


Package: libvirt-bin
Version: 0.7.2-3
Severity: important


Running "virsh -c qemu:///system create vm.xml" fails with

	error: Failed to create domain from vm.xml
	error: monitor socket did not show up.: Connection refused

and

	kernel: [ 2863.481686] device vnet0 entered promiscuous mode
	kernel: [ 2863.483550] virbr0: topology change detected, propagating
	kernel: [ 2863.483555] virbr0: port 1(vnet0) entering forwarding state
	kernel: [ 2863.599974] virbr0: port 1(vnet0) entering disabled state
	kernel: [ 2863.630507] device vnet0 left promiscuous mode
	kernel: [ 2863.630513] virbr0: port 1(vnet0) entering disabled state
	libvirtd: 14:08:22.683: error : qemudOpenMonitorUnix:1007 : monitor socket did not show up.: Connection refused

in syslog. The symptoms are identical when running this command as a normal
user (member of libvirt group) or root.

Unfortunately I was unable to find out which socket it wants to connect to,
all I can say is that it is _not_ /var/run/libvirt/libvirt-sock as it does
connect to it successfully.

Looking at qemudOpenMonitorUnix() in libvirt Git it seems like the error is
indeed given from there but, mysteriously, I don't see these socket() and
connect() calls neither with strace nor gdb so I just don't understand
what's going on here at all. Any pointers in the right direction would be
appreciated.

Thanks in advance!

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (50, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages libvirt-bin depends on:
ii  adduser           3.111                  add and remove users and groups
ii  libavahi-client3  0.6.25-1               Avahi client library
ii  libavahi-common3  0.6.25-1               Avahi common library
ii  libc6             2.10.1-7               GNU C Library: Shared libraries
ii  libdbus-1-3       1.2.16-2               simple interprocess messaging syst
ii  libdevmapper1.02. 2:1.02.39-1            The Linux Kernel Device Mapper use
ii  libgnutls26       2.8.4-2                the GNU TLS library - runtime libr
ii  libhal1           0.5.13-4               Hardware Abstraction Layer - share
ii  libparted1.8-12   1.8.8.git.2009.07.19-5 The GNU Parted disk partitioning s
ii  libreadline6      6.0-5                  GNU readline and history libraries
ii  libsasl2-2        2.1.23.dfsg1-2         Cyrus SASL - authentication abstra
ii  libselinux1       2.0.88-1               SELinux runtime shared libraries
ii  libuuid1          2.16.1-4               Universally Unique ID library
ii  libvirt0          0.7.2-3                library for interfacing with diffe
ii  libxenstore3.0    3.4.0-2                Xenstore communications library fo
ii  libxml2           2.7.6.dfsg-1           GNOME XML library
ii  logrotate         3.7.8-4                Log rotation utility

Versions of packages libvirt-bin recommends:
ii  bridge-utils                  1.4-5      Utilities for configuring the Linu
ii  dnsmasq-base                  2.51-1     A small caching DNS proxy and DHCP
ii  iptables                      1.4.4-2    administration tools for packet fi
ii  netcat-openbsd                1.89-3     TCP/IP swiss army knife
ii  qemu                          0.10.6-1   fast processor emulator

Versions of packages libvirt-bin suggests:
ii  policykit-1                   0.94-4     framework for managing administrat

-- no debconf information





More information about the Pkg-libvirt-maintainers mailing list