RE: [chrony-users] chronyc always exits 0 without any output |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: "chrony-users@xxxxxxxxxxxxxxxxxxxx" <chrony-users@xxxxxxxxxxxxxxxxxxxx>
- Subject: RE: [chrony-users] chronyc always exits 0 without any output
- From: "Wilkinson, Matthew" <MatthewWilkinson@xxxxxxxxxxxxxxxxx>
- Date: Thu, 19 Apr 2018 18:50:38 +0000
- Accept-language: en-US
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliantenergy.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=alliantenergy_12_2014; bh=Gvmb7khPHDV8T7Els8Mc1FnweeIDFjZs+9Y0xO+xJRM=; b=TlLSrL9IcrxDkTRMAcbbUT1lzuGqY3l6zVKAIPTP63hb4qwbU2YGc5HgxWpey1TasZPR Nc2naTX2rfxbX6iIR0IVBgZ+vUG7MBrDaDri7e+DAeT/FqlckoBzeo44Nvd3S4fvUzUp 3hPbOa390UvYJJVTZIoQos0PsMdVfdi8CtV40D49h2VBOt9fD72MuVs0fxkRTAFved4c FoP1pa+X+WzqC14+WR5RlBKUjtXpced1h0jjIRkSCtWbkLsllfyzl9m36Y/yskROew8G Jij4QPY0O63M7w0su5VXgnGUDJJSUHlLEsCwsWQp5m/LckH54JXv8/AmgG1R9YTwiQto nA==
- Thread-index: AdPYBpIh4BkYS/fUT5iuXWWgl+X4oQAMFWCAAAA0AgAAChv8UA==
- Thread-topic: [chrony-users] chronyc always exits 0 without any output
ntp shows up in /etc/services yep
--Matthew Wilkinson
-----Original Message-----
From: Stuart Maclean [mailto:stuart@xxxxxxxxxxxxxxxxxx]
Sent: Thursday, April 19, 2018 13:40
To: chrony-users@xxxxxxxxxxxxxxxxxxxx
Subject: Re: [chrony-users] chronyc always exits 0 without any output
[This is an external email. Be cautious with links, attachments and responses.]
**********************************************************************
This is a long shot, since chrony may not work in the same way as ntp, but when I had similar issues with ntpq exiting unexpectedly, turns out I didn't have these lines
ntp 123/udp
ntp 123/tcp
in /etc/services
If you re-run chronyc unders trace, do you see it trying to open that file?
I think the idea is to have a level of indirection, using that file, so that ports don't have to be hard coded in the sources. Seems like overkill to me.
Stuart
On 04/19/2018 11:34 AM, Bill Unruh wrote:
>
> On Thu, 19 Apr 2018, Wilkinson, Matthew wrote:
>
>>
>> I recently installed an Oracle Linux 7.5 servers with Chrony 3.2. The
>> chronyd will start up, read the config, and synchronize just fine
>> (according to the syslogs).
>
> Is chronyd actually running? ps auxww|grep chronyd |grep -v grep
>
>>
>>
>>
>> However, when I run chronyc, no matter what options I give it (even
>> -d) and even if I
>> give it no options, it just exits with return 0 and no output.
>
>
> That is very strange. Even if chronyd is not running it should start up.
>
>>
>>
>> Anyone run into this before or know of a way I can find out why itʼs
>> doing this? Iʼve ran an strace on it, and it just quickly runs
>> through some calls and exits 0.
>
> "some calls" is a bit vague.
> Does chronyc -d give you any hints?
>
>
>>
>>
>>
>> Thanks,
>>
>>
>>
>> Matthew Wilkinson
>>
>>
>>
>>
>>
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.