1. Is the CTL module loaded?
  2. What is the value of the modparam for CTL's binrpc? (note this can be set multiple times).
If binrpc is in a non-standard location, you can pass the target to kamcmd using the -s option.

Regards,
Kaufman



From: satyaprakash ch via sr-users <sr-users@lists.kamailio.org>
Sent: Thursday, October 24, 2024 5:46 AM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Cc: satyaprakash ch <chiramchetty.satyaprakash@gmail.com>
Subject: [SR-Users] Issue with Retrieving Kamailio Statistics: Missing FIFO File and Errors
 

CAUTION: This email originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


Hi,

I'm encountering an issue while trying to retrieve Kamailio statistics on the server using the command kamctl stats. Instead of the expected output, I am receiving the following errors:

kamctl stats:
-e \E[37;31mERROR: Error opening Kamailio's FIFO /run/kamailio/kamailio_rpc.fifo
-e \E[37;31mERROR: Make sure you have loaded the jsonrpcs module and set FIFO transport parameters

Additionally, the file /run/kamailio/kamailio_rpc.fifo does not exist.

Could you please provide suggestions ?