Also I have tried downgrading the package, and removing and reinstall the package to no avail.
--Matthew Wilkinson
From: Burton, John [mailto:jburton@xxxxxxxx]
Sent: Thursday, April 19, 2018 13:59
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.]
Does chronyc return immediately or does it take a few seconds to return?
On Thu, Apr 19, 2018 at 2:50 PM, Wilkinson, Matthew <MatthewWilkinson@xxxxxxxxxxxxxxxxx> wrote:
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.
--
John Burton, Ph.D.
MTEQ, Inc.
10440 Furnace Rd., Suite 204 Office: 540-658-2720 x1407
Lorton, VA 22079-2630 Mobile: 757-508-6208
jburton@xxxxxxxx Fax: 540-288-2515
Please note that the contents of this email including all attachments may be privileged or confidential in nature and are intended solely for the named recipients. If you have received this message in error, please contact
the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited.
|