<div dir="ltr">Hi Peter,<br>I used the command<br> "<b>/usr/bin/echo '{"command":"lease4-get-all"}' | /usr/bin/socat - UNIX:/opt/dhcp/dhcp/kea4-ctrl-socket | /usr/bin/jq</b>".<br>Sorry, I sent the wrong command in the mail.<br>The logs I am getting are<br><br>2023-06-15 10:24:21.508 DEBUG [kea-dhcp4.http/20092.140380769056512] HTTP_SERVER_RESPONSE_SEND sending HTTP response HTTP/1.1 200 OK to 192.168.0.46<br>2023-06-15 10:24:21.508 DEBUG [kea-dhcp4.http/20092.140380769056512] HTTP_SERVER_RESPONSE_SEND_DETAILS detailed information about response sent to <a href="http://192.168.0.46">192.168.0.46</a>:<br>HTTP/1.1 200 OK<br>Content-Length: 195<br>Content-Type: application/json<br>Date: Thu, 15 Jun 2023 10:24:21 GMT<br>[ { "arguments": { "date-time": "Thu, 15 Jun 2023 10:24:21 GMT", "scopes": [ "server-47" ], "state": "hot-standby", "unsent-update-count": 0 }, "result": 0, "text": "HA peer status returned." } ]<br>2023-06-15 10:24:22.069 ERROR [kea-dhcp4.commands/20092.140381017815232] COMMAND_SOCKET_WRITE_FAIL Error while writing to command socket 35 : Broken pipe<br>2023-06-15 10:24:22.069 DEBUG [kea-dhcp4.commands/20092.140381017815232] COMMAND_SOCKET_CONNECTION_CLOSED Closed socket 35 for existing command connection<br><br>Thank you.<div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 15 Jun 2023 at 14:54, Peter Davies <<a href="mailto:peterd@isc.org">peterd@isc.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><div><div style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration:none"><div>Hi Shobhith</div><div>  You echo the command to /opt/tcpwave/timsdhcp/kea4-ctrl-socket </div><div><br></div><div>But according to your Kea configuration</div><div>socket-name": "/opt/dhcp/dhcp/kea4-ctrl-socket"</div><div><br></div><div>If this is a typo you may find extra info in your Kea log file</div><div><br></div><div>Kind Regards Peter</div></div></div></div></div>-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
</blockquote></div>