<div dir="ltr">Hi,<div><br></div><div>i tried make install-initd-debian.</div><div><br></div><div>For your information, after starting kamailio the output is still saying</div><div><br></div><div>"grep: /etc/kamailio/kamailio.cgf file not found"<br>
</div><div><br></div><div>even if the service is starting fine.</div><div>Can I left the init.d script unchanged or do I need to update manually the cfg path?</div><div>Is there a way to check if kamailio is pointing to the .cfg file properly?</div>
<div><br></div><div>Regards</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Feb 16, 2014 at 11:10 PM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
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.<br>
<br>
On the other hand, you can just do:<br>
<br>
make install-initd-debian<br>
<br>
and the paths should be updated and the init.d scripts deployed.<br>
<br>
Cheers,<br>
Daniel<div><div class="h5"><br>
<br>
On 16/02/14 13:44, Francesco Maria Magnini wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi,<br>
<br>
following the documentation, the following lines need to be updated on the init.d script.<br>
<br>
DAEMON=/usr/local/sbin/<u></u>kamailio<br>
CFGFILE=/usr/local/etc/<u></u>kamailio/kamailio.cfg<br>
<br>
Anyway, there is no CFGFILE already setted.<br>
Is it correct to add CFGFILE along with DAEMON?<br>
<br>
On top of this, in the check_fork () procedure, there’s a reference to a cfg_file that is nonexistent.<br>
In my installation i changed it to the real path of the kamailio.cfg file generated during installation.<br>
<br>
check_fork ()<br>
{<br>
     if grep -q "^[[:space:]]*fork[[:space:]]*<u></u>=[[:space:]]*no.*" /usr/local/etc/kamailio/<u></u>kamailio.cfg; then<br>
         log_failure_msg "Not starting $DESC: fork=no specified in config file; run /etc/init.d/kamailio debug instead"<br>
         exit 0<br>
     fi<br>
}<br>
<br>
Is it correct to change path in the check_fork procedure with the correct one?<br>
<br>
Regards,<br></div></div>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/<u></u>miconda</a><br>
<br>
<br>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>“I videogiochi non influenzano i bambini.<br>Voglio dire, se pac-man avesse influenzato la nostra generazione,<br>staremmo tutti saltando in sale scure,<br>
masticando pillole magiche e ascoltando musica elettronica<br>ripetitiva...”<br><br>(Kristian Wilson, Nintendo Inc, 1989)
</div>