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: "
thank you, yes, I did have to change these lines according to my install path , these are my settings:
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