Skip to contentSkip to conversation

xend failing to restart

DISCUSSION Lars Rasmusson 3 participants 3 messages Apr 4, 2005 – Apr 5, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

I'm having trouble restarting xend. It has been mentioned on xen-
devel
http://lists.xensource.com/archives/html/xen-
devel/2005-03/msg01198.html
and also
http://article.gmane.org/gmane.comp.emulators.xen.devel/8477
but I don't think the issue was ever resolved.

The problem is that xend won't restart. Xend writes that it started to the log, but starting it with "xend start_trace" reveals that it actually fails with

PortError: Failed to map domain control interface

in xen/xend/server/channel.py:createPort():113 .

Does anyone know how to restart xend without having to reboot?

/Lars

#1 lore raw
Quoted 9 lines · Lars Rasmusson

The problem is that xend won't restart. Xend writes that it started to the log, but starting it with "xend start_trace" reveals that it actually fails with

PortError: Failed to map domain control interface

in xen/xend/server/channel.py:createPort():113 .

Does anyone know how to restart xend without having to reboot?

Have you tried 'rm -rf /var/lib/xen; mkdir /var/lib/xen' ?

Sometimes xend's own state files can confuse it. :-)

-- Keir

#2 lore raw
Quoted 9 lines · Lars Rasmusson
Quoted 7 lines

The problem is that xend won't restart. Xend writes that it started to the log, but starting it with "xend start_trace" reveals that it actually fails with

PortError: Failed to map domain control interface

Quoted 8 lines
Quoted 3 lines

in xen/xend/server/channel.py:createPort():113 .

Does anyone know how to restart xend without having to reboot?

Have you tried 'rm -rf /var/lib/xen; mkdir /var/lib/xen' ?

Sometimes xend's own state files can confuse it. :-)

If this is a known problem why not either make xend not get confused or have the xend init script remove/create the directory on 'start' ? I'll be doing the second locally (if it works) ... will have to try next time I get a xend crash.