Re: [SR-Users] Cannot get service to start

2017-04-28 Thread Ginhoux, Patrick
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-boun...@lists.kamailio.org] De la part de 
Stephen Tyers
Envoyé : vendredi 28 avril 2017 13:31
À : sr-users@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



smime.p7s
Description: S/MIME cryptographic signature
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Cannot get service to start

2017-04-28 Thread Stephen Tyers
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
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users