<div dir="ltr"><div class="gmail_quote"><div dir="ltr">hello all,<div><br></div><div>I am new to kamailio on centos 7 and i have finished installation following steps below;</div><div><br></div><div><a href="http://computingforgeeks.com/how-to-install-latest-kamailio-sip-server-on-centos-7/" target="_blank">http://computingforgeeks.com/<wbr>how-to-install-latest-<wbr>kamailio-sip-server-on-centos-<wbr>7/</a><br></div><div><br></div><div>but when i try to startup service i get fail with below how can this be resolved?</div><div><br></div><div><div>[root@li1496-213 ~]# systemctl status kamailio.service -l</div><div>● kamailio.service - SYSV: Kamailio is a fast, reliable and flexible SIP Server.</div><div> Loaded: loaded (/etc/rc.d/init.d/kamailio; bad; vendor preset: disabled)</div><div> Active: failed (Result: exit-code) since Wed 2017-06-07 12:16:26 UTC; 1min 59s ago</div><div> Docs: man:systemd-sysv-generator(8)</div><div> Process: 26015 ExecStart=/etc/rc.d/init.d/<wbr>kamailio start (code=exited, status=1/FAILURE)</div><div><br></div><div>Jun 07 12:16:26 <a href="http://li1496-213.members.linode.com" target="_blank">li1496-213.members.linode.com</a> kamailio[26015]: 0(26023) ERROR: <core> [core/cfg.y:3264]: yyparse(): cfg. parser: failed to find command handle_publish (params 0)</div><div>Jun 07 12:16:26 <a href="http://li1496-213.members.linode.com" target="_blank">li1496-213.members.linode.com</a> kamailio[26015]: 0(26023) CRITICAL: <core> [core/cfg.y:3404]: yyerror_at(): parse error in config file //etc/kamailio/kamailio.cfg, line 715, column 18: unknown command, missing loadmodule?</div><div>Jun 07 12:16:26 <a href="http://li1496-213.members.linode.com" target="_blank">li1496-213.members.linode.com</a> kamailio[26015]: 0(26023) ERROR: <core> [core/cfg.y:3264]: yyparse(): cfg. parser: failed to find command handle_subscribe (params 0)</div><div>Jun 07 12:16:26 <a href="http://li1496-213.members.linode.com" target="_blank">li1496-213.members.linode.com</a> kamailio[26015]: 0(26023) CRITICAL: <core> [core/cfg.y:3404]: yyerror_at(): parse error in config file //etc/kamailio/kamailio.cfg, line 718, column 20: unknown command, missing loadmodule?</div><div>Jun 07 12:16:26 <a href="http://li1496-213.members.linode.com" target="_blank">li1496-213.members.linode.com</a> kamailio[26015]: ERROR: bad config file (7 errors)</div><div>Jun 07 12:16:26 <a href="http://li1496-213.members.linode.com" target="_blank">li1496-213.members.linode.com</a> kamailio[26015]: 0(26023) INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized</div><div>Jun 07 12:16:26 <a href="http://li1496-213.members.linode.com" target="_blank">li1496-213.members.linode.com</a> systemd[1]: kamailio.service: control process exited, code=exited status=1</div><div>Jun 07 12:16:26 <a href="http://li1496-213.members.linode.com" target="_blank">li1496-213.members.linode.com</a> systemd[1]: Failed to start SYSV: Kamailio is a fast, reliable and flexible SIP Server..</div><div>Jun 07 12:16:26 <a href="http://li1496-213.members.linode.com" target="_blank">li1496-213.members.linode.com</a> systemd[1]: Unit kamailio.service entered failed state.</div><div>Jun 07 12:16:26 <a href="http://li1496-213.members.linode.com" target="_blank">li1496-213.members.linode.com</a> systemd[1]: kamailio.service failed.</div></div><div><br></div><div><br></div><div>regards</div><div><br></div><div>chris</div><div><br></div><div><br></div></div>
</div><br></div>