Re: Chrony not taking SOCKET data from Application

Miroslav Lichvar <[email protected]>
Newsgroups gmane.comp.time.chrony.user
Message-ID <Y85+2rmHqR51v18+@localhost>
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.