<div dir="ltr"><div>Hi again....</div>
<div> </div>
<div>i installed kamailio 3.2.2 today.</div>
<div>i used the chkconfig tool to get kamailio run at boot.</div>
<div>i edited both /etc/init.d/kamailio and /etc/default/kamailio files to run with 2048Mg of memory.</div>
<div>now, when i run /etc/init.d/kamailio start, it starts with the right amount of memory.</div>
<div>when i rum "kamailio" only, it starts with 32Mb....</div>
<div> </div>
<div>
<div>i use centos 6.2 64bit.</div></div>
<div>any ideas?</div>
<div> </div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">On Tue, Oct 25, 2011 at 1:18 PM, Uri Shacked <span dir="ltr"><<a href="mailto:ushacked@gmail.com">ushacked@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">Hi.<br>I already checked it all. The kamailio start and stop command did not<br>work. The init script i used was for debian. Now i use another script,<br>
for centos. It works. I add the kamailio proccess with chkconfig tool.<br>Thanks.<br>
<div class="im"><br>On 10/25/11, Sammy Govind <<a href="mailto:govoiper@gmail.com">govoiper@gmail.com</a>> wrote:<br>> Thanks Alex,<br>><br>> Hey Uri, can you check if you've /etc/init.d/kamailio file exists - open<br>
> that file if exists and cross verify few parameters.<br>> Few of these are as follows<br>><br>> PATH=/sbin:/bin:/usr/sbin:/usr/bin<br></div>> DAEMON=*/usr/local/sbin/kamailio*<br>> NAME=kamailio<br>> DESC=kamailio<br>
> HOMEDIR=/var/run/<br>> *PIDFILE*=$HOMEDIR/$NAME.pid<br>> DEFAULTS=*/etc/default/kamailio.default*<br>
<div>
<div class="h5">> RUN_KAMAILIO=yes<br>><br>> Make sure /etc/default/kamailio.default file exits. here are the contents of<br>> my file.<br>><br>> RUN_KAMAILIO=yes<br>> USER=kamailio<br>> GROUP=kamailio<br>
> MEMORY=64<br>> DUMP_CORE=no<br>><br>> On Tue, Oct 25, 2011 at 3:38 AM, Klaus Darilion <<br>> <a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a>> wrote:<br>><br>>> Test the startupscript if they work:<br>
>><br>>> /etc/init.d/kamailio start<br>>> /etc/init.d/kamailio stop<br>>><br>>> If this works, then make sure to have proper symlinks from the<br>>> corresponding runlevel to the startup script. Do it manually or use the<br>
>> chkconfig tool.<br>>><br>>> klaus<br>>><br>>><br>>> On 24.10.2011 08:00, Uri Shacked wrote:<br>>><br>>>> hi again,<br>>>> i found out that on my centos 5.4 the command start-stop-daemon that the<br>
>>> /etc/init.d/kamailio uses is not recognized.<br>>>> it is kamailio3.2 any ideas?<br>>>><br>>>><br>>>> On Mon, Oct 24, 2011 at 3:03 PM, Uri Shacked <<a href="mailto:ushacked@gmail.com">ushacked@gmail.com</a><br>
>>> <mailto:<a href="mailto:ushacked@gmail.com">ushacked@gmail.com</a>>> wrote:<br>>>><br>>>> Hi,<br>>>> what is the best way to start kamailio at boot?<br>>>> the example in the install is not working for me....<br>
>>><br>>>><br>>>><br>>>><br></div></div>>>> ______________________________**_________________<br>
<div class="im">>>> 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></div>>>> <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><<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>>><br>>> ______________________________**_________________<br>
<div class="im">>> 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></div>>> <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><<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>><br><span class="HOEnZb"><font color="#888888"><br>--<br>Sent from my mobile device<br></font></span></blockquote></div><br></div>