First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 123862
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Chris Bainbridge (RETIRED) <chrb@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: R. May <Tinitus1@onlinehome.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 123862 depends on: Show dependency tree
Show dependency graph
Bug 123862 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-02-23 14:32 0000
Hello,

I build a own Kernel as xen0 It starts fine but I always get a

etc/init.d/xend status
 * status:  started
localhost ~ # /etc/init.d/xend restart
Error: Error connecting to xend: No such file or directory.  Is xend running?
 * Stopping Xen control daemon ...                                             
                                      [ ok ]
 * Starting Xen control daemon ...

Regards Roland

------- Comment #1 From Jakub Moc 2006-02-23 15:09:10 0000 -------
emerge --info missing

------- Comment #2 From R. May 2006-02-23 23:12:27 0000 -------
emerge --info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.16-rc3-xen i686)
=================================================================
System uname: 2.6.16-rc3-xen i686 Intel(R) Pentium(R) D CPU 3.00GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=nocona -pipe -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-Os -march=nocona -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/gentoo-de /usr/local/portage
/usr/local/gentoo-webapps-overlay/experimental
/usr/local/gentoo-webapps-overlay/production-ready"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups
curl doc dvd eds emboss encode expat fam foomaticdb fortran gd gdbm gif glut
gmp gpm gstreamer gtk2 idn imlib ipv6 java jpeg kde lcms libg++ libwww mad
mikmod mng motif mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pcre
pdflib perl png python qt quicktime readline sdl spell ssl tcltk tcpd tetex
tiff truetype truetype-fonts type1-fonts udev vorbis xinerama xml2 xmms xv zlib
linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS

------- Comment #3 From R. May 2006-02-23 23:49:50 0000 -------
I FORGOT Reopen

------- Comment #4 From R. May 2006-02-24 01:57:10 0000 -------
Hello,

we need two files
/var/lib/xenstored/td
/var/run/xenstored/socket

then it seems to work

------- Comment #5 From R. May 2006-02-24 02:31:17 0000 -------
Hello,

it doesn't work

/etc/init.d/xend restart
 * Shutting down /etc/xen/auto Xen domains
Error: Error connecting to xend: No such file or directory.  Is xend running?

which file we need?

R. R.

------- Comment #6 From R. May 2006-02-24 02:54:06 0000 -------
Please take a look here:
http://wiki.xensource.com/xenwiki/XenFaq#head-94c518e0f2f7767aa9433bb5b3630692d65e7f2b

Chapter 6.3

------- Comment #7 From R. May 2006-02-24 03:00:22 0000 -------
/usr/sbin/xfrd
-bash: /usr/sbin/xfrd: No such file or directory

------- Comment #8 From Chris Bainbridge (RETIRED) 2006-02-24 03:30:42 0000 -------
xen-3 doesn't have xfrd - the FAQ is old.

Are you sure you are running a xen0 kernel? Try checking /var/log/xend.log.

Also what version of xen are you running? If it's the xen-unstable snapshot,
and you believe this is a bug in xen itself (rather than the ebuilds), please
report  upstream at bugzilla.xensource.com

------- Comment #9 From R. May 2006-02-24 03:39:59 0000 -------
cat /usr/src/linux/.config | grep XEN
CONFIG_X86_XEN=y
# CONFIG_PCI_GOXEN_FE is not set
CONFIG_XEN_PCIDEV_FRONTEND=y
# CONFIG_XEN_PCIDEV_FE_DEBUG is not set
CONFIG_XEN=y
# XEN
CONFIG_XEN_PRIVILEGED_GUEST=y
# CONFIG_XEN_UNPRIVILEGED_GUEST is not set
CONFIG_XEN_PCIDEV_BACKEND=y
# CONFIG_XEN_PCIDEV_BACKEND_VPCI is not set
CONFIG_XEN_PCIDEV_BACKEND_PASS=y
# CONFIG_XEN_PCIDEV_BE_DEBUG is not set
CONFIG_XEN_BLKDEV_BACKEND=y
# CONFIG_XEN_BLKDEV_TAP_BE is not set
CONFIG_XEN_NETDEV_BACKEND=y
# CONFIG_XEN_NETDEV_PIPELINED_TRANSMITTER is not set
# CONFIG_XEN_TPMDEV_BACKEND is not set
# CONFIG_XEN_BLKDEV_FRONTEND is not set
# CONFIG_XEN_NETDEV_FRONTEND is not set
# CONFIG_XEN_BLKDEV_TAP is not set
# CONFIG_XEN_TPMDEV_FRONTEND is not set
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_XEN_DISABLE_SERIAL=y


