xen-devel.lists.xenproject.org archive mirror
 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

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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).