Re: [chrony-users] Chrony not taking SOCKET data from Application |
[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]
On Thu, Jan 19, 2023 at 09:13:28AM +0530, sarveshwar k wrote:
> chronyd.sock was created under /var/run/chrony when I run chronyd. I wrote
> an application using unix domain socket and connected to socket and
> sent GPS UTC time in the required format accepted by chronyd.
>
> But I dont see chronyd taking this time as I see #? for SOCK and PPS
> reference clocks.
Build chrony with the --enable-debug option and then run chronyd with
-d -d to see the debug messages. There should be a message with some
information what it doesn't like about the SOCK sample. Usually it's
the sample "age", coming from the SOCK tv field. It needs to be the
system time, not the reference time.
--
Miroslav Lichvar
--
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.
Attachment:
c1.log
Description: Binary data
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |