<div dir="ltr"><div>Hi,</div>
<div> </div>
<div>any help will be graet....</div>
<div> </div>
<div> </div>
<div><em> hi,<br></em>><i><br></i>><i> when i moved the /etc/init.d/kamailio file. kamailio did not start at boot.<br></i>><i> now, i set the debug level to 4 and run kamailio in both ways.<br></i>><i><br></i>><i> 1. "/etc/init.d/kamailio start"<br>
</i>><i><br></i> the resault was :<br><br>*Feb 1 19:59:04 net-ivr-KamIN-J1 kamailio: DEBUG: <core><br>[mem/q_malloc.c:202]: qm_malloc_init: QM_OPTIMIZE=16384, /ROUNDTO=2048<br>Feb 1 19:59:04 net-ivr-KamIN-J1 kamailio: DEBUG: <core><br>
[mem/q_malloc.c:204]: qm_malloc_init: QM_HASH_SIZE=2099, qm_block<br>size=218344<br>Feb 1 19:59:04 net-ivr-KamIN-J1 kamailio: DEBUG: <core><br>[mem/q_malloc.c:205]: qm_malloc_init(0x7f1cf585b000, 2147483648),<br>start=0x7f1cf585b000<br>
Feb 1 19:59:04 net-ivr-KamIN-J1 kamailio: DEBUG: <core><br>[mem/q_malloc.c:213]: qm_malloc_init: size= 2147483648, init_overhead=218440<br>Feb 1 19:59:04 net-ivr-KamIN-J1 kamailio: DEBUG: <core><br>[mem/shm_mem.c:203]: shm_mem_init: success*<br>
<br>><i><br></i>><i> you can see the shm_mem size is 2048Mb.<br></i>><i><br></i><br>2."kamailio"<br>the resault was :<br><br>*Feb 1 19:56:50 net-ivr-KamIN-J1 kamailio: DEBUG: <core><br>[mem/q_malloc.c:202]: qm_malloc_init: QM_OPTIMIZE=16384, /ROUNDTO=2048<br>
Feb 1 19:56:50 net-ivr-KamIN-J1 kamailio: DEBUG: <core><br>[mem/q_malloc.c:204]: qm_malloc_init: QM_HASH_SIZE=2099, qm_block<br>size=218344<br>Feb 1 19:56:50 net-ivr-KamIN-J1 kamailio: DEBUG: <core><br>[mem/q_malloc.c:205]: qm_malloc_init(0x7f8618310000, 33554432),<br>
start=0x7f8618310000<br>Feb 1 19:56:50 net-ivr-KamIN-J1 kamailio: DEBUG: <core><br>[mem/q_malloc.c:213]: qm_malloc_init: size= 33554432, init_overhead=218440<br>Feb 1 19:56:50 net-ivr-KamIN-J1 kamailio: DEBUG: <core><br>
[mem/shm_mem.c:203]: shm_mem_init: success*<br>**<br>the resault is 32Mb.<br><br>any ideas?<br><br><br>><i><br></i>><i> On Wed, Feb 1, 2012 at 5:01 PM, Jason Penton <<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">jason.penton at smilecoms.com</a>>wrote:<br>
</i>><i><br></i>>><i> I am not familiar with Centos but I suspect there is another script being<br></i>>><i> run from somewhere. What I would do is move the /etc/init.d/kamailio script<br></i>>><i> somewhere safe (your home directory for eg). Then reboot and see if<br>
</i>>><i> kamailio still starts - if it does you need to find out whihc script is<br></i>>><i> being called and where it is.<br></i>>><i><br></i>>><i> If you are not running X by default you are prob in runlevel 3. If you<br>
</i>>><i> are running X, then it will be 5. check where you runlevel scripts are<br></i>>><i> pointing. e.g.<br></i>>><i><br></i>>><i> ls -al /etc/rc3.d/SXXkamailio (X = [0-9])<br></i>>><i><br>
</i>>><i> Cheers<br></i>>><i> Jason<br></i>>><i><br></i>>><i> On Wed, Feb 1, 2012 at 4:26 PM, Uri Shacked <<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">uri.shacked at gmail.com</a>>wrote:<br>
</i>>><i><br></i>>>><i> Hi,<br></i>>>><i><br></i>>>><i> when i reboot the machine, it starts with 32Mb and i do not understand<br></i>>>><i> why...<br></i>>>><i> so, does it use a startup file that i am not familiar with?<br>
</i>>>><i> what is the appropriate runlevel? how do i set it and where?<br></i>>>><i><br></i>>>><i> thanks,<br></i>>>><i> Uri<br></i>>>><i><br></i>>>><i><br></i>>>><i> >Hi Sammy,<br>
</i>>>><i> ><br></i>>>><i> >When you use the init script, it is starting Kamailio with the correct<br></i>>>><i> >arguments to get the environment you wish (-m 2048 probably). If<br></i>>>><i> however,<br>
</i>>>><i> >you just call kamailio these args are not there. Im not sure why you are<br></i>>>><i> >running with kamailio command directly. Why don't you add your init<br></i>>>><i> script<br>
</i>>>><i> >to the appropriate runlevel for auto startup?<br></i>>>><i> ><br></i>>>><i> >Cheers<br></i>>>><i> >Jason<br></i>>>><i><br></i>>>><i> On Wed, Feb 1, 2012 at 3:06 PM, Uri Shacked <ushacked at <a href="http://gmail.com">gmail.com</a><<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>>><br>
</i>>>><i> wrote:<br></i>>>><i><br></i>>>><i> >* Hi again....<br></i>>>><i> *>*<br></i>>>><i> *>* i installed kamailio 3.2.2 today.<br></i>>>><i> *>* i used the chkconfig tool to get kamailio run at boot.<br>
</i>>>><i> *>* i edited both /etc/init.d/kamailio and /etc/default/kamailio files<br></i>>>><i> to run<br></i>>>><i> *>* with 2048Mg of memory.<br></i>>>><i> *>* now, when i run /etc/init.d/kamailio start, it starts with the right<br>
</i>>>><i> *>* amount of memory.<br></i>>>><i> *>* when i rum "kamailio" only, it starts with 32Mb....<br></i>>>><i> *>*<br></i>>>><i> *>* i use centos 6.2 64bit.<br>
</i>>>><i> *>* any ideas?<br></i>>>><i> *>*<br></i>>>><i> *>*<br></i>>>><i> *>*<br></i>>>><i> *>*<br></i>>>><i> *>*<br></i>>>><i> *>* On Tue, Oct 25, 2011 at 1:18 PM, Uri Shacked <ushacked at <a href="http://gmail.com">gmail.com</a><<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>>><br>
</i>>>><i> wrote:<br></i>>>><i> *>*<br></i>>>><i> *>>* Hi.<br></i>>>><i> *>>* I already checked it all. The kamailio start and stop command did<br></i>>>><i> not<br>
</i>>>><i> *>>* work. The init script i used was for debian. Now i use another<br></i>>>><i> script,<br></i>>>><i> *>>* for centos. It works. I add the kamailio proccess with chkconfig<br>
</i>>>><i> tool.<br></i>>>><i> *>>* Thanks.<br></i>>>><i> *>>*<br></i>>>><i> *>>* On 10/25/11, Sammy Govind <govoiper at <a href="http://gmail.com">gmail.com</a><<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>>><br>
</i>>>><i> wrote:<br></i>>>><i> *>>* > Thanks Alex,<br></i>>>><i> *>>* ><br></i>>>><i> *>>* > Hey Uri, can you check if you've /etc/init.d/kamailio file<br>
</i>>>><i> exists - open<br></i>>>><i> *>>* > that file if exists and cross verify few parameters.<br></i>>>><i> *>>* > Few of these are as follows<br></i>>>><i> *>>* ><br>
</i>>>><i> *>>* > PATH=/sbin:/bin:/usr/sbin:/usr/bin<br></i>>>><i> *>>* > DAEMON=*/usr/local/sbin/kamailio*<br></i>>>><i> *>>* > NAME=kamailio<br></i>>>><i> *>>* > DESC=kamailio<br>
</i>>>><i> *>>* > HOMEDIR=/var/run/<br></i>>>><i> *>>* > *PIDFILE*=$HOMEDIR/$NAME.pid<br></i>>>><i> *>>* > DEFAULTS=*/etc/default/kamailio.default*<br></i>>>><i> *>>* > RUN_KAMAILIO=yes<br>
</i>>>><i> *>>* ><br></i>>>><i> *>>* > Make sure /etc/default/kamailio.default file exits. here are the<br></i>>>><i> *>>* contents of<br></i>>>><i> *>>* > my file.<br>
</i>>>><i> *>>* ><br></i>>>><i> *>>* > RUN_KAMAILIO=yes<br></i>>>><i> *>>* > USER=kamailio<br></i>>>><i> *>>* > GROUP=kamailio<br></i>>>><i> *>>* > MEMORY=64<br>
</i>>>><i> *>>* > DUMP_CORE=no<br></i>>>><i> *>>* ><br></i>>>><i> *>>* > On Tue, Oct 25, 2011 at 3:38 AM, Klaus Darilion <<br></i>>>><i> *>>* > klaus.mailinglists at <a href="http://pernau.at">pernau.at</a><<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>>><br>
</i>>>><i> wrote:<br></i>>>><i> *>>* ><br></i>>>><i> *>>* >> Test the startupscript if they work:<br></i>>>><i> *>>* >><br></i>>>><i> *>>* >> /etc/init.d/kamailio start<br>
</i>>>><i> *>>* >> /etc/init.d/kamailio stop<br></i>>>><i> *>>* >><br></i>>>><i> *>>* >> If this works, then make sure to have proper symlinks from the<br></i>>>><i> *>>* >> corresponding runlevel to the startup script. Do it manually or<br>
</i>>>><i> use the<br></i>>>><i> *>>* >> chkconfig tool.<br></i>>>><i> *>>* >><br></i>>>><i> *>>* >> klaus<br></i>>>><i> *>>* >><br>
</i>>>><i> *>>* >><br></i>>>><i> *>>* >> On 24.10.2011 08:00, Uri Shacked wrote:<br></i>>>><i> *>>* >><br></i>>>><i> *>>* >>> hi again,<br>
</i>>>><i> *>>* >>> i found out that on my centos 5.4 the command<br></i>>>><i> start-stop-daemon that<br></i>>>><i> *>>* the<br></i>>>><i> *>>* >>> /etc/init.d/kamailio uses is not recognized.<br>
</i>>>><i> *>>* >>> it is kamailio3.2 any ideas?<br></i>>>><i> *>>* >>><br></i>>>><i> *>>* >>><br></i>>>><i> *>>* >>> On Mon, Oct 24, 2011 at 3:03 PM, Uri Shacked <ushacked at<br>
</i>>>><i> <a href="http://gmail.com">gmail.com</a><<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>><br></i>>>><i> *>>* >>> <mailto:<a href="mailto:ushacked">ushacked</a> at <a href="http://gmail.com">gmail.com</a><<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>>>><br>
</i>>>><i> wrote:<br></i>>>><i> *>>* >>><br></i>>>><i> *>>* >>> Hi,<br></i>>>><i> *>>* >>> what is the best way to start kamailio at boot?<br>
</i>>>><i> *>>* >>> the example in the install is not working for me....<br></i>>>><i> *>>* >>><br></i>>>><i> *>>* >>><br></i>>>><i> *<br>
</i>>>><i><br></i>>><i><br></i>>><i> This email is subject to the disclaimer of Smile Communications (PTY) Ltd. at <a href="http://www.smilecoms.com/disclaimer">http://www.smilecoms.com/disclaimer</a><br>
</i>>><i><br></i>>><i><br></i>><i><br></i></div></div>