Re: Chrony not taking SOCKET data from Application

sarveshwar k <[email protected]>
Newsgroups gmane.comp.time.chrony.user
Message-ID <CAAik_Wz0pJacOPFG2nCy49P+tBB+cjACduhEPE5HibP65eUyVQ@mail.gmail.com>
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 <[email protected]>
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-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.