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 <mlich...@redhat.com>
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-requ...@chrony.tuxfamily.org
> with "unsubscribe" in the subject.
> For help email chrony-users-requ...@chrony.tuxfamily.org
> with "help" in the subject.
> Trouble?  Email listmas...@chrony.tuxfamily.org.
>
>

Reply via email to