Re: [chrony-users] Chrony not taking SOCKET data from Application

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


Hi Miroslav Lichvar,

Yes I used the default socket created when run the chronyd. I will use another socket to be created by chronyd for getting time.

Thanks & Regards
Sarveshwar.K

On Mon, Jan 23, 2023 at 6:04 PM Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
On Mon, Jan 23, 2023 at 05:54:20PM +0530, sarveshwar k wrote:
> But I see the data is not received at all. I expected read_sample()
> function will be triggered when received on the socket. But I am seeing
> error message from file cmdmon.c file mentioning "Read command packet
> without the source address". I am using Unix Domain socket with SOCK_DGRAM
> option.

That suggests you are sending the message to the cmdmon socket
(default /var/run/chrony/chronyd.sock) instead of the socket specified
by refclock SOCK directive.

--
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.



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