[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] xen 4.5-unstable, oxenstored cannot start (centos 7, kernel 3.17.0)



On Fri, Oct 10, ÐÑÐÐÐÑÐÐ ÐÑÐÑÐÐ wrote:

> I'm running CentOS 7 with mainline kernel 3.17 built by myself.
> I've configured the kernel with all the xen parameters as
> builtin instead of modules. Yesterday I've decided to try to
> build and install Xen from sources. I've pulled the latest
> sources from git, changed the branch to staging and built
> and installed xen like this:

The question is how configure was invoked.

> make xen
> make tools
> make stubdom
> sudo make install-xen
> sudo make install-tools
> sudo make install-stubdom

Generally 'configure && make && sudo make install' will do it.

> Oct Â9 02:03:05 kvmxen-centos7-test1-nb systemd: [/etc/rc.d/init.d/
> xencommons:10] Failed to add LSB Provides name xenstored.service, ignoring:
> File exists
> Oct Â9 02:03:05 kvmxen-centos7-test1-nb systemd: [/etc/rc.d/init.d/
> xencommons:10] Failed to add LSB Provides name xenconsoled.service, ignoring:
> File exists

systemd is supposed to ignore a provides which comes from a sysv script
(like xenstored) if a service with the same name exists (like
xenstored.service). So that should not be fatal.

> 2. modules
> 
> Oct Â9 02:03:05 kvmxen-centos7-test1-nb systemd-modules-load: Failed to find
> module 'evtchn'

> Oct Â9 02:03:05 kvmxen-centos7-test1-nb systemd: Unit
> systemd-modules-load.service entered failed state.

This looks bad. Is evtchn loaded, does it exists, is it perhaps compiled
into the kernel?

> 3. oxenstored
> 
> Oct Â9 02:03:12 kvmxen-centos7-test1-nb xencommons: Starting /usr/local/sbin/
> oxenstored...Fatal error: exception Failure("ocaml_sd_listen_fds() failed to
> get any sockets")

Looks like it was not started via systemd, so it wont get its socked if
xen.git was configured with 'configure --enable-systemd'.

> 4. xencommons
> 
> Oct Â9 02:03:43 kvmxen-centos7-test1-nb xencommons:
> ..............................
> Oct Â9 02:03:43 kvmxen-centos7-test1-nb xencommons: Could not start xenstored
> Oct Â9 02:03:43 kvmxen-centos7-test1-nb systemd: xencommons.service: control
> process exited, code=exited status=1
> Oct Â9 02:03:43 kvmxen-centos7-test1-nb systemd: Failed to start LSB: Start/
> stop xenstored and xenconsoled.
> Oct Â9 02:03:43 kvmxen-centos7-test1-nb systemd: Unit xencommons.service
> entered failed state.

This looks like a conflict between sysv scripts and systemd service
files.

> What can cause these problems? I don't understand yet where to dig..

First check if the running kernel has proper drivers to act as a dom0.

Olaf

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.