public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Peter Humphrey <peter@prh.myzen.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Chrony-2.2 failing
Date: Fri, 20 Nov 2015 10:22 +0000	[thread overview]
Message-ID: <1688590.CMN6j3byKX@wstn> (raw)
In-Reply-To: <564E0417.4080201@gmail.com>

On Thursday 19 Nov 2015 19:17:11 Alan McKinnon wrote:

> Does it fail consistently? IOW, now that everything else has settled
> down, does "/etc/init.d/chrony start" still fail?

Yes, it's a hard fault:

# /etc/init.d/chronyd start
 * Caching service dependencies ...                                 [ ok ]
 * Starting chronyd ...
 * start-stop-daemon: caught an interrupt
 * start-stop-daemon: /usr/sbin/chronyd died
 * Failed to start chronyd                                          [ !! ]
 * ERROR: chronyd failed to start

> What about logs?

None evident.

> If none, you can inspect the start-stop-daemon line in the init file,
> get the command line it launches chrony with, and see what that prints
> to the console.

Here's where it gets strange. When I run that command, chronyd runs hunky-
dory, but calling it from /etc/init.d/chronyd gets me the error above. This 
is what works:

# start-stop-daemon --start --exec /usr/sbin/chronyd --pidfile 
/run/chronyd.pid -- -f /etc/chrony/chrony.conf -s -r

And this stops it:

# start-stop-daemon --stop --pidfile /run/chronyd.pid

All those file names are copied directly from the init.d file. I did wonder 
about a timing problem somewhere, but I wouldn't expect that always to turn 
out the same way.

As I said, chronyd works on this four-core i5 box, just not on the two-core 
Atom.

-- 
Rgds
Peter



  reply	other threads:[~2015-11-20 10:22 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-19 10:49 [gentoo-user] Chrony-2.2 failing Peter Humphrey
2015-11-19 17:06 ` Alexander Kapshuk
2015-11-19 17:17 ` Alan McKinnon
2015-11-20 10:22   ` Peter Humphrey [this message]
2015-11-20 11:03     ` Mick
2015-11-20 17:02       ` Peter Humphrey
2015-11-20 17:07         ` Alan McKinnon
2015-11-20 17:30           ` Mick
2015-11-21  9:59             ` Peter Humphrey
2015-11-24 15:24               ` Peter Humphrey
2015-11-25 17:05                 ` Alan McKinnon
2015-11-26 10:39                   ` Peter Humphrey
2015-11-26 13:00                     ` Neil Bothwick
2015-11-26 14:00                       ` Peter Humphrey
2015-11-26 15:04                         ` Neil Bothwick
2015-11-26 15:12                           ` Alan McKinnon
2015-11-27  9:33                     ` Peter Humphrey
2015-11-20 19:39           ` brettrsears
2015-11-19 21:15 ` Marc Joliet
2015-11-20  9:24   ` Peter Humphrey
2015-12-07 18:41     ` Mick
2015-11-20 17:02 ` Dale
2015-11-20 17:06   ` Peter Humphrey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1688590.CMN6j3byKX@wstn \
    --to=peter@prh.myzen.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox