Re: [chrony-users] Chrony not taking SOCKET data from Application |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Chrony not taking SOCKET data from Application
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Thu, 19 Jan 2023 10:22:00 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1674120125; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zvq6PmDVJxS6xt5fWd1Gb7WS1YI02TCqynCorjtEnVY=; b=L3iFZGmqXATtNwwUGoCcolB0/DVul5AxWmB4RbvHvhDR2OwiNWYGZqsBIa0/0jqa2+z1PX ICoM1rQdDwjeDb0DTJvho4Rg9ZERWT4LgmZc2Vnw0xE372p3DvCfLQozKCvhRVRGgis4M7 3hwC+8OJHeJ/ZWSvK7dA+5Ls/fUEmus=
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.