RE: [chrony-users] chronyc always exits 0 without any output

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


Yeah, it's very, very weird. 

- chronyd is indeed running. I see the process and systemd sees it running. 
- i'll try to get the strace off of it, but it's isolated
- chronyc -d doesn't do anything it just exits 0

--Matthew Wilkinson



-----Original Message-----
From: Bill Unruh [mailto:unruh@xxxxxxxxxxxxxx] 
Sent: Thursday, April 19, 2018 13:34
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.]

**********************************************************************

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.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/