Skip to contentSkip to conversation

bug in init.d/xenstored

DISCUSSION Mike Wright 3 participants 5 messages Jun 18, 2011 – Jun 21, 2011

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 1 line · Mike Wright

Hi all,

ps. This is in xen-4.1.1

#2 lore raw

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.

#3 lore raw
In reply to Mike Wright

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_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.

#4 lore raw
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_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