Gautham Kampalapur Shankar, TLS, Chennai
2007-Oct-29 07:24 UTC
[Xen-users] problem in starting xend
problem in starting xend I tried to install xen, but got some errors when starting xend. 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 ^^^ and i guess the problem is because of /etc/init.d/xend scripts in await_daemons_up function or it may be failed because of other reasons. anybody experienced this problem, or know how to fix this? thanks gautham DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Gautham Kampalapur Shankar, TLS, Chennai wrote:> > I tried to install xen, but got some errors when starting xend. > > 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 > ^^^ > and i guess the problem is because of /etc/init.d/xend scripts in > await_daemons_up function or it may be failed because of other > reasons. anybody experienced this > problem, or know how to fix this? > > thanks gautham >How did you install Xen? What OS, and which version? Did you install and reboot with a Xen compatible kernel? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Gautham Kampalapur Shankar, TLS, Chennai
2007-Oct-29 11:45 UTC
RE: [Xen-users] problem in starting xend
RE: [Xen-users] problem in starting xend -----Original Message----- From: Nico Kadel-Garcia [mailto:nkadel@gmail.com] Sent: Mon 10/29/2007 4:25 PM To: Gautham Kampalapur Shankar, TLS, Chennai Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] problem in starting xend Gautham Kampalapur Shankar, TLS, Chennai wrote: > > I tried to install xen, but got some errors when starting xend. > > 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 > ^^^ > and i guess the problem is because of /etc/init.d/xend scripts in > await_daemons_up function or it may be failed because of other > reasons. anybody experienced this > problem, or know how to fix this? > > thanks gautham > How did you install Xen? What OS, and which version? Did you install and reboot with a Xen compatible kernel? i am using xen-3.1.0. and using it on linux-2.6.18 debian kernel. - untared the source, then "make world", then "make install". everything was fine - configure grub for xen - reboot the machine.. as far as booting is concerned i have booted correct xen compatible kernel it was working fine for 2-3 days, i could run the xend and boot the domU also. but once it has reported the problem of No Space Left error on the device... so i created some space for this purpose. after creating the space, i got this annoying error. Exception starting Xend: no element found: line 1 coloumn 0.. final message before this annoying message was Exception starting xend:(28, ''No Space left on device''); i hope i am clear... DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Gautham Kampalapur Shankar, TLS, Chennai wrote:> > > > -----Original Message----- > From: Nico Kadel-Garcia [mailto:nkadel@gmail.com] > Sent: Mon 10/29/2007 4:25 PM > To: Gautham Kampalapur Shankar, TLS, Chennai > Cc: xen-users@lists.xensource.com > Subject: Re: [Xen-users] problem in starting xend > > Gautham Kampalapur Shankar, TLS, Chennai wrote: > > > > I tried to install xen, but got some errors when starting xend. > > > > 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 > > ^^^ > > and i guess the problem is because of /etc/init.d/xend scripts in > > await_daemons_up function or it may be failed because of other > > reasons. anybody experienced this > > problem, or know how to fix this? > > > > thanks gautham > > > How did you install Xen? What OS, and which version? Did you install and > reboot with a Xen compatible kernel? > > i am using xen-3.1.0. and using it on linux-2.6.18 debian kernel. > - untared the source, then "make world", then "make install". > everything was fine > - configure grub for xen > - reboot the machine.. > > as far as booting is concerned i have booted correct xen compatible kernel > > it was working fine for 2-3 days, i could run the xend and boot the > domU also. > but once it has reported the problem of No Space Left error on the > device... so i created some space for this purpose. after creating the > space, i got this annoying error. > > Exception starting Xend: no element found: line 1 coloumn 0.. > > final message before this annoying message was > Exception starting xend:(28, ''No Space left on device''); > > i hope i am clear... >So, you''re using Debian, a locally compiled Xen, and a local file based Xen image installation. What does "df" say on your Dom0? Did you by chance generate a "sparce" file to put your Xen guest on? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Gautham Kampalapur Shankar, TLS, Chennai
2007-Oct-30 07:18 UTC
RE: [Xen-users] problem in starting xend
RE: [Xen-users] problem in starting xend -----Original Message----- From: Nico Kadel-Garcia [mailto:nkadel@gmail.com] Sent: Mon 10/29/2007 6:01 PM To: Gautham Kampalapur Shankar, TLS, Chennai Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] problem in starting xend Gautham Kampalapur Shankar, TLS, Chennai wrote: > > > > -----Original Message----- > From: Nico Kadel-Garcia [mailto:nkadel@gmail.com] > Sent: Mon 10/29/2007 4:25 PM > To: Gautham Kampalapur Shankar, TLS, Chennai > Cc: xen-users@lists.xensource.com > Subject: Re: [Xen-users] problem in starting xend > > Gautham Kampalapur Shankar, TLS, Chennai wrote: > > > > I tried to install xen, but got some errors when starting xend. > > > > 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 > > ^^^ > > and i guess the problem is because of /etc/init.d/xend scripts in > > await_daemons_up function or it may be failed because of other > > reasons. anybody experienced this > > problem, or know how to fix this? > > > > thanks gautham > > > How did you install Xen? What OS, and which version? Did you install and > reboot with a Xen compatible kernel? > > i am using xen-3.1.0. and using it on linux-2.6.18 debian kernel. > - untared the source, then "make world", then "make install". > everything was fine > - configure grub for xen > - reboot the machine.. > > as far as booting is concerned i have booted correct xen compatible kernel > > it was working fine for 2-3 days, i could run the xend and boot the > domU also. > but once it has reported the problem of No Space Left error on the > device... so i created some space for this purpose. after creating the > space, i got this annoying error. > > Exception starting Xend: no element found: line 1 coloumn 0.. > > final message before this annoying message was > Exception starting xend:(28, ''No Space left on device''); > > i hope i am clear... > >So, you''re using Debian, a locally compiled Xen, and a local file based >Xen image installation. >What does "df" say on your Dom0? Did you by chance generate a "sparce" >file to put your Xen guest on? the df output of the system are: Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda3 19299400 15981688 2337348 88% / varrun 478212 96 478116 1% /var/run varlock 478212 0 478212 0% /var/lock udev 478212 52 478160 1% /dev devshm 478212 0 478212 0% /dev/shm i think the memory is sufficient, to handle xend request. 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. i have look into much of python code but not getting clue about the error. thnaks gautham DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Gautham Kampalapur Shankar, TLS, Chennai
2007-Oct-31 06:18 UTC
RE: [Xen-users] problem in starting xend
RE: [Xen-users] problem in starting xend -----Original Message----- From: Nico Kadel-Garcia [mailto:nkadel@gmail.com] Sent: Mon 10/29/2007 4:25 PM To: Gautham Kampalapur Shankar, TLS, Chennai Cc: xen-users@lists.xensource.com Subject: Re: [Xen-users] problem in starting xend Gautham Kampalapur Shankar, TLS, Chennai wrote: > > I tried to install xen, but got some errors when starting xend. > > 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 > ^^^ > and i guess the problem is because of /etc/init.d/xend scripts in > await_daemons_up function or it may be failed because of other > reasons. anybody experienced this > problem, or know how to fix this? > > thanks gautham > >How did you install Xen? What OS, and which version? Did you install and >reboot with a Xen compatible kernel? ok i got the solution to this annoying problem.. http://pastebin.com/m5ea3cad1 thanks to Keir Fraser i have deleted /var/lib/xend/* and xend started working i don''t know why but according to Kair Fraser, i was running xend out of build tree. strange can''t relate solution to problem but kudos to Kair hope it will help others also.. thanks gautham DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users