<div dir="ltr">Sorry, this is on a:<div><br></div><div><div><font face="monospace, monospace">cat /etc/debian_version</font></div><div><font face="monospace, monospace">8.4</font></div></div></div><div hspace="streak-pt-mark" style="max-height:1px"><img style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=1678b286-d033-4f1f-aaa5-cf3ee13823ea"><font color="#ffffff" size="1">ᐧ</font></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div>
<br><div class="gmail_quote">On Mon, Mar 27, 2017 at 7:05 PM, David Villasmil <span dir="ltr"><<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello guys,</div><div><br></div><div>I have in my apt the nightly build repo, which i use fairly regularly for testing.</div><div>Today i tried installing kamailio 5 and got the following:</div><div><br></div><div><br></div><div><font face="monospace, monospace"># apt-get install -y kamailio<br>Reading package lists... Done<br>Building dependency tree<br>Reading state information... Done<br>The following packages were automatically installed and are no longer required:<br>  libdbd-mysql-perl libdbi-perl libev4 libevent-2.0-5 libjansson4 libmysqlclient18 libsctp1 libterm-readkey-perl libunistring0 mysql-client mysql-client-5.5<br>  mysql-common<br>Use 'apt-get autoremove' to remove them.<br>Suggested packages:<br>  kamailio-berkeley-modules kamailio-carrierroute-modules kamailio-cpl-modules kamailio-dbg kamailio-ldap-modules kamailio-lua-modules kamailio-mysql-modules<br>  kamailio-perl-modules kamailio-postgres-modules kamailio-presence-modules kamailio-python-modules kamailio-radius-modules kamailio-snmpstats-modules<br>  kamailio-tls-modules kamailio-unixodbc-modules kamailio-xml-modules kamailio-xmpp-modules<br>The following NEW packages will be installed:<br>  kamailio<br>0 upgraded, 1 newly installed, 0 to remove and 42 not upgraded.<br>Need to get 0 B/5304 kB of archives.<br>After this operation, 24.5 MB of additional disk space will be used.<br>Selecting previously unselected package kamailio.<br>(Reading database ... 37888 files and directories currently installed.)<br>Preparing to unpack .../kamailio_5.0.0+0~<wbr>20170322012605.24+jessie_<wbr>amd64.deb ...<br>Unpacking kamailio (5.0.0+0~20170322012605.24+<wbr>jessie) ...<br>Processing triggers for systemd (215-17+deb8u4) ...<br>Processing triggers for man-db (2.7.0.2-5) ...<br>Setting up kamailio (5.0.0+0~20170322012605.24+<wbr>jessie) ...<br>Job for kamailio.service failed. See 'systemctl status kamailio.service' and 'journalctl -xn' for details.<br>invoke-rc.d: initscript kamailio, action "start" failed.<br>dpkg: error processing package kamailio (--configure):<br> subprocess installed post-installation script returned error exit status 1<br>Processing triggers for systemd (215-17+deb8u4) ...<br>Errors were encountered while processing:<br> kamailio<br>[master 5dad0af] committing changes in /etc after apt run<br> 16 files changed, 2992 insertions(+)<br> create mode 100644 default/kamailio<br> create mode 100755 init.d/kamailio<br> create mode 100644 kamailio/dictionary.kamailio<br> create mode 100644 kamailio/kamailio-advanced.cfg<br> create mode 100644 kamailio/kamailio-basic.cfg<br> create mode 100644 kamailio/kamailio.cfg<br> create mode 100644 kamailio/kamctlrc<br> create mode 120000 rc0.d/K02kamailio<br> create mode 120000 rc1.d/K02kamailio<br> create mode 120000 rc2.d/S03kamailio<br> create mode 120000 rc3.d/S03kamailio<br> create mode 120000 rc4.d/S03kamailio<br> create mode 120000 rc5.d/S03kamailio<br> create mode 120000 rc6.d/K02kamailio<br> create mode 120000 systemd/system/multi-user.<wbr>target.wants/kamailio.service<br>Counting objects: 1321, done.<br>Compressing objects: 100% (749/749), done.<br>Writing objects: 100% (1321/1321), done.<br>Total 1321 (delta 127), reused 1320 (delta 126)<br>E: Sub-process /usr/bin/dpkg returned an error code (1)</font><br><div><br></div><div><br></div><div>Checking up:</div><div><br></div><div><font face="monospace, monospace">root@homer-dev ~/homer-docker# systemctl status kamailio.service</font></div><div><font face="monospace, monospace">* kamailio.service - Kamailio (OpenSER) - the Open Source SIP Server</font></div><div><font face="monospace, monospace">   Loaded: loaded (/lib/systemd/system/kamailio.<wbr>service; enabled)</font></div><div><font face="monospace, monospace">   Active: failed (Result: exit-code) since Mon 2017-03-27 16:58:09 UTC; 7s ago</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Mar 27 16:58:09 homer-dev kamailio[9438]: ERROR: <core> [core/cfg.y:3264]: yyparse(): cfg. parser: failed to find command t_precheck_trans (params 0)</font></div><div><font face="monospace, monospace">Mar 27 16:58:09 homer-dev kamailio[9438]: CRITICAL: <core> [core/cfg.y:3404]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 479,...oadmodule?</font></div><div><font face="monospace, monospace">Mar 27 16:58:09 homer-dev kamailio[9438]: ERROR: <core> [core/cfg.y:3264]: yyparse(): cfg. parser: failed to find command t_check_trans (params 0)</font></div><div><font face="monospace, monospace">Mar 27 16:58:09 homer-dev kamailio[9438]: CRITICAL: <core> [core/cfg.y:3404]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 480,...oadmodule?</font></div><div><font face="monospace, monospace">Mar 27 16:58:09 homer-dev kamailio[9438]: ERROR: <core> [core/cfg.y:3264]: yyparse(): cfg. parser: failed to find command t_check_trans (params 0)</font></div><div><font face="monospace, monospace">Mar 27 16:58:09 homer-dev kamailio[9438]: CRITICAL: <core> [core/cfg.y:3404]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 483,...oadmodule?</font></div><div><font face="monospace, monospace">Mar 27 16:58:09 homer-dev systemd[1]: kamailio.service: control process exited, code=exited status=255</font></div><div><font face="monospace, monospace">Mar 27 16:58:09 homer-dev systemd[1]: Failed to start Kamailio (OpenSER) - the Open Source SIP Server.</font></div><div><font face="monospace, monospace">Mar 27 16:58:09 homer-dev systemd[1]: Unit kamailio.service entered failed state.</font></div><div><font face="monospace, monospace">Mar 27 16:58:09 homer-dev kamailio[9438]: ERROR: bad config file (46 errors)</font></div><div><font face="monospace, monospace">Hint: Some lines were ellipsized, use -l to show in full.</font></div></div><div><br></div><div><br></div><div>All modules are there, the problem is the startup script can't find where the modules are installed? If i just un-comment the "mpath" in the config file, kamailio starts normally.</div><div><br></div><div><div><font face="monospace, monospace">/* set paths to location of modules */</font></div><div><font face="monospace, monospace"># mpath="/usr/lib/x86_64-linux-<wbr>gnu/kamailio/modules/"</font></div></div><div><br></div><div>I'm not 100%  sure "mpath" was set before, but i don't remember having to set that up in the near past...</div><div><br></div><div><br></div><br clear="all"><div><div class="m_-2826099901389400552gmail-m_2613391266397545131gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: <a href="tel:+34%20669%2044%2083%2037" value="+34669448337" target="_blank">+34669448337</a></div></div></div></div>
</div><div hspace="streak-pt-mark" style="max-height:1px"><img style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=7fcdc55e-b51a-42da-80f5-84988b10bc90"><font color="#ffffff" size="1">ᐧ</font></div>
</blockquote></div><br></div>