Hi all, After a "service xencommons start" I tried a "xl list" and received the following error. libxl: error: libxl.c:56: libxl_ctx_init Is xenstored running? failed to stat /var/run/xenstored.pid: No such file or directory cannot init xl context I edited init.d/xenstored:36 and changed XENSTORED_PID="/var/run/xenstore.pid" to XENSTORED_PID="/var/run/xenstored.pid" and retried the command. "xl list" now works. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 06/18/2011 01:30 PM, Mike Wright wrote:> Hi all,ps. This is in xen-4.1.1 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mike Wright writes ("[Xen-devel] bug in
init.d/xenstored"):> After a "service xencommons start" I tried a "xl list"
and received the
> following error.
>
> libxl: error: libxl.c:56: libxl_ctx_init Is xenstored running?
> failed to stat /var/run/xenstored.pid: No such file or directory
> cannot init xl context
>
> I edited init.d/xenstored:36 and changed
What version of xen is this in ? In xen-unstable, init.d/xenstored
already talks about xenstored.pid, since 22821:5ce41defa1fa.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Mike Wright writes ("Re: [Xen-devel] bug in
init.d/xenstored"):> On 06/18/2011 01:30 PM, Mike Wright wrote:
> > Hi all,
>
> ps. This is in xen-4.1.1
Oh what platform ? Xen 4.1.1 upstream does not contain a file
/etc/init.d/xenstored.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
On 06/21/2011 07:22 AM, Ian Jackson wrote:> Mike Wright writes ("[Xen-devel] bug in init.d/xenstored"): >> After a "service xencommons start" I tried a "xl list" and received the >> following error. >> >> libxl: error: libxl.c:56: libxl_ctx_init Is xenstored running? >> failed to stat /var/run/xenstored.pid: No such file or directory >> cannot init xl context >> >> I edited init.d/xenstored:36 and changed > > What version of xen is this in ? In xen-unstable, init.d/xenstored > already talks about xenstored.pid, since 22821:5ce41defa1fa. >It looks like there were files left over from 4.0.x intermixed with newer ones. I don''t understand how the older xl wasn''t replaced by the newer one. I gutted the system of everything xen and did a xen-4.1.1/install.sh and all the inconsistencies disappeared. Sorry for the noise, Mike Wright _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel