[SR-Users] Cannot get service to start

Ginhoux, Patrick patrick.ginhoux at fr.unisys.com
Fri Apr 28 19:49:15 CEST 2017


Hi Stephen,

 

I had similar issues fix by changes in the kamailio.cfg and kamctlrc files, but also in the Kamailio rpm as well recently fixed. Are you using the latest Kamailio 5.0.1 release?

 

If so please review you config file as I think your problem is related to such entries:

 

In my Kamailio.cfg I have the following :

 

!!define DEFINE_FIFO_NAME "/var/run/kamailio/kamailio_rpc_fifo"

 

loadmodule "jsonrpcs.so"

 

modparam("jsonrpcs", "pretty_format", 1)

modparam("jsonrpcs", "transport", 2)

modparam("jsonrpcs", "fifo_name", DEFINE_FIFO_NAME)

modparam("jsonrpcs", "fifo_mode", 0755)

modparam("jsonrpcs", "fifo_group", "kamailio")

modparam("jsonrpcs", "fifo_user", "kamailio")

 

you should have also in the kamctlrc file this enty that matches the one in the Kamailio.cfg :

 

## path to FIFO file for engine RPCFIFO

# RPCFIFOPATH="/var/run/kamailio/kamailio_rpc_fifo"

 

In the latest 5.0.1, the Kamailio script has been change to handle the rights on the /var/run/Kamailio folder.

 

I hope this helps.

 

Cordialement

Patrick GINHOUX

 

De : sr-users [mailto:sr-users-bounces at lists.kamailio.org] De la part de Stephen Tyers
Envoyé : vendredi 28 avril 2017 13:31
À : sr-users at lists.kamailio.org
Objet : [SR-Users] Cannot get service to start

 

Hi Apologies,

 

I was a bit hasty in my previous email, I forgot to run the Chown command

 

I still can’t get the service to start and I’m getting the below error. I’ve gone through all the steps multiple times, please help.

 

/etc/init.d/kamailio start

[....] Starting kamailio (via systemctl): kamailio.serviceFailed to start kamailio.service: Unit kamailio.service failed to load: No such file or directory.

 failed!

 

Kind regards

Stephen tyers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170428/7092668b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 7886 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170428/7092668b/attachment.bin>


More information about the sr-users mailing list