KAMAILIO STARTUP ERROR

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

KAMAILIO STARTUP ERROR

christopher kamutumwa
hello all,

I am new to kamailio on centos 7 and i have finished installation following steps below;


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



_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Reply | Threaded
Open this post in threaded view
|

Fwd: KAMAILIO STARTUP ERROR

christopher kamutumwa
hello all,

I am new to kamailio on centos 7 and i have finished installation following steps below;


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




_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: KAMAILIO STARTUP ERROR

Ginhoux, Patrick

Hi,

 

I’m not an expert, but you could find more details in the /var/log/Kamailio.log. You could increase the debug level too to get more info.

 

From your extract, it seems you use the Presence module so you must ensure that your Kamailio.cfg contains the loadmodule instructions for this module.

 

Cordialement

Patrick GINHOUX

 

De : sr-users [mailto:[hidden email]] De la part de christopher kamutumwa
Envoyé : mercredi 7 juin 2017 20:55
À : [hidden email]
Objet : [SR-Users] Fwd: KAMAILIO STARTUP ERROR

 

hello all,

 

I am new to kamailio on centos 7 and i have finished installation following steps below;

 

 

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

 

 

 


_______________________________________________
Kamailio (SER) - Users Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

smime.p7s (10K) Download Attachment