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 ?
Is the user you are running this from have the permissions to access kamailio?
I lock down my users so unless I use the one that installed the software, or has permissions to see/run software it gives that error.
Thanks,
John.
On Thu, 24 Oct 2024 at 12:59, satyaprakash ch via sr-users < sr-users@lists.kamailio.org> wrote:
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 ? __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
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 ?
Hi,
The ctl module is there, loadmodule "ctl.so".
Any suggestions?.
On Thu, Oct 24, 2024 at 7:20 PM Ben Kaufman bkaufman@bcmone.com wrote:
- Is the CTL module loaded?
- 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 ?
Sorry, I misread and thought you were using kamcmd. For this, make sure that the jsonrpcs module is loaded and then check what it's modparams.
Regards, Kaufman
________________________________ From: satyaprakash ch chiramchetty.satyaprakash@gmail.com Sent: Friday, October 25, 2024 3:12 AM To: Ben Kaufman bkaufman@bcmone.com Cc: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Subject: Re: [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,
The ctl module is there, loadmodule "ctl.so".
Any suggestions?.
On Thu, Oct 24, 2024 at 7:20 PM Ben Kaufman <bkaufman@bcmone.commailto:bkaufman@bcmone.com> wrote:
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.orgmailto:sr-users@lists.kamailio.org> Sent: Thursday, October 24, 2024 5:46 AM To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org> Cc: satyaprakash ch <chiramchetty.satyaprakash@gmail.commailto: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 ?