Re: Chrony not taking SOCKET data from Application

Miroslav Lichvar <[email protected]>
Newsgroups gmane.comp.time.chrony.user
Message-ID <Y8kLuJsUOJ+M5FWv@localhost>
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-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "unsubscribe" in the subject.
For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "help" in the subject.
Trouble?  Email [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.