I use xen 3.0.1 and/or the snapshot

------- Comment #10 From R. May 2006-02-24 03:41:05 0000 -------
here my log

[2006-02-24 13:33:05 xend] INFO (SrvDaemon:185) Xend stopped due to signal 15.
[2006-02-24 13:33:07 xend] INFO (SrvDaemon:278) Xend Daemon started
[2006-02-24 13:33:07 xend] INFO (SrvDaemon:282) Xend changeset: Tue Jan 31
11:04:12 2006 +0100 8738:eff96462fde8.
[2006-02-24 13:33:07 xend] ERROR (SrvDaemon:292) Exception starting xend ((111,
'Connection refused'))
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line
286, in run
    servers = SrvServer.create()
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvServer.py", line
106, in create
    root.putChild('xend', SrvRoot())
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvRoot.py", line 40,
in __init__
    self.get(name)
  File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 82, in get
    val = val.getobj()
  File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 52, in getobj
    self.obj = klassobj()
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line
39, in __init__
    self.xd = XendDomain.instance()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 550, in
instance
    inst.init()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 70, in
init
    xstransact.Mkdir(VMROOT)
  File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line
317, in Mkdir
    complete(path, lambda t: t.mkdir(*args))
  File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line
323, in complete
    t = xstransact(path)
  File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line
20, in __init__
    self.transaction = xshandle().transaction_start()
  File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsutil.py", line 18,
in xshandle
    xs_handle = xen.lowlevel.xs.xs()
RuntimeError: (111, 'Connection refused')
[2006-02-24 13:33:17 xend] INFO (SrvDaemon:185) Xend stopped due to signal 15.
[2006-02-24 13:33:18 xend] INFO (SrvDaemon:278) Xend Daemon started
[2006-02-24 13:33:18 xend] INFO (SrvDaemon:282) Xend changeset: Tue Jan 31
11:04:12 2006 +0100 8738:eff96462fde8.
[2006-02-24 13:33:18 xend] ERROR (SrvDaemon:292) Exception starting xend ((111,
'Connection refused'))
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line
286, in run
    servers = SrvServer.create()
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvServer.py", line
106, in create
    root.putChild('xend', SrvRoot())
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvRoot.py", line 40,
in __init__
    self.get(name)
  File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 82, in get
    val = val.getobj()
  File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 52, in getobj
    self.obj = klassobj()
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line
39, in __init__
    self.xd = XendDomain.instance()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 550, in
instance
    inst.init()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 70, in
init
    xstransact.Mkdir(VMROOT)
  File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line
317, in Mkdir
    complete(path, lambda t: t.mkdir(*args))
  File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line
323, in complete
    t = xstransact(path)
  File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line
20, in __init__
    self.transaction = xshandle().transaction_start()
  File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsutil.py", line 18,
in xshandle
    xs_handle = xen.lowlevel.xs.xs()
