<div dir="ltr">Looks like sh/bash problem.<div>My first line is:</div><div>#! /bin/sh<br></div><div>And may be you miss sh.</div><div>In my case, sh is soft link to dash. Please check your first line in init file, and see if it exists.</div>
<div>If you have bash, you can create soft link to it.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 3, 2013 at 12:02 PM, Ravindra Gowda <span dir="ltr"><<a href="mailto:ravindra@thrikasa.in" target="_blank">ravindra@thrikasa.in</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear All,<br><br><div><div><div><div><br></div>I am trying to integrate 
kamailio 4.0.1 server with Asterisk 11.4.0 in Ubuntu 12.04 LTS version. I
 tried it by using  the following link :<br><br><a href="http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb" target="_blank">http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb</a>.<br>




<br></div></div>But after all, when i tried to start Kmailio server with /etc/init.d/kamailio start command , i am getting the following errors:<br><br>asterisk-kamailio@asterisk-kamailio:/$ sudo /etc/init.d/kamailio start<br>


[sudo] password for asterisk-kamailio: <br>/etc/init.d/kamailio: 1: /etc/init.d/kamailio: sed: not found<br>/etc/init.d/kamailio: 118: /etc/init.d/kamailio: arithmetic expression: expecting primary: ""<br> <br>

</div>
<div>what could be the wrong, and how can i solve it? <br></div><div>Please share your valuable suggestions on this.<br></div><div><br></div>Any help will greatly appreciate.<br><br clear="all"><div><div><div style>

<b>Thank you and Best regards,</b></div><div><b style="color:rgb(51,51,255)">R Ravindra </b><b><span style="color:rgb(51,51,255)">Gowda</span></b><br><b style="color:rgb(204,51,204)">Engineer - Systems and Products</b><span style="color:rgb(204,51,204)">.</span><br>


<br></div><div style><b>Thrikasa Technologies<span><span style="background-color:rgb(51,255,255)"></span></span></b></div><div style="color:rgb(51,102,102)"><b>| Office: +91 40 23260434<br>| Mob: +918885284050<br>

</b></div><div style="color:rgb(51,102,102)"><b>| Fax:+91 40 23221045</b></div><div style="color:rgb(51,102,102)"><b>| email: <a href="mailto:ravindra@thrikasa.in" target="_blank">ravindra@thrikasa.in</a></b></div><div style="color:rgb(51,102,102)">


<b>| Web: <a href="http://www.thrikasa.in" target="_blank">www.thrikasa.in</a></b></div><div><br></div><div>'If you don't give up,you cannot fail'. <br><br>The information contained in this communication is proprietary to Thrikasa Technologies., and/or third parties, may contain classified or privileged information, and is intended only for the use of the intended addressee thereof. If you are not the intended addressee, please be aware that any use, disclosure, distribution and/or copying of this communication is strictly prohibited.If you receive this communication in error, please notify the sender immediately and delete it from your computer.</div>


</div>
</div></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">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/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>