bug in init.d/xenstored
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.
Quoted 1 line · Mike Wright
Hi all,
ps. This is in xen-4.1.1
Mike Wright writes ("[Xen-devel] bug in init.d/xenstored"):
Quoted 8 lines
After a "service xencommons start" I tried a "xl list" and received the following error.
libxl: error: libxl.c:56:
libxl_ctx_initIs xenstored running? failed to stat/var/run/xenstored.pid: No such file or directory cannot init xl contextI 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.
Mike Wright writes ("Re: [Xen-devel] bug in init.d/xenstored"):
Quoted 4 lines · Mike Wright
Quoted 1 line
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.
Quoted 4 lines · Ian Jackson
Mike Wright writes ("[Xen-devel] bug in init.d/xenstored"):
Quoted 3 lines
After a "service xencommons start" I tried a "xl list" and received the following error.
Quoted 9 lines
Quoted 5 lines
libxl: error: libxl.c:56:
libxl_ctx_initIs xenstored running? failed to stat/var/run/xenstored.pid: No such file or directory cannot init xl contextI 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