Hello, This is kamailio version 5.8.2 and we`re having this issue every now and then. The error displayed is:
** ERROR: Error opening Kamailio's FIFO /run/kamailio/kamailio_rpc.fifo ** ERROR: Make sure you have loaded the jsonrpcs module and set FIFO transport parameters
The problem is that the FIFO file /run/kamailio/kamailio_rpc.fifo doesn't exist, even though the "jsonrpc" module is in the Kamailio configuration, and the file is created when Kamailio service is restarted. But as mentioned, after few days the issue is repeated.
I`ll appreciate any suggestion or advice of what I should check. Thank you!
Hello,
If its created on startup, somehow the file gets deleted, maybe some cleanup job that is running on your system?
Cheers,
Henning
-----Original Message----- From: Matias via sr-users sr-users@lists.kamailio.org Sent: Tuesday, October 22, 2024 2:51 AM To: sr-users@lists.kamailio.org Cc: matilopi17@gmail.com Subject: [SR-Users] Error opening Kamailio's FIFO /run/kamailio/kamailio_rpc.fifo
Hello, This is kamailio version 5.8.2 and we`re having this issue every now and then. The error displayed is:
** ERROR: Error opening Kamailio's FIFO /run/kamailio/kamailio_rpc.fifo ** ERROR: Make sure you have loaded the jsonrpcs module and set FIFO transport parameters
The problem is that the FIFO file /run/kamailio/kamailio_rpc.fifo doesn't exist, even though the "jsonrpc" module is in the Kamailio configuration, and the file is created when Kamailio service is restarted. But as mentioned, after few days the issue is repeated.
I`ll appreciate any suggestion or advice of what I should check. Thank you! __________________________________________________________ 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:
Hi Henning, thanks for the reply.
There is a crontab job in the server for letsencrypt certificate renewal, which performs a "kamctl rpc tls.reload" when reloading Kamailio TLS configuration if applicable. Can it be related with the missing FIFO file issue?
Regards.
Hello,
this is pretty standard usage; it should not cause the file to disappear.
Cheers,
Henning
-----Original Message----- From: Matias via sr-users sr-users@lists.kamailio.org Sent: Dienstag, 29. Oktober 2024 02:51 To: sr-users@lists.kamailio.org Cc: matilopi17@gmail.com Subject: [SR-Users] Re: Error opening Kamailio's FIFO /run/kamailio/kamailio_rpc.fifo
Hi Henning, thanks for the reply.
There is a crontab job in the server for letsencrypt certificate renewal, which performs a "kamctl rpc tls.reload" when reloading Kamailio TLS configuration if applicable. Can it be related with the missing FIFO file issue?
Regards. __________________________________________________________ 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:
Matias.
Check for some non-obvious cronjobs on the server. I do recall file was deleted when put on /tmp/ folder (which is correct, actually). Or some config system settings (if you are using something like this)
There are no miracles usually
Le mar. 29 oct. 2024 à 10:53, Henning Westerholt via sr-users < sr-users@lists.kamailio.org> a écrit :
Hello,
this is pretty standard usage; it should not cause the file to disappear.
Cheers,
Henning
-----Original Message----- From: Matias via sr-users sr-users@lists.kamailio.org Sent: Dienstag, 29. Oktober 2024 02:51 To: sr-users@lists.kamailio.org Cc: matilopi17@gmail.com Subject: [SR-Users] Re: Error opening Kamailio's FIFO /run/kamailio/kamailio_rpc.fifo
Hi Henning, thanks for the reply.
There is a crontab job in the server for letsencrypt certificate
renewal, which
performs a "kamctl rpc tls.reload" when reloading Kamailio TLS
configuration if
applicable. Can it be related with the missing FIFO file issue?
Regards. __________________________________________________________ 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:
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:
Hello, create it manually: mkfifo /run/kamailio/kamailio_rpc.fifo
Regards, Ilie
On Tue 22 Oct 2024, 02:37 Matias via sr-users, sr-users@lists.kamailio.org wrote:
Hello, This is kamailio version 5.8.2 and we`re having this issue every now and then. The error displayed is:
** ERROR: Error opening Kamailio's FIFO /run/kamailio/kamailio_rpc.fifo ** ERROR: Make sure you have loaded the jsonrpcs module and set FIFO transport parameters
The problem is that the FIFO file /run/kamailio/kamailio_rpc.fifo doesn't exist, even though the "jsonrpc" module is in the Kamailio configuration, and the file is created when Kamailio service is restarted. But as mentioned, after few days the issue is repeated.
I`ll appreciate any suggestion or advice of what I should check. Thank you! __________________________________________________________ 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: