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

2018-04-19 Thread Wilkinson, Matthew
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). 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

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

2018-04-19 Thread Stuart Maclean
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

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

2018-04-19 Thread Bill Unruh
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  

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

2018-04-19 Thread Wilkinson, Matthew
ntp shows up in /etc/services yep --Matthew Wilkinson -Original Message- From: Stuart Maclean [mailto:stu...@apl.washington.edu] Sent: Thursday, April 19, 2018 13:40 To: chrony-users@chrony.tuxfamily.org Subject: Re: [chrony-users] chronyc always exits 0 without any output [This is an

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

2018-04-19 Thread Wilkinson, Matthew
This bit is interesting: from strace: unlink("/var/run/chrony/chronyc.11490.sock") = -1 ENOENT (No such file or directory) bind(3, {sa_family=AF_LOCAL, sun_path="/var/run/chrony/chronyc.11490.sock"}, 110) = 0 chmod("/var/run/chrony/chronyc.11490.sock", 0666) = 0 connect(3, {sa_family=AF_LOCAL,

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

2018-04-19 Thread Burton, John
Does chronyc return immediately or does it take a few seconds to return? On Thu, Apr 19, 2018 at 2:50 PM, Wilkinson, Matthew < matthewwilkin...@alliantenergy.com> wrote: > ntp shows up in /etc/services yep > > --Matthew Wilkinson > > > -Original Message- > From: Stuart Maclean

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

2018-04-19 Thread Burton, John
I had an issue something like that with a different distribution of Linux, but I recall it taking longer to return - like it was timing out on something. Try temporarily disabling the firewall on the computer and see if that changes the behavior. If that works, then maybe you need to open the port

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

2018-04-19 Thread Wilkinson, Matthew
The only thing I can think right now is that there’s something up with the network card or interface name. Somehow chronyc isn’t seeing that there’s a network to query. I am grasping at straws though. --Matthew Wilkinson From: Burton, John [mailto:jbur...@mteq.com] Sent: Thursday, April 19,

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

2018-04-19 Thread Bill Unruh
William G. Unruh __| Canadian Institute for| Tel: +1(604)822-3273 Physics _|___ Advanced Research _| Fax: +1(604)822-5324 UBC, Vancouver,BC _|_ Program in Cosmology | un...@physics.ubc.ca Canada V6T 1Z1 | and Gravity __|_ www.theory.physics.ubc.ca/ On Thu, 19 Apr 2018,

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

2018-04-19 Thread Wilkinson, Matthew
It returns immediately no matter what option I give it. Exit code is always 0. --Matthew Wilkinson From: Burton, John [mailto:jbur...@mteq.com] Sent: Thursday, April 19, 2018 13:59 To: chrony-users@chrony.tuxfamily.org Subject: Re: [chrony-users] chronyc always exits 0 without any output [This

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

2018-04-19 Thread Wilkinson, Matthew
Also I have tried downgrading the package, and removing and reinstall the package to no avail. --Matthew Wilkinson From: Burton, John [mailto:jbur...@mteq.com] Sent: Thursday, April 19, 2018 13:59 To: chrony-users@chrony.tuxfamily.org Subject: Re: [chrony-users] chronyc always exits 0 without

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

2018-04-19 Thread Wilkinson, Matthew
tried stopping firewalld and then running chronyc sources but it just exits with 0 like always. dang. --Matthew Wilkinson From: Burton, John [mailto:jbur...@mteq.com] Sent: Thursday, April 19, 2018 14:17 To: chrony-users@chrony.tuxfamily.org Subject: Re: [chrony-users] chronyc always exits 0

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

2018-04-19 Thread Parker, Michael D.
Have any of you tried setting SELinux into permissive mode? Does chronyc run as root ok? But not as a normal user? * * * Michael D. Parker General Atomics – ElectroMagnetics Systems Group (EMS) michael.d.par...@ga.com < NOTE: Remember to include

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

2018-04-19 Thread Wilkinson, Matthew
should have thought of that. I didn’t see any logs about it, but sure enough, I rebooted the server into permissive mode and did an autorelabel and chronyc works now. --Matthew Wilkinson From: Parker, Michael D. [mailto:michael.d.par...@ga.com] Sent: Thursday, April 19, 2018 14:33 To: