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: Mon, 23 Jan 2023 13:34:34 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1674477277; 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=L1TprHMhpLV1wwnCrxX1Sn4x/4a1GCHl7IDu5OSLIO8=; b=WHIDntf8a6dCruOV1hRQKjJhDCYolc23zDQgC3EWIpviRuERXd4U4hXMhLZF2UjjBrDexJ BCbF0RuzNQvYhO6BaoaiUoBiz80Ub33IMbdY32FBwUJlXVXLxpEnA6Ngg7cgBXjht5tjLP ATW5k5VG9ynmK+sY2+uBCHddKLM65oI=
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.