[sr-dev] Problem with 1st run of Kamailio

Дмитрий Муров d.murov at lamantin.spb.ru
Wed Oct 4 11:37:41 CEST 2017


Hello.

 

Have installed Kamailio 5.0.3 on CentOS 7 x64 and made all setup according the documentation.

But when I try to run Kamailio for the 1st time it returns an error.

Here’s the log:

 

[root at localhost ~]# systemctl start kamailio

Job for kamailio.service failed because the control process exited with error code. See "systemctl status kamailio.service" and "journalctl -xe" for details.

 

[root at localhost ~]# 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-10-04 12:09:58 MSK; 5s ago

     Docs: man:systemd-sysv-generator(8)

  Process: 14091 ExecStart=/etc/rc.d/init.d/kamailio start (code=exited, status=1/FAILURE)

 

Oct 04 12:09:58 localhost.localdomain kamailio[14091]: 0(14101) : <core> [cfg.y:3426]: yyerror_at(): parse error in config file //etc/kamailio/kamailio.cfg, line 412, column 43: Can't set module parameter

Oct 04 12:09:58 localhost.localdomain kamailio[14091]: 0(14101) ERROR: <core> [cfg.y:3286]: yyparse(): cfg. parser: failed to find command handle_publish (params 0)

Oct 04 12:09:58 localhost.localdomain kamailio[14091]: 0(14101) : <core> [cfg.y:3426]: yyerror_at(): parse error in config file //etc/kamailio/kamailio.cfg, line 719, column 18: unknown command, missing loadmodule?

Oct 04 12:09:58 localhost.localdomain kamailio[14091]: 0(14101) ERROR: <core> [cfg.y:3286]: yyparse(): cfg. parser: failed to find command handle_subscribe (params 0)

Oct 04 12:09:58 localhost.localdomain kamailio[14091]: 0(14101) : <core> [cfg.y:3426]: yyerror_at(): parse error in config file //etc/kamailio/kamailio.cfg, line 722, column 20: unknown command, missing loadmodule?

Oct 04 12:09:58 localhost.localdomain kamailio[14091]: ERROR: bad config file (7 errors)

Oct 04 12:09:58 localhost.localdomain systemd[1]: kamailio.service: control process exited, code=exited status=1

Oct 04 12:09:58 localhost.localdomain systemd[1]: Failed to start SYSV: Kamailio is a fast, reliable and flexible SIP Server..

Oct 04 12:09:58 localhost.localdomain systemd[1]: Unit kamailio.service entered failed state.

Oct 04 12:09:58 localhost.localdomain systemd[1]: kamailio.service failed.

 

Looks like it’s missing the next modules: presence.so and presence_xml.so

Looked for them in modules directory – nope.

Searched for them in the internet – nope.

 

Guys, could you help me to fix this error?

 

BR, Dmitry

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20171004/4fe37c33/attachment.html>


More information about the sr-dev mailing list