Yes that is the problem. I modified file in init.d to accept higher values in memory settings and it worked.
Thank you for your help. On Fri, Sep 23, 2016 at 9:08 PM, E. Schmidbauer <eschmidba...@gmail.com> wrote: > the error says: > > Not starting : invalid configuration file! > > Try running it with the path to your configuration file: > > /usr/sbin/kamailio -P /var/run/kamailio.pid -m 125 -M 32 -u kamailio -g > kamailio -c [path to kamailio.cfg] > > > > > > On Fri, Sep 23, 2016 at 10:21 AM, Linux Vince <lin...@gmail.com> wrote: > >> Also i noticed that if i run manually it starts without error >> >> /usr/sbin/kamailio -P /var/run/kamailio.pid -m 125 -M 32 -u kamailio -g >> kamailio >> >> Is there any specific file i need to modify to set these memory values? >> >> I am using CentOS 6 >> >> On Fri, Sep 23, 2016 at 6:54 PM, Linux Vince <lin...@gmail.com> wrote: >> >>> I am getting below error when i start kamailio >>> >>> Not starting : invalid configuration file! >>> >>> 0(2360) ERROR: <core> [mem/f_malloc.c:415]: fm_search_defrag(): >>> fm_search_defrag(0x7f732c5ff010, 232); Free fragment not found! >>> 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! >>> 0(2360) CRITICAL: <core> [route_struct.c:137]: mk_action(): memory >>> allocation failure >>> 0(2360) ERROR: <core> [mem/f_malloc.c:415]: fm_search_defrag(): >>> fm_search_defrag(0x7f732c5ff010, 40); Free fragment not found! >>> 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! >>> 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 >>> ERROR: bad config file (1 errors) >>> >>> >>> I tried increasing SHM_MEMORY and PKG_MEMORY under /etc/default/kamailio >>> >>> I doubled memory but still getting same error. >>> >>> Is there any other place i should look at ? >>> >> >> >> _______________________________________________ >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >> sr-users@lists.sip-router.org >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >> >> > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > >
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users