All of lore.kernel.org
 help / color / mirror / Atom feed
* Xenstore daemon is not running after boot; although can be started manually later. Any pointers why ?
@ 2012-03-23  1:01 Ranjith Krishnan
  2012-03-23  9:22 ` Ian Campbell
  0 siblings, 1 reply; 2+ messages in thread
From: Ranjith Krishnan @ 2012-03-23  1:01 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1344 bytes --]

Hello,

I build and installed Xen (4.1.3)  from source, and I think I have got it
working. Well, almost.
I am using unmodified kernel of Fedora16 as my dom0 kernel.

So this is what happened.

I am able to boot into Xen, but the  "xl info" failed with the standard
error message mentioned in the tutorial.
"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 checked the xen common problems page,
http://wiki.xensource.com/xenwiki/XenCommonProblems.html and did some
troubleshooting.

I was infact running Xen dom0, since I got this output.

# ls /proc/xen/capabilities  privcmd  xenbus  xsd_kva  xsd_port# cat
/proc/xen/capabilitiescontrol_d

But my evtchn and gntdev were not loaded. Hence below command returned
nothing.

I ran commands "modprobe xen-evtchn" and "modprobe gntdev" to manually load
those drivers.
Then went to /etc/init.d to manually restart xencommons and got this.
# ./xencommons restart"
Stopping xenconsoled
WARNING: Not stopping xenstored, as it cannot be restarted.
Starting xenstored...
Setting domain 0 name...
Starting xenconsoled...

Now "xl info" gave the right output.

So do I need to do this everytime I boot ? Why does it not work right off
the boot automatically ?
Comments please ?


Thanks,
Ranjith

[-- Attachment #1.2: Type: text/html, Size: 1849 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

* Re: Xenstore daemon is not running after boot; although can be started manually later. Any pointers why ?
  2012-03-23  1:01 Xenstore daemon is not running after boot; although can be started manually later. Any pointers why ? Ranjith Krishnan
@ 2012-03-23  9:22 ` Ian Campbell
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Campbell @ 2012-03-23  9:22 UTC (permalink / raw)
  To: Ranjith Krishnan; +Cc: xen-users

Questions about configuration issues should be posted to xen-users in
the first instance and only sent to xen-devel if/when an actual bug has
been identified. Redirecting this post there.

On Fri, 2012-03-23 at 01:01 +0000, Ranjith Krishnan wrote:
> Hello,
> 
> I build and installed Xen (4.1.3)  from source, and I think I have got
> it working. Well, almost.
> I am using unmodified kernel of Fedora16 as my dom0 kernel.
> 
> So this is what happened. 
> 
> I am able to boot into Xen, but the  "xl info" failed with the
> standard error message mentioned in the tutorial.
> "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 checked the xen common problems page,
> http://wiki.xensource.com/xenwiki/XenCommonProblems.html and did some
> troubleshooting.
> 
> I was infact running Xen dom0, since I got this output. 
> # ls /proc/xen/
> capabilities  privcmd  xenbus  xsd_kva  xsd_port
> 
> # cat /proc/xen/capabilities
> control_d
> 
> But my evtchn and gntdev were not loaded. Hence below command returned
> nothing. 
> 
> I ran commands "modprobe xen-evtchn" and "modprobe gntdev" to manually
> load those drivers. 
> Then went to /etc/init.d to manually restart xencommons and got this. 
> # ./xencommons restart"  
> Stopping xenconsoled
> WARNING: Not stopping xenstored, as it cannot be restarted.
> Starting xenstored...
> Setting domain 0 name...
> Starting xenconsoled...
> 
> Now "xl info" gave the right output. 
> 
> So do I need to do this everytime I boot ? Why does it not work right
> off the boot automatically ?

Are you sure you have configured the xencommons initscript to run at
boot time? If so then what is its output when it is run as part of the
boot process, as opposed to running it by hand as you have done here?

> Comments please ? 
> 
> 
> Thanks,
> Ranjith

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

end of thread, other threads:[~2012-03-23  9:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-23  1:01 Xenstore daemon is not running after boot; although can be started manually later. Any pointers why ? Ranjith Krishnan
2012-03-23  9:22 ` Ian Campbell

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.