Sorry, this is on a:
cat /etc/debian_version
8.4
ᐧ
Regards,
David Villasmil
email: david.villasmil.work(a)gmail.com
phone: +34669448337
On Mon, Mar 27, 2017 at 7:05 PM, David Villasmil <
david.villasmil.work(a)gmail.com> wrote:
Hello guys,
I have in my apt the nightly build repo, which i use fairly regularly for
testing.
Today i tried installing kamailio 5 and got the following:
# apt-get install -y kamailio
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
libdbd-mysql-perl libdbi-perl libev4 libevent-2.0-5 libjansson4
libmysqlclient18 libsctp1 libterm-readkey-perl libunistring0 mysql-client
mysql-client-5.5
mysql-common
Use 'apt-get autoremove' to remove them.
Suggested packages:
kamailio-berkeley-modules kamailio-carrierroute-modules
kamailio-cpl-modules kamailio-dbg kamailio-ldap-modules
kamailio-lua-modules kamailio-mysql-modules
kamailio-perl-modules kamailio-postgres-modules
kamailio-presence-modules kamailio-python-modules kamailio-radius-modules
kamailio-snmpstats-modules
kamailio-tls-modules kamailio-unixodbc-modules kamailio-xml-modules
kamailio-xmpp-modules
The following NEW packages will be installed:
kamailio
0 upgraded, 1 newly installed, 0 to remove and 42 not upgraded.
Need to get 0 B/5304 kB of archives.
After this operation, 24.5 MB of additional disk space will be used.
Selecting previously unselected package kamailio.
(Reading database ... 37888 files and directories currently installed.)
Preparing to unpack .../kamailio_5.0.0+0~20170322012605.24+jessie_amd64.deb
...
Unpacking kamailio (5.0.0+0~20170322012605.24+jessie) ...
Processing triggers for systemd (215-17+deb8u4) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up kamailio (5.0.0+0~20170322012605.24+jessie) ...
Job for kamailio.service failed. See 'systemctl status kamailio.service'
and 'journalctl -xn' for details.
invoke-rc.d: initscript kamailio, action "start" failed.
dpkg: error processing package kamailio (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (215-17+deb8u4) ...
Errors were encountered while processing:
kamailio
[master 5dad0af] committing changes in /etc after apt run
16 files changed, 2992 insertions(+)
create mode 100644 default/kamailio
create mode 100755 init.d/kamailio
create mode 100644 kamailio/dictionary.kamailio
create mode 100644 kamailio/kamailio-advanced.cfg
create mode 100644 kamailio/kamailio-basic.cfg
create mode 100644 kamailio/kamailio.cfg
create mode 100644 kamailio/kamctlrc
create mode 120000 rc0.d/K02kamailio
create mode 120000 rc1.d/K02kamailio
create mode 120000 rc2.d/S03kamailio
create mode 120000 rc3.d/S03kamailio
create mode 120000 rc4.d/S03kamailio
create mode 120000 rc5.d/S03kamailio
create mode 120000 rc6.d/K02kamailio
create mode 120000 systemd/system/multi-user.
target.wants/kamailio.service
Counting objects: 1321, done.
Compressing objects: 100% (749/749), done.
Writing objects: 100% (1321/1321), done.
Total 1321 (delta 127), reused 1320 (delta 126)
E: Sub-process /usr/bin/dpkg returned an error code (1)
Checking up:
root@homer-dev ~/homer-docker# systemctl status kamailio.service
* kamailio.service - Kamailio (OpenSER) - the Open Source SIP Server
Loaded: loaded (/lib/systemd/system/kamailio.service; enabled)
Active: failed (Result: exit-code) since Mon 2017-03-27 16:58:09 UTC;
7s ago
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)
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?
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)
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?
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)
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?
Mar 27 16:58:09 homer-dev systemd[1]: kamailio.service: control process
exited, code=exited status=255
Mar 27 16:58:09 homer-dev systemd[1]: Failed to start Kamailio (OpenSER) -
the Open Source SIP Server.
Mar 27 16:58:09 homer-dev systemd[1]: Unit kamailio.service entered failed
state.
Mar 27 16:58:09 homer-dev kamailio[9438]: ERROR: bad config file (46
errors)
Hint: Some lines were ellipsized, use -l to show in full.
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.
/* set paths to location of modules */
# mpath="/usr/lib/x86_64-linux-gnu/kamailio/modules/"
I'm not 100% sure "mpath" was set before, but i don't remember having
to
set that up in the near past...
Regards,
David Villasmil
email: david.villasmil.work(a)gmail.com
phone: +34669448337 <+34%20669%2044%2083%2037>
ᐧ