RuntimeError: (111, 'Connection refused')
[2006-02-24 13:36:35 xend] INFO (SrvDaemon:185) Xend stopped due to signal 15.
[2006-02-24 13:36:42 xend] INFO (SrvDaemon:278) Xend Daemon started
[2006-02-24 13:36:42 xend] INFO (SrvDaemon:282) Xend changeset: Tue Jan 31
11:04:12 2006 +0100 8738:eff96462fde8.
[2006-02-24 13:36:42 xend] ERROR (SrvDaemon:292) Exception starting xend ((111,
'Connection refused'))
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line
286, in run
    servers = SrvServer.create()
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvServer.py", line
106, in create
    root.putChild('xend', SrvRoot())
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvRoot.py", line 40,
in __init__
    self.get(name)
  File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 82, in get
    val = val.getobj()
  File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 52, in getobj
    self.obj = klassobj()
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line
39, in __init__
    self.xd = XendDomain.instance()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 550, in
instance
    inst.init()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 70, in
init
    xstransact.Mkdir(VMROOT)
  File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line
317, in Mkdir
    complete(path, lambda t: t.mkdir(*args))
  File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line
323, in complete
    t = xstransact(path)
  File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line
20, in __init__
    self.transaction = xshandle().transaction_start()
  File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsutil.py", line 18,
in xshandle
    xs_handle = xen.lowlevel.xs.xs()
RuntimeError: (111, 'Connection refused')
[2006-02-24 13:36:44 xend] INFO (SrvDaemon:185) Xend stopped due to signal 15.

------- Comment #11 From Chris Bainbridge (RETIRED) 2006-02-24 04:53:30 0000 -------
For some reason xend can't connect to the xen support in your kernel. Your
backtrace is identical to
http://lists.xensource.com/archives/html/xen-ia64-devel/2005-12/msg00074.html
where the resolution was CONFIG_XEN_PRIVILEGED_GUEST not being set in dom0. Are
you sure your booting the dom0 kernel and it's a priviledged guest? Can you try
the kernel config in arch/xen/configs/xen0_defconfig_x86_32, also check
/proc/xen and /sys/bus/xen/devices/

------- Comment #12 From R. May 2006-02-24 05:18:55 0000 -------
After a reboot it works.

Sometimes it crashes if I use a X Programm over SSH Tunnel.

Now I try a Virtual Machine. Must it be the some Kernel Version?

If I try a Image from the xen DEMO CD I get a Error like hotplug scripts are
not Proper working. Then crashed my network until I restart net.eth0.

We need also the xen-tools to create a VM on a Intel VT Machine

http://www.cs.utexas.edu/users/aliguori/vm-tools/vmx-howto.html

Regards Roland

------- Comment #13 From Chris Bainbridge (RETIRED) 2006-02-24 08:40:23 0000 -------
dom0 and domU kernel versions should match (same version of xen). The reason is
that the hypervisor API is not yet stable, and also the driver front/backends
exchange data structures which can change between versions.

I don't know about X under Xen; I'd guess x clients should work fine, but x
servers only run in dom0 and don't support some video cards (eg. ati closed
source drivers don't work). I remember there being some people working on
getting xorg running under domUs but I don't know the current status.

Regarding vm-tools, please submit an ebuild in a separate bug report.

------- Comment #14 From Micheal Marineau 2006-02-24 17:07:51 0000 -------
I saw xend fail like that when using a 2.6.16 devel snapshot from sometime
after rc3 (not the one in portage, I have not tried it).  xend started
correctly under 2.6.12 and 2.6.16 rc1 or rc2 (don't remember the exact point I
pulled an earlier snapshot).

I had to revert back to 2.6.12 to get something up and functional, but I'll be
playing with newer kernels in the near future again. I'll report anything
interesting I find.

------- Comment #15 From René Nussbaumer 2006-03-01 02:13:09 0000 -------
I'd the same issue. The problems seems to be, that the kernel (2.6.16) does not
longer support /proc/xen/xsd_mfn. They moved to /proc/xen/xsd_kva. Take a look
into
http://lists.xensource.com/archives/html/xen-changelog/2006-02/msg00070.html.
I'd to merge the unstable xen version, and it worked.

The connection refused problem I've got also, but it was a missing
/var/lib/xenstore, because it was empty as I removed the old xen Version and
upgrade to the new one (as the old version didn't work with 2.6.16). It gets
purged after the install when portage trys to 

------- Comment #16 From René Nussbaumer 2006-03-01 02:13:09 0000 -------
I'd the same issue. The problems seems to be, that the kernel (2.6.16) does not
longer support /proc/xen/xsd_mfn. They moved to /proc/xen/xsd_kva. Take a look
into
http://lists.xensource.com/archives/html/xen-changelog/2006-02/msg00070.html.
I'd to merge the unstable xen version, and it worked.

The connection refused problem I've got also, but it was a missing
/var/lib/xenstore, because it was empty as I removed the old xen Version and
upgrade to the new one (as the old version didn't work with 2.6.16). It gets
purged after the install when portage trys to «safely unmerge» old versions,
because it was empty.

------- Comment #17 From R. May 2006-03-04 13:55:49 0000 -------
Hello,

I tried the newest ebuilds from portage with newest kernel (installed also via
ebuild)...but I get the same Problem.xenstored needs a /var/run/xenstored
directory and there a socket file. After I create it ...it works. 

But the network will also not run.

Error Device 2049 (vbd) will not be connected. Hotplug scripts not working. The
hotplug script in /etc/xen/scripts is not make rwx. On some scripts there is no
x Flag set. Is this OK?

Then I found out to get Xen work with Intel VT libvncserver is missing also
sdl-devel.SDL on build 

Please help.

------- Comment #18 From Chris Bainbridge (RETIRED) 2006-03-05 03:04:19 0000 -------
/var/run/xenstored is created by the ebuild. I don't know why this doesn't seem
to be sufficient for some installs. 

There is a bug open for SDL support (along with some other USE flags) #124361 -
I haven't used it, so if anyone has it working and tested please attach a patch
for the ebuild to that bug.

udev should work okay, the rules are installed into /etc/udev/rules.d/. You can
debug by enabling udev logging and then checking syslog and making sure that
each xen event is matching one of the udev rules and starting the appropriate
handler action.

------- Comment #19 From René Nussbaumer 2006-03-05 07:52:15 0000 -------
(In reply to comment #17)
> /var/run/xenstored is created by the ebuild. I don't know why this doesn't seem
> to be sufficient for some installs. 

I only saw this if the previous installed xen doesn't put any file in
/var/run/xenstored so it gets purged by portage after a upgrade, because
portage trys to 

------- Comment #20 From René Nussbaumer 2006-03-05 07:52:15 0000 -------
(In reply to comment #17)
> /var/run/xenstored is created by the ebuild. I don't know why this doesn't seem
> to be sufficient for some installs. 

I only saw this if the previous installed xen doesn't put any file in
/var/run/xenstored so it gets purged by portage after a upgrade, because
portage trys to «safely» unmerge allready installed version. This directory
is at this point empty so portage removes it.

------- Comment #21 From Chris Bainbridge (RETIRED) 2006-03-05 09:02:51 0000 -------
I've added keepdir calls after the dodirs in the ebuild, that should stop the
ebuild created xen dirs from being removed if they are empty when xen is
upgraded.

------- Comment #22 From Martin Hierling 2006-03-06 12:10:14 0000 -------
i have similar problems since update from app-emulation/xen-8885 to any
app-emulation/xen-3.0.1-rX. Same error in xend.log. But some more information:

defiant ~ # xend start
defiant ~ # echo $?
1

Exit status is 1, so some error occured. 

I have a processlist with these xen processes after "xend start":
root        10     9  0 20:50 ?        00:00:00 [xenwatch]
root        11     9  0 20:50 ?        00:00:00 [xenbus]
root     10244     1  0 20:59 ?        00:00:00 python /usr/sbin/xend start
root     10245 10244  0 20:59 ?        00:00:00 python /usr/sbin/xend start
root     10246 10245  0 20:59 ?        00:00:00 python /usr/sbin/xend start
root     10247 10246  0 20:59 ?        00:00:00 python /usr/sbin/xend start
root     10250 10181  0 20:59 pts/0    00:00:00 grep xen

after a start xend-debug.log with (loglevel DEBUG) in /etc/xen/xend-config.sxp
has the following content:
# cat xend-debug.log
Exception starting xend: (111, 'Connection refused')

xend.log:
# cat xend.log
[2006-03-06 21:00:50 xend] INFO (SrvDaemon:278) Xend Daemon started
[2006-03-06 21:00:50 xend] INFO (SrvDaemon:282) Xend changeset: Tue Jan 31
11:04:12 2006 +0100 8738:eff96462fde8.
[2006-03-06 21:00:50 xend] ERROR (SrvDaemon:292) Exception starting xend ((111,
'Connection refused'))
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line
286, in run
    servers = SrvServer.create()
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvServer.py", line
106, in create
    root.putChild('xend', SrvRoot())
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvRoot.py", line 40,
in __init__
    self.get(name)
  File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 82, in get
    val = val.getobj()
  File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 52, in getobj
    self.obj = klassobj()
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line
39, in __init__
    self.xd = XendDomain.instance()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 550, in
instance
    inst.init()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 70, in
init
    xstransact.Mkdir(VMROOT)
  File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line
317, in Mkdir
    complete(path, lambda t: t.mkdir(*args))
  File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line
323, in complete
    t = xstransact(path)
  File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line
20, in __init__
    self.transaction = xshandle().transaction_start()
  File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsutil.py", line 18,
in xshandle
    xs_handle = xen.lowlevel.xs.xs()
RuntimeError: (111, 'Connection refused')

also here is my xen history:
*     Thu Jan  5 23:16:43 2006 >>> app-emulation/xen-2.0.6
*     Mon Jan  9 17:53:36 2006 >>> app-emulation/xen-3.0.0-r2
*     Sun Feb  5 11:18:02 2006 >>> app-emulation/xen-3.0.1
*     Tue Feb 21 19:10:14 2006 >>> app-emulation/xen-8885
-     Tue Feb 28 19:05:17 2006 >>> app-emulation/xen-3.0.1-r1
-     Thu Mar  2 19:26:34 2006 >>> app-emulation/xen-3.0.1-r2
-     Sat Mar  4 17:36:35 2006 >>> app-emulation/xen-3.0.1-r3
-     Mon Mar  6 20:33:35 2006 >>> app-emulation/xen-3.0.1-r4

versions with an asterisk have been working versions. Kernel since xen-8885 is
2.6.16-rc2:
     Mon Jan  9 21:17:06 2006 >>> sys-kernel/xen-sources-2.6.12.6
     Tue Feb 21 19:28:32 2006 >>> sys-kernel/xen-sources-2.6.16_rc3

i

------- Comment #23 From Martin Hierling 2006-03-06 12:10:14 0000 -------
i have similar problems since update from app-emulation/xen-8885 to any
app-emulation/xen-3.0.1-rX. Same error in xend.log. But some more information:

defiant ~ # xend start
defiant ~ # echo $?
1

Exit status is 1, so some error occured. 

I have a processlist with these xen processes after "xend start":
root        10     9  0 20:50 ?        00:00:00 [xenwatch]
root        11     9  0 20:50 ?        00:00:00 [xenbus]
root     10244     1  0 20:59 ?        00:00:00 python /usr/sbin/xend start
root     10245 10244  0 20:59 ?        00:00:00 python /usr/sbin/xend start
root     10246 10245  0 20:59 ?        00:00:00 python /usr/sbin/xend start
root     10247 10246  0 20:59 ?        00:00:00 python /usr/sbin/xend start
root     10250 10181  0 20:59 pts/0    00:00:00 grep xen

after a start xend-debug.log with (loglevel DEBUG) in /etc/xen/xend-config.sxp
has the following content:
# cat xend-debug.log
Exception starting xend: (111, 'Connection refused')

xend.log:
# cat xend.log
[2006-03-06 21:00:50 xend] INFO (SrvDaemon:278) Xend Daemon started
[2006-03-06 21:00:50 xend] INFO (SrvDaemon:282) Xend changeset: Tue Jan 31
11:04:12 2006 +0100 8738:eff96462fde8.
[2006-03-06 21:00:50 xend] ERROR (SrvDaemon:292) Exception starting xend ((111,
'Connection refused'))
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line
286, in run
    servers = SrvServer.create()
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvServer.py", line
106, in create
    root.putChild('xend', SrvRoot())
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvRoot.py", line 40,
in __init__
    self.get(name)
  File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 82, in get
    val = val.getobj()
  File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 52, in getobj
    self.obj = klassobj()
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line
39, in __init__
    self.xd = XendDomain.instance()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 550, in
instance
    inst.init()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 70, in
init
    xstransact.Mkdir(VMROOT)
  File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line
317, in Mkdir
    complete(path, lambda t: t.mkdir(*args))
  File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line
323, in complete
    t = xstransact(path)
  File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xstransact.py", line
20, in __init__
    self.transaction = xshandle().transaction_start()
  File "/usr/lib/python2.4/site-packages/xen/xend/xenstore/xsutil.py", line 18,
in xshandle
    xs_handle = xen.lowlevel.xs.xs()
RuntimeError: (111, 'Connection refused')

also here is my xen history:
*     Thu Jan  5 23:16:43 2006 >>> app-emulation/xen-2.0.6
*     Mon Jan  9 17:53:36 2006 >>> app-emulation/xen-3.0.0-r2
*     Sun Feb  5 11:18:02 2006 >>> app-emulation/xen-3.0.1
*     Tue Feb 21 19:10:14 2006 >>> app-emulation/xen-8885
-     Tue Feb 28 19:05:17 2006 >>> app-emulation/xen-3.0.1-r1
-     Thu Mar  2 19:26:34 2006 >>> app-emulation/xen-3.0.1-r2
-     Sat Mar  4 17:36:35 2006 >>> app-emulation/xen-3.0.1-r3
-     Mon Mar  6 20:33:35 2006 >>> app-emulation/xen-3.0.1-r4

versions with an asterisk have been working versions. Kernel since xen-8885 is
2.6.16-rc2:
     Mon Jan  9 21:17:06 2006 >>> sys-kernel/xen-sources-2.6.12.6
     Tue Feb 21 19:28:32 2006 >>> sys-kernel/xen-sources-2.6.16_rc3

i´d like to see xen running again... and btw, don´t remove old versions from
portages so quickly. I cant roll back to a running version because all xen
versions < xen-3.0.1-r4 are removed from portage, why? save some bytes ? 

regards martin

------- Comment #24 From Chris Bainbridge (RETIRED) 2006-03-07 01:21:28 0000 -------
Try cleaning out the /var/run/xenstored /var/lib/xenstored /var/xen/dump
directories before starting xend - it's possible that something stored there is
interfering with xend starting, since it wasn't designed to be
forward-compatible.

I really doubt rolling back would help you; -r4 and -r0 use the same source
code, there are only minor changes to the ebuild. If you really need an older
version you can always get it from
http://www.gentoo.org/cgi-bin/viewcvs.cgi/app-emulation/xen/

------- Comment #25 From Martin Hierling 2006-03-07 09:57:49 0000 -------
Thanks for the link, that was nice news. 
But unfortunally the cleaning doesn

------- Comment #26 From Martin Hierling 2006-03-07 09:57:49 0000 -------
Thanks for the link, that was nice news. 
But unfortunally the cleaning doesn´t show any effect. still the same
behavior.

regards Martin

------- Comment #27 From Chris Bainbridge (RETIRED) 2006-08-04 06:40:31 0000 -------
Re-open if this still occurs with 3.0.2.

First Last Prev Next    No search results available      Search page      Enter new bug