when starting from the "sbin" directory it uses this as default:
"/var/run/kamailio.pid"...I changed it to
"PID_FILE=/var/run/kamailio/kamailio.pid" and it works fine as well
the PID_FILE in the " /etc/init.d/kamailio" file is also that one: "
PID_FILE=/var/run/kamailio/kamailio.pid" and that
thank you, yes, I did have to change these lines according to my install path ,
these are my settings:
KAM=/usr/local/kamailio-4.4/sbin/kamailio
KAMCFG=/usr/local/kamailio-4.4/etc/kamailio/kamailio.cfg
PROG=kamailio
PID_FILE=/var/run/kamailio.pid
LOCK_FILE=/var/lock/subsys/kamailio
RETVAL=0
: sr-users@lists.sip-router.org
Betreff: [SR-Users] Kamailio 4.4 wont start on CentOS 7 using script
Hello
I installed/compiled version 4.4 on CentOS 7. When I start the server like
this: "./kamctl start" it works but when I try to use the script:
"/etc/init.d/kamailio" it fails
Hi,
I'm not sure about Centos 7, but on Centos 6, you need to update kamailio
init.d script to make it work. Following lines should be updated:
KAM=/usr/local/sbin/kamailio
KAMCFG=/usr/local/etc/kamailio/kamailio.cfg
PROG=kamailio
PID_FILE=/var/run/kamailio/kamailio.pid
And you need to create
Hello
I installed/compiled version 4.4 on CentOS 7. When I start the server like
this: "./kamctl start" it works but when I try to use the script:
"/etc/init.d/kamailio" it fails
[root@ar-mia-proxy-01 sbin]# /etc/init.d/kamailio start
Starting kamailio (via systemctl): Job for