I was running VMs on a Xen machine until yesterday.Some how the system did not had any memory and all free space was missing.So I free 6 GB.I have 420 GB separate for VMs. 6GB is free on Dom0. When ever I am trying to start xend after I boot in from following grub entries title Xen 3.2-1-amd64 / Debian GNU/Linux, kernel 2.6.26-2-xen-amd64 root (hd0,0) kernel /boot/xen-3.2-1-amd64.gz dom0_mem=500Mb module /boot/vmlinuz-2.6.26-2-xen-amd64 root=/dev/sda1 ro console=tty0 module /boot/initrd.img-2.6.26-2-xen-amd64 if I do /etc/init.d/xend start it gives error Starting XEN control daemon: xend failed! What should I look in, what probably might be reason. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-May-11 07:15 UTC
Re: [Xen-users] Starting XEN control daemon: xend failed!
On Tue, May 11, 2010 at 2:13 PM, Tapas Mishra <mightydreams@gmail.com> wrote:> if I do /etc/init.d/xend start > it gives error > Starting XEN control daemon: xend failed! > What should I look in,/var/log/messages, /var/log/daemon.log, and /var/log/xen/xend.log should give an idea what''s wrong. Look for several latest entries. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tapas Mishra
2010-May-11 07:27 UTC
Re: [Xen-users] Starting XEN control daemon: xend failed!
Okay I looked at /var/log/messages this message Unable to start blktapctrl has repeated many times. in fact in /var/log/daemon.log has following repeated BLKTAPCTRL[4984]: Unable to start blktapctrl ~ then /var/log/xen/xend.log [2010-04-29 06:38:22 3305] ERROR (XendDomain:1136) Restore failed Traceback (most recent call last): File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomain.py", line 1134, in domain_restore_fd return XendCheckpoint.restore(self, fd, paused=paused) File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendCheckpoint.py", line 239, in restore forkHelper(cmd, fd, handler.handler, True) File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendCheckpoint.py", line 361, in forkHelper raise XendError("%s failed" % string.join(cmd)) XendError: /usr/lib/xen-3.2-1/bin/xc_restore 4 4 1 2 0 0 0 failed So I feel that BLKTAPCTRL is causing error I know what blktap is but here how to proceed? On Tue, May 11, 2010 at 12:45 PM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Tue, May 11, 2010 at 2:13 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >> if I do /etc/init.d/xend start >> it gives error >> Starting XEN control daemon: xend failed! >> What should I look in, > > /var/log/messages, /var/log/daemon.log, and /var/log/xen/xend.log > should give an idea what''s wrong. Look for several latest entries. > > -- > Fajar >-- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tapas Mishra
2010-May-11 08:02 UTC
Re: [Xen-users] Starting XEN control daemon: xend failed!
In fact in one more file xend-debug.log Following message was there IOError: [Errno 28] No space left on device but after I deleted 6 GB space from Dom0 if I am restarting then in addition to the error messages I mentioned above I also get following Xend started at Tue May 11 12:46:50 2010. Exception starting xend: no element found: line 1, column 0 On Tue, May 11, 2010 at 12:57 PM, Tapas Mishra <mightydreams@gmail.com> wrote:> Okay > I looked at /var/log/messages > this message > Unable to start blktapctrl > has repeated many times. > > in fact > in /var/log/daemon.log has following repeated > BLKTAPCTRL[4984]: Unable to start blktapctrl > ~ > > then /var/log/xen/xend.log > [2010-04-29 06:38:22 3305] ERROR (XendDomain:1136) Restore failed > Traceback (most recent call last): > File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomain.py", line > 1134, in domain_restore_fd > return XendCheckpoint.restore(self, fd, paused=paused) > File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendCheckpoint.py", > line 239, in restore > forkHelper(cmd, fd, handler.handler, True) > File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendCheckpoint.py", > line 361, in forkHelper > raise XendError("%s failed" % string.join(cmd)) > XendError: /usr/lib/xen-3.2-1/bin/xc_restore 4 4 1 2 0 0 0 failed > > > So I feel that BLKTAPCTRL is causing error I know what blktap is but > here how to proceed? > > On Tue, May 11, 2010 at 12:45 PM, Fajar A. Nugraha <fajar@fajar.net> wrote: >> On Tue, May 11, 2010 at 2:13 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >>> if I do /etc/init.d/xend start >>> it gives error >>> Starting XEN control daemon: xend failed! >>> What should I look in, >> >> /var/log/messages, /var/log/daemon.log, and /var/log/xen/xend.log >> should give an idea what''s wrong. Look for several latest entries. >> >> -- >> Fajar >> > > > > -- > Tapas >-- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-May-11 08:29 UTC
Re: [Xen-users] Starting XEN control daemon: xend failed!
On Tue, May 11, 2010 at 3:02 PM, Tapas Mishra <mightydreams@gmail.com> wrote:> In fact in one more file xend-debug.log > Following message was there > IOError: [Errno 28] No space left on deviceThat''s ... not good :P> > > but after I deleted 6 GB space from Dom0 > if I am restarting then in addition to the error messages I mentioned > above I also get following > > Xend started at Tue May 11 12:46:50 2010. > Exception starting xend: no element found: line 1, column 0 >it''s possible hat due to lack of space, xen tools was not compiled or installed correctly. I suggest you at least reinstall xen, and try again.> On Tue, May 11, 2010 at 12:57 PM, Tapas Mishra <mightydreams@gmail.com> wrote: >> Okay >> I looked at /var/log/messages >> this message >> Unable to start blktapctrl >> has repeated many times.What happens when you start blktapctrl manually? -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users