Hello,
probably CFGFILE variable was removed on the latest updates done to the init.d script. You can add it and replace the occurrences of the kamailio.cfg path.
On the other hand, you can just do:
make install-initd-debian
and the paths should be updated and the init.d scripts deployed.
Cheers,
Daniel
On 16/02/14 13:44, Francesco Maria Magnini wrote:
_______________________________________________Hi,
following the documentation, the following lines need to be updated on the init.d script.
DAEMON=/usr/local/sbin/kamailio
CFGFILE=/usr/local/etc/kamailio/kamailio.cfg
Anyway, there is no CFGFILE already setted.
Is it correct to add CFGFILE along with DAEMON?
On top of this, in the check_fork () procedure, there’s a reference to a cfg_file that is nonexistent.
In my installation i changed it to the real path of the kamailio.cfg file generated during installation.
check_fork ()
{
if grep -q "^[[:space:]]*fork[[:space:]]*=[[:space:]]*no.*" /usr/local/etc/kamailio/kamailio.cfg; then
log_failure_msg "Not starting $DESC: fork=no specified in config file; run /etc/init.d/kamailio debug instead"
exit 0
fi
}
Is it correct to change path in the check_fork procedure with the correct one?
Regards,
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users