[Xen-devel] problem while starting xend

Tej Parkash
2007-10-30T14:07:11Z

I tried to install xen, but got some errors when starting xend.
i am using xen-3.1.0. and using it on linux-2.6.18 debian kernel.

as I logged in and tried to start xend
(/etc/init.d/xend start). I just got six-seven dot (.) printed out, then it
stops. I looked more closely and found that xend could not start.

then I looked at /var/log/xend-debug.log. here is the last few lines:

^^^
   Exception starting Xend: no element found: line 1 coloumn 0
^^^
anybody experienced this problem, or know how to fix this?

now the other info which i got from the xend.log file are:

[2007-10-30 11:52:27 4340] INFO (__init__:1094) Xend Daemon started
[2007-10-30 11:52:27 4340] INFO (__init__:1094) Xend changeset: unavailable.
[2007-10-30 11:52:27 4340] INFO (__init__:1094) Xend version: Unknown.
[2007-10-30 11:52:27 4340] ERROR (__init__:1094) Exception starting
xend (no element found: line 1, column 0)
Traceback (most recent call last):
  File
"/opt/final/smartnic/xen-3.1.0-src/dist/install/usr/lib/python/xen/xend/server/SrvDaemon.py",
line 345, in run
    servers = SrvServer.create()
  File
"/opt/final/smartnic/xen-3.1.0-src/dist/install/usr/lib/python/xen/xend/server/SrvServer.py",
line 254, in create
    root.putChild(''xend'', SrvRoot())
  File
"/opt/final/smartnic/xen-3.1.0-src/dist/install/usr/lib/python/xen/xend/server/SrvRoot.py",
line 40, in __init__
    self.get(name)
  File
"/opt/final/smartnic/xen-3.1.0-src/dist/install/usr/lib/python/xen/web/SrvDir.py",
line 82, in get
    val = val.getobj()
  File
"/opt/final/smartnic/xen-3.1.0-src/dist/install/usr/lib/python/xen/web/SrvDir.py",
line 52, in getobj
    self.obj = klassobj()
  File
"/opt/final/smartnic/xen-3.1.0-src/dist/install/usr/lib/python/xen/xend/server/SrvNode.py",
line 30, in __init__
    self.xn = XendNode.instance()
  File
"/opt/final/smartnic/xen-3.1.0-src/dist/install/usr/lib/python/xen/xend/XendNode.py",
line 658, in instance
    inst = XendNode()
  File
"/opt/final/smartnic/xen-3.1.0-src/dist/install/usr/lib/python/xen/xend/XendNode.py",
line 60, in __init__
    saved_host = self.state_store.load_state(''host'')
  File
"/opt/final/smartnic/xen-3.1.0-src/dist/install/usr/lib/python/xen/xend/XendStateStore.py",
line 104, in load_state
    dom = minidom.parse(xml_path)
  File "xml/dom/minidom.py", line 1913, in parse
  File "xml/dom/expatbuilder.py", line 924, in parse
  File "xml/dom/expatbuilder.py", line 211, in parseFile
ExpatError: no element found: line 1, column 0
[2007-10-30 11:52:27 4339] INFO (__init__:1094) Xend exited with status 1.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com