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