WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] XEN 4.0.2-rc2 - using OCAML xenstored -- xend not starti

To: Yuvraj Agarwal <yuvraj@xxxxxxxxxxx>
Subject: Re: [Xen-devel] XEN 4.0.2-rc2 - using OCAML xenstored -- xend not starting?
From: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
Date: Wed, 9 Feb 2011 08:22:15 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 09 Feb 2011 00:23:06 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <08f801cbc7b1$f59dcf10$e0d96d30$@cs.ucsd.edu>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <08f801cbc7b1$f59dcf10$e0d96d30$@cs.ucsd.edu>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100821 Icedove/3.1.2
On 08/02/11 17:02, Yuvraj Agarwal wrote:
Hi All,

I just tried a new installation of Ubuntu 10.04 (64bit) + Xen and am
having some trouble starting XEN. I am using the latest mercurial checkout
(4.0.2-rc2) and the only change I made was to Config.mk to enable building
the OCAML version of xenstored. " CONFIG_OCAML_XENSTORED ?= y". I am using
the same kernel I built earlier for a similar Ubuntu 10.04-64bit / Xen
4.0.0 installation (version 2.6.32.12).  I would like to use the OCAML
version of xenstored since it is supposed to be much better/faster when
starting up a larger number of domUs.

The system starts up, and I can see xend started up, but when I do "xm
list" or "xm info" I get an error message that xend has not started up?

root@EM:/etc# xm list
Error: Unable to connect to xend: No such file or directory. Is xend
running?
root@EM:/etc#

root@EM:/etc# ps -efw | grep xen
root        88     2  0 Feb07 ?        00:00:00 [xenwatch]
root        89     2  0 Feb07 ?        00:00:00 [xenbus]
root      6254     1  0 Feb07 ?        00:00:00 /usr/bin/python
/usr/sbin/xend start
root      6255  6254  0 Feb07 ?        00:00:17 /usr/bin/python
/usr/sbin/xend start
root      7043  5919  0 08:55 pts/2    00:00:00 grep --color=auto xen
root@EM:/etc#

root@EM:/etc# uname -a
Linux EM 2.6.32.12 #11 SMP Fri Jun 18 20:52:17 PDT 2010 x86_64 GNU/Linux
root@EM:/etc#

I did check and found two difference with my earlier installation of Xen
4.0.0 with the same kernel (although with the standard xenstored).
1. The xen 4.0 installation does show a "xenstored" process also running
in addition to these ones.
2.  "xend" seems to be looking for a directory, " /var/lib/xenstored" that
doesn't seem to exist on my system?

Any pointers to fix this issue?

The reason xend died is that xenstored hasn't started (or something happened to it), you need to figure out why.

You can start xenstored directly on the cmdline with the no daemonize flag, to see if the program stays running, and if not you'll see
the reason why it dies.

--
Vincent

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel