All of lore.kernel.org
 help / color / mirror / Atom feed
* xl is unable to find xenstored.pid
@ 2011-08-04  3:22 Larry Ing
  2011-08-04  3:44 ` Larry Ing
  0 siblings, 1 reply; 5+ messages in thread
From: Larry Ing @ 2011-08-04  3:22 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com

I just downloaded Xen-4.1.1 from xen.org, compiled it, and installed it.
I then compiled kernel 3.0.0 and added the hypervisor and dom0 kernel in
a grub 2 entry.  After booting, I executed "xl list," to confirm the
hypervisor was running.  I was greeted with this message:

libxl: error: libxl.c:56:libxl_ctx_init Is xenstore daemon running?
failed to stat /var/run/xenstored.pid: No such file or directory
cannot init xl context

I poked around and found there is a folder within /var/run called
"xenstored" and I found there was no service called xenstored
in /etc/init.d.  There are the services I found in init.d:

xencommons
xend
xendomains
xen-watchdog

After extracting the xen source here are the commands I used to compile:

make xen
make tools
make stubdom
make install-xen
make install-tools
make install-stubdom

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

* Re: xl is unable to find xenstored.pid
  2011-08-04  3:22 xl is unable to find xenstored.pid Larry Ing
@ 2011-08-04  3:44 ` Larry Ing
  2011-08-04 16:50   ` Todd Deshane
  0 siblings, 1 reply; 5+ messages in thread
From: Larry Ing @ 2011-08-04  3:44 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com

Both Xend and Xencommons are not running.  I attempted to start
xencommons which the tries to start xenstored.  While xenstored is being
started, I receive the following error:

XENBUS: Unable to read cpu state (eight times)
Could not start xenstored

I also note there is nothing within /proc/xen.

On Wed, 2011-08-03 at 20:22 -0700, Larry Ing wrote:
> I just downloaded Xen-4.1.1 from xen.org, compiled it, and installed it.
> I then compiled kernel 3.0.0 and added the hypervisor and dom0 kernel in
> a grub 2 entry.  After booting, I executed "xl list," to confirm the
> hypervisor was running.  I was greeted with this message:
> 
> libxl: error: libxl.c:56:libxl_ctx_init Is xenstore daemon running?
> failed to stat /var/run/xenstored.pid: No such file or directory
> cannot init xl context
> 
> I poked around and found there is a folder within /var/run called
> "xenstored" and I found there was no service called xenstored
> in /etc/init.d.  There are the services I found in init.d:
> 
> xencommons
> xend
> xendomains
> xen-watchdog
> 
> After extracting the xen source here are the commands I used to compile:
> 
> make xen
> make tools
> make stubdom
> make install-xen
> make install-tools
> make install-stubdom
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

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

* Re: xl is unable to find xenstored.pid
  2011-08-04  3:44 ` Larry Ing
@ 2011-08-04 16:50   ` Todd Deshane
  2011-08-04 17:31     ` Lawrence Ing
  0 siblings, 1 reply; 5+ messages in thread
From: Todd Deshane @ 2011-08-04 16:50 UTC (permalink / raw)
  To: larry; +Cc: xen-devel@lists.xensource.com

On Wed, Aug 3, 2011 at 11:44 PM, Larry Ing <larry.xen@lwi3.net> wrote:
> Both Xend and Xencommons are not running.  I attempted to start
> xencommons which the tries to start xenstored.  While xenstored is being
> started, I receive the following error:
>
> XENBUS: Unable to read cpu state (eight times)
> Could not start xenstored
>
> I also note there is nothing within /proc/xen.

Can you go through the troubleshooting suggested here:
http://wiki.xensource.com/xenwiki/XenCommonProblems#head-26434581604cc8357d9762aaaf040e8d87b37752

Thanks,
Todd

-- 
Todd Deshane
http://www.linkedin.com/in/deshantm
http://www.xen.org/products/cloudxen.html
http://runningxen.com/

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

* Re: xl is unable to find xenstored.pid
  2011-08-04 16:50   ` Todd Deshane
@ 2011-08-04 17:31     ` Lawrence Ing
  2011-08-04 20:32       ` Mathieu Mitchell
  0 siblings, 1 reply; 5+ messages in thread
From: Lawrence Ing @ 2011-08-04 17:31 UTC (permalink / raw)
  To: Todd Deshane; +Cc: xen-devel

I actually did look through that.  Xenstored is now starting, but all I
did was change some boot options for the hypervisor in grub.  I still do
not understand what causes "XENBUS: unable to read CPU state."  I have
been searching through google for a couple of weeks now and have not
found any reasons as to why this is occurring.

On Thu, 2011-08-04 at 12:50 -0400, Todd Deshane wrote:
> On Wed, Aug 3, 2011 at 11:44 PM, Larry Ing <larry.xen@lwi3.net> wrote:
> > Both Xend and Xencommons are not running.  I attempted to start
> > xencommons which the tries to start xenstored.  While xenstored is being
> > started, I receive the following error:
> >
> > XENBUS: Unable to read cpu state (eight times)
> > Could not start xenstored
> >
> > I also note there is nothing within /proc/xen.
> 
> Can you go through the troubleshooting suggested here:
> http://wiki.xensource.com/xenwiki/XenCommonProblems#head-26434581604cc8357d9762aaaf040e8d87b37752
> 
> Thanks,
> Todd
> 

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

* Re: xl is unable to find xenstored.pid
  2011-08-04 17:31     ` Lawrence Ing
@ 2011-08-04 20:32       ` Mathieu Mitchell
  0 siblings, 0 replies; 5+ messages in thread
From: Mathieu Mitchell @ 2011-08-04 20:32 UTC (permalink / raw)
  To: Larry; +Cc: Todd Deshane, xen-devel

On 11-08-04 1:31 PM, Lawrence Ing wrote:
> I still do
> not understand what causes "XENBUS: unable to read CPU state."

We get these all the time when booting and everything works as expected.

I suspect you're after the wrong problem.

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

end of thread, other threads:[~2011-08-04 20:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-04  3:22 xl is unable to find xenstored.pid Larry Ing
2011-08-04  3:44 ` Larry Ing
2011-08-04 16:50   ` Todd Deshane
2011-08-04 17:31     ` Lawrence Ing
2011-08-04 20:32       ` Mathieu Mitchell

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.