Hi,
I’ve just set up a fresh install of Ubuntu 16.04.2 and tried to install Kamailio 5.0.1 using the apt repository at deb.kamailio.org http://deb.kamailio.org/ but it fails to install during the configuration stage. Has anyone else seen this issue and are there any workarounds?
Cheers, Justin.
Setting up kamailio (5.0.1+xenial) ... Job for kamailio.service failed because the control process exited with error code. See "systemctl status kamailio.service" and "journalctl -xe" for details. invoke-rc.d: initscript kamailio, action "start" failed. ● kamailio.service - Kamailio (OpenSER) - the Open Source SIP Server Loaded: loaded (/lib/systemd/system/kamailio.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sun 2017-05-14 23:54:15 AEST; 6ms ago Process: 1881 ExecStart=/usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY -u $USER -g $GROUP (code=exited, status=255)
May 14 23:54:15 km01 kamailio[1881]: CRITICAL: <core> [core/cfg.y:3400]: yyerror_at(): parse error in config file /etc/kamaili... module May 14 23:54:15 km01 kamailio[1881]: ERROR: <core> [core/sr_module.c:570]: load_module(): could not find module <maxfwd> in </...odules> May 14 23:54:15 km01 kamailio[1881]: CRITICAL: <core> [core/cfg.y:3400]: yyerror_at(): parse error in config file /etc/kamaili... module May 14 23:54:15 km01 kamailio[1881]: ERROR: <core> [core/sr_module.c:570]: load_module(): could not find module <usrloc> in </...odules> May 14 23:54:15 km01 kamailio[1881]: CRITICAL: <core> [core/cfg.y:3400]: yyerror_at(): parse error in config file /etc/kamaili... module May 14 23:54:15 km01 kamailio[1881]: ERROR: bad config file (46 errors) May 14 23:54:15 km01 systemd[1]: kamailio.service: Control process exited, code=exited status=255 May 14 23:54:15 km01 systemd[1]: Failed to start Kamailio (OpenSER) - the Open Source SIP Server. May 14 23:54:15 km01 systemd[1]: kamailio.service: Unit entered failed state. May 14 23:54:15 km01 systemd[1]: kamailio.service: Failed with result 'exit-code'. Hint: Some lines were ellipsized, use -l to show in full. dpkg: error processing package kamailio (--configure): subprocess installed post-installation script returned error exit status 1
Hello,
I think this issue was fixed in packaging specs -- for your version you may have to edit kamailio.cfg and uncomment the mpath parameter.
Cheers, Daniel
On 14.05.17 17:00, Justin Clacherty wrote:
Hi,
I’ve just set up a fresh install of Ubuntu 16.04.2 and tried to install Kamailio 5.0.1 using the apt repository at deb.kamailio.org http://deb.kamailio.org but it fails to install during the configuration stage. Has anyone else seen this issue and are there any workarounds?
Cheers, Justin.
Setting up kamailio (5.0.1+xenial) ... Job for kamailio.service failed because the control process exited with error code. See "systemctl status kamailio.service" and "journalctl -xe" for details. invoke-rc.d: initscript kamailio, action "start" failed. ●kamailio.service - Kamailio (OpenSER) - the Open Source SIP Server Loaded: loaded (/lib/systemd/system/kamailio.service; enabled; vendor preset: enabled) Active: failed(Result: exit-code) since Sun 2017-05-14 23:54:15 AEST; 6ms ago Process: 1881 ExecStart=/usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY -u $USER -g $GROUP (code=exited, status=255)
May 14 23:54:15 km01 kamailio[1881]: CRITICAL: <core> [core/cfg.y:3400]: yyerror_at(): parse error in config file /etc/kamaili... module May 14 23:54:15 km01 kamailio[1881]: ERROR: <core> [core/sr_module.c:570]: load_module(): could not find module <maxfwd> in </...odules> May 14 23:54:15 km01 kamailio[1881]: CRITICAL: <core> [core/cfg.y:3400]: yyerror_at(): parse error in config file /etc/kamaili... module May 14 23:54:15 km01 kamailio[1881]: ERROR: <core> [core/sr_module.c:570]: load_module(): could not find module <usrloc> in </...odules> May 14 23:54:15 km01 kamailio[1881]: CRITICAL: <core> [core/cfg.y:3400]: yyerror_at(): parse error in config file /etc/kamaili... module May 14 23:54:15 km01 kamailio[1881]: ERROR: bad config file (46 errors) May 14 23:54:15 km01 systemd[1]: kamailio.service: Control process exited, code=exited status=255 May 14 23:54:15 km01 systemd[1]: Failed to start Kamailio (OpenSER) - the Open Source SIP Server. May 14 23:54:15 km01 systemd[1]: kamailio.service: Unit entered failed state. May 14 23:54:15 km01 systemd[1]: kamailio.service: Failed with result 'exit-code'. Hint: Some lines were ellipsized, use -l to show in full. dpkg: error processing package kamailio (--configure): subprocess installed post-installation script returned error exit status 1
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hi Daniel,
Thanks. I’ve switched to the nightly which has the fixed config. All installed fine.
Justin.
On 15 May 2017, at 4:19 pm, Daniel-Constantin Mierla miconda@gmail.com wrote:
Hello,
I think this issue was fixed in packaging specs -- for your version you may have to edit kamailio.cfg and uncomment the mpath parameter.
Cheers, Daniel
On 14.05.17 17:00, Justin Clacherty wrote:
Hi,
I’ve just set up a fresh install of Ubuntu 16.04.2 and tried to install Kamailio 5.0.1 using the apt repository at deb.kamailio.org http://deb.kamailio.org/ but it fails to install during the configuration stage. Has anyone else seen this issue and are there any workarounds?
Cheers, Justin.