Hi Shobhith, Out of curiosity, how many leases are you expecting to be returned? Perhaps it is such a large amount that some limits are being encountered? You might have to use 'lease4-get-page': https://kea.readthedocs.io/en/kea-2.2.0/arm/hooks.html#the-lease4-get-page-lease6-get-page-commands
Thank you, Darren Ankney On Thu, Jun 15, 2023 at 6:31 AM Shobhith Chikku <shobhithchi...@gmail.com> wrote: > > Hi Peter, > I used the command > "/usr/bin/echo '{"command":"lease4-get-all"}' | /usr/bin/socat - > UNIX:/opt/dhcp/dhcp/kea4-ctrl-socket | /usr/bin/jq". > Sorry, I sent the wrong command in the mail. > The logs I am getting are > > 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 > 2023-06-15 10:24:21.508 DEBUG [kea-dhcp4.http/20092.140380769056512] > HTTP_SERVER_RESPONSE_SEND_DETAILS detailed information about response sent to > 192.168.0.46: > HTTP/1.1 200 OK > Content-Length: 195 > Content-Type: application/json > Date: Thu, 15 Jun 2023 10:24:21 GMT > [ { "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." } ] > 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 > 2023-06-15 10:24:22.069 DEBUG [kea-dhcp4.commands/20092.140381017815232] > COMMAND_SOCKET_CONNECTION_CLOSED Closed socket 35 for existing command > connection > > Thank you. > > > On Thu, 15 Jun 2023 at 14:54, Peter Davies <pet...@isc.org> wrote: >> >> Hi Shobhith >> You echo the command to /opt/tcpwave/timsdhcp/kea4-ctrl-socket >> >> But according to your Kea configuration >> socket-name": "/opt/dhcp/dhcp/kea4-ctrl-socket" >> >> If this is a typo you may find extra info in your Kea log file >> >> Kind Regards Peter >> -- >> ISC funds the development of this software with paid support subscriptions. >> Contact us at https://www.isc.org/contact/ for more information. >> >> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. >> >> Kea-users mailing list >> Kea-users@lists.isc.org >> https://lists.isc.org/mailman/listinfo/kea-users > > -- > ISC funds the development of this software with paid support subscriptions. > Contact us at https://www.isc.org/contact/ for more information. > > To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. > > Kea-users mailing list > Kea-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/kea-users -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users