It looks like the compile defaults of the ctl and mi_fifo module and the default kamailio.conf/kamctlrc conflict.
kamailio tries to open: /tmp/buildd/kamailio-4.3.1+jessie/debian/kamailio/var/run/kamailio//kamailio_ctl /tmp/buildd/kamailio-4.3.1+jessie/debian/kamailio/var/run/kamailio/kamailio_fifo
and will fail to run, unless explicitly set to conf paths are set to /var/run/kamailio/kamailio_(ctl|fifo)
Shouldn't they be /tmp/kamailio_fifo and /tmp/kamailio_ctl in 4.3.x?
2015-08-10 13:10 GMT+03:00 Daniel Tryba d.tryba@pocos.nl:
It looks like the compile defaults of the ctl and mi_fifo module and the default kamailio.conf/kamctlrc conflict.
kamailio tries to open:
/tmp/buildd/kamailio-4.3.1+jessie/debian/kamailio/var/run/kamailio//kamailio_ctl
/tmp/buildd/kamailio-4.3.1+jessie/debian/kamailio/var/run/kamailio/kamailio_fifo
and will fail to run, unless explicitly set to conf paths are set to /var/run/kamailio/kamailio_(ctl|fifo)
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
On Monday 10 August 2015 13:12:12 Alexandru Covalschi wrote:
Shouldn't they be /tmp/kamailio_fifo and /tmp/kamailio_ctl in 4.3.x?
Putting these files in /tmp makes it possible for mortal users to prevent a service from running by simply creating a file/dir (unless startup scripts forcefully remove them first and then there still is a possible race condition in actually creating the file/dir).
Hmf... I saw the advice to put them on /tmp/ somewhere on mailing lists and had same thoughts. Thanks, will fix that on my servers!
2015-08-10 14:16 GMT+03:00 Daniel Tryba d.tryba@pocos.nl:
On Monday 10 August 2015 13:12:12 Alexandru Covalschi wrote:
Shouldn't they be /tmp/kamailio_fifo and /tmp/kamailio_ctl in 4.3.x?
Putting these files in /tmp makes it possible for mortal users to prevent a service from running by simply creating a file/dir (unless startup scripts forcefully remove them first and then there still is a possible race condition in actually creating the file/dir).
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