All of lore.kernel.org
 help / color / mirror / Atom feed
* bug in init.d/xenstored
@ 2011-06-18 20:30 Mike Wright
  2011-06-18 20:42 ` Mike Wright
  2011-06-21 14:22 ` Ian Jackson
  0 siblings, 2 replies; 5+ messages in thread
From: Mike Wright @ 2011-06-18 20:30 UTC (permalink / raw)
  To: xen-devel

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bug in init.d/xenstored
  2011-06-18 20:30 bug in init.d/xenstored Mike Wright
@ 2011-06-18 20:42 ` Mike Wright
  2011-06-21 15:22   ` Ian Jackson
  2011-06-21 14:22 ` Ian Jackson
  1 sibling, 1 reply; 5+ messages in thread
From: Mike Wright @ 2011-06-18 20:42 UTC (permalink / raw)
  Cc: xen-devel

On 06/18/2011 01:30 PM, Mike Wright wrote:
> Hi all,

ps. This is in xen-4.1.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bug in init.d/xenstored
  2011-06-18 20:30 bug in init.d/xenstored Mike Wright
  2011-06-18 20:42 ` Mike Wright
@ 2011-06-21 14:22 ` Ian Jackson
  2011-06-21 23:01   ` Mike Wright
  1 sibling, 1 reply; 5+ messages in thread
From: Ian Jackson @ 2011-06-21 14:22 UTC (permalink / raw)
  To: Mike Wright; +Cc: 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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bug in init.d/xenstored
  2011-06-18 20:42 ` Mike Wright
@ 2011-06-21 15:22   ` Ian Jackson
  0 siblings, 0 replies; 5+ messages in thread
From: Ian Jackson @ 2011-06-21 15:22 UTC (permalink / raw)
  To: Mike Wright; +Cc: 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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bug in init.d/xenstored
  2011-06-21 14:22 ` Ian Jackson
@ 2011-06-21 23:01   ` Mike Wright
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Wright @ 2011-06-21 23:01 UTC (permalink / raw)
  To: Ian Jackson; +Cc: 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-06-21 23:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-18 20:30 bug in init.d/xenstored Mike Wright
2011-06-18 20:42 ` Mike Wright
2011-06-21 15:22   ` Ian Jackson
2011-06-21 14:22 ` Ian Jackson
2011-06-21 23:01   ` Mike Wright

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.