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

David Villasmil david.villasmil.work at gmail.com
Thu Oct 5 18:01:58 CEST 2017


You're probably missing the
mpath="/path/to/kamailio/modules
Or the path is wrong... the errors say it can't find some modules

On Oct 5, 2017 17:27, "Julien Chavanton" <jchavanton at gmail.com> wrote:

> https://kamailio.org/docs/modules/5.0.x/modules/presence.html
> https://kamailio.org/docs/modules/5.0.x/modules/presence_xml.html
>
> https://github.com/kamailio/kamailio/tree/master/src/modules/presence
> https://github.com/kamailio/kamailio/tree/master/src/modules/presence_xml
>
>
> cd src/module/presence
> make
> make install
>
> or
>
> make include_modules="presence presence_xml" cfg
> make all
> make install
>
>
> On Wed, Oct 4, 2017 at 2:37 AM, Дмитрий Муров <d.murov at lamantin.spb.ru>
> wrote:
>
>> 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
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Kamailio (SER) - Development Mailing List
>> sr-dev at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
>>
>>
>
> _______________________________________________
> Kamailio (SER) - Development Mailing List
> sr-dev at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20171005/4fcdb03d/attachment.html>


More information about the sr-dev mailing list