<div dir="ltr">Yes that is the problem. I modified file in init.d to accept higher values in memory settings and it worked.<div><br></div><div>Thank you for your help.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 23, 2016 at 9:08 PM, E. Schmidbauer <span dir="ltr"><<a href="mailto:eschmidbauer@gmail.com" target="_blank">eschmidbauer@gmail.com</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"><span class="">the error says:<br><br><div style="font-size:12.8px">Not starting : invalid configuration file!</div><div><br></div></span><div><div style="font-size:12.8px">Try running it with the path to your configuration file:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">/usr/sbin/kamailio -P /var/run/kamailio.pid -m 125 -M 32 -u kamailio -g kamailio -c [path to kamailio.cfg]<br></div></div><div style="font-size:12.8px"><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Sep 23, 2016 at 10:21 AM, Linux Vince <span dir="ltr"><<a href="mailto:linuxv@gmail.com" target="_blank">linuxv@gmail.com</a>></span> 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"><div dir="ltr">Also i noticed that if i run manually it starts without error<div><br></div><div>/usr/sbin/kamailio -P /var/run/kamailio.pid -m 125 -M 32 -u kamailio -g kamailio<br></div><div><br></div><div>Is there any specific file i need to modify to set these memory values?</div><div><br></div><div>I am using CentOS 6</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 23, 2016 at 6:54 PM, Linux Vince <span dir="ltr"><<a href="mailto:linuxv@gmail.com" target="_blank">linuxv@gmail.com</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">I am getting below error when i start kamailio<div><br></div><div><div>Not starting : invalid configuration file!</div><div><br></div><div> 0(2360) ERROR: <core> [mem/f_malloc.c:415]: fm_search_defrag(): fm_search_defrag(0x7f732c5ff01<wbr>0, 232); Free fragment not found!</div><div> 0(2360) ERROR: <core> [mem/f_malloc.c:498]: fm_malloc(): fm_malloc(0x7f732c5ff010, 232) called from core: route_struct.c: mk_action(118), module: core; Free fragment not found!</div><div> 0(2360) CRITICAL: <core> [route_struct.c:137]: mk_action(): memory allocation failure</div><div> 0(2360) ERROR: <core> [mem/f_malloc.c:415]: fm_search_defrag(): fm_search_defrag(0x7f732c5ff01<wbr>0, 40); Free fragment not found!</div><div> 0(2360) ERROR: <core> [mem/f_malloc.c:498]: fm_malloc(): fm_malloc(0x7f732c5ff010, 40) called from core: cfg.y: yyparse(2636), module: core; Free fragment not found!</div><div> 0(2360) : <core> [cfg.y:3368]: yyerror_at(): parse error in config file /etc/kamailio/proxy.cfg, line 5372, column 3-28: Not enough memory</div><div>ERROR: bad config file (1 errors)</div></div><div><br></div><div><br></div><div>I tried increasing SHM_MEMORY and PKG_MEMORY under /etc/default/kamailio</div><div><br></div><div>I doubled memory but still getting same error.</div><div><br></div><div>Is there any other place i should look at ?</div></div>
</blockquote></div><br></div>
</div></div><br></div></div>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.sip-router.org/cg<wbr>i-bin/mailman/listinfo/sr-user<wbr>s</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br></div>