<div dir="auto">You're probably missing the <div dir="auto">mpath="/path/to/kamailio/modules</div><div dir="auto">Or the path is wrong... the errors say it can't find some modules</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Oct 5, 2017 17:27, "Julien Chavanton" <<a href="mailto:jchavanton@gmail.com">jchavanton@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><a href="https://kamailio.org/docs/modules/5.0.x/modules/presence.html" target="_blank">https://kamailio.org/docs/<wbr>modules/5.0.x/modules/<wbr>presence.html</a><br><a href="https://kamailio.org/docs/modules/5.0.x/modules/presence_xml.html" target="_blank">https://kamailio.org/docs/<wbr>modules/5.0.x/modules/<wbr>presence_xml.html</a><br><br><a href="https://github.com/kamailio/kamailio/tree/master/src/modules/presence" target="_blank">https://github.com/kamailio/<wbr>kamailio/tree/master/src/<wbr>modules/presence</a><div><a href="https://github.com/kamailio/kamailio/tree/master/src/modules/presence_xml" target="_blank">https://github.com/kamailio/<wbr>kamailio/tree/master/src/<wbr>modules/presence_xml</a><br><br><br>cd src/module/presence</div><div>make<br>make install</div><div><br></div><div>or<br><div><br></div><div>make include_modules="presence presence_xml" cfg</div><div>make all</div><div>make install</div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 4, 2017 at 2:37 AM, Дмитрий Муров <span dir="ltr"><<a href="mailto:d.murov@lamantin.spb.ru" target="_blank">d.murov@lamantin.spb.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="RU" link="#0563C1" vlink="#954F72"><div class="m_8048364718963681116m_3515723921576977528WordSection1"><p class="MsoNormal"><span lang="EN-US">Hello.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Have installed Kamailio 5.0.3 on CentOS 7 x64 and made all setup according the documentation.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">But when I try to run Kamailio for the 1<sup>st</sup> time it returns an error.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Here’s the log:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">[root@localhost ~]# systemctl start kamailio<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Job for kamailio.service failed because the control process exited with error code. See "systemctl status kamailio.service" and "journalctl -xe" for details.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">[root@localhost ~]# systemctl status kamailio.service -l<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">● kamailio.service - SYSV: Kamailio is a fast, reliable and flexible SIP Server.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> Loaded: loaded (/etc/rc.d/init.d/kamailio; bad; vendor preset: disabled)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> Active: failed (Result: exit-code) since Wed 2017-10-04 12:09:58 MSK; 5s ago<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> Docs: man:systemd-sysv-generator(8)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> Process: 14091 ExecStart=/etc/rc.d/init.d/kam<wbr>ailio start (code=exited, status=1/FAILURE)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">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<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">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)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">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?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">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)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">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?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Oct 04 12:09:58 localhost.localdomain kamailio[14091]: ERROR: bad config file (7 errors)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Oct 04 12:09:58 localhost.localdomain systemd[1]: kamailio.service: control process exited, code=exited status=1<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Oct 04 12:09:58 localhost.localdomain systemd[1]: Failed to start SYSV: Kamailio is a fast, reliable and flexible SIP Server..<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Oct 04 12:09:58 localhost.localdomain systemd[1]: Unit kamailio.service entered failed state.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Oct 04 12:09:58 localhost.localdomain systemd[1]: kamailio.service failed.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Looks like it’s missing the next modules: presence.so and presence_xml.so<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Looked for them in modules directory – nope.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Searched for them in the internet – nope.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Guys, could you help me to fix this error?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">BR, Dmitry<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#212121"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div></div><br>______________________________<wbr>_________________<br>
Kamailio (SER) - Development Mailing List<br>
<a href="mailto:sr-dev@lists.kamailio.org" target="_blank">sr-dev@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-dev</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
Kamailio (SER) - Development Mailing List<br>
<a href="mailto:sr-dev@lists.kamailio.org">sr-dev@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>dev</a><br>
<br></blockquote></div></div>