CentOS7 all-in-one. Kazoo-kamailio.service failed.

644 views
Skip to first unread message

Alexander Shvaryov

unread,
Feb 26, 2017, 12:35:56 PM2/26/17
to 2600hz-dev
Hello 2600Hz team and Kazoo users,

Could you please tell me what a better place to start playing with last (4.x) version of Kzoo? 
I've found documentation on the main website (https://docs.2600hz.com/sysadmin/), thank you 2600Hz for that ... but using CentOS7 all-in-one (https://docs.2600hz.com/sysadmin/doc/install/install_via_centos7/) got a stuck with Kamailio. 

kazoo-kamailio can't start :

[root@kazoo shvaryov]# systemctl status kazoo-kamailio
● kazoo-kamailio.service - Kamailio (OpenSER) - the Open Source SIP Server Configured for Kazoo
   Loaded: loaded (/usr/lib/systemd/system/kazoo-kamailio.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Сб 2017-02-25 23:53:03 UTC; 8h ago
  Process: 2934 ExecStop=/usr/sbin/kazoo-kamailio stop (code=exited, status=127)
  Process: 2922 ExecStart=/usr/sbin/kazoo-kamailio start (code=exited, status=255)
  Process: 2913 ExecStartPre=/usr/sbin/kazoo-kamailio prepare (code=exited, status=0/SUCCESS)
 Main PID: 2922 (code=exited, status=255)

фев 25 23:53:03 kazoo.test-server.com kamailio[2922]: ERROR: <core> [modparam.c:141]: set_mod_param_regex(): parameter <binrpc_buffer_size> of type <2> not found in module <ctl>
фев 25 23:53:03 kazoo.test-server.com kamailio[2922]: : <core> [cfg.y:3371]: yyerror_at(): parse error in config file /etc/kazoo/kamailio/default.cfg, line 104, column 43:... parameter
фев 25 23:53:03 kazoo.test-server.com kamailio[2922]: ERROR: <core> [modparam.c:141]: set_mod_param_regex(): parameter <default_connection> of type <1> not found in module <db_text>
фев 25 23:53:03 kazoo.test-server.com kamailio[2922]: : <core> [cfg.y:3371]: yyerror_at(): parse error in config file /etc/kazoo/kamailio/default.cfg, line 176, column 57:... parameter
фев 25 23:53:03 kazoo.test-server.com kamailio[2922]: WARNING: <core> [cfg.y:3348]: warn_at(): warning in config file /etc/kazoo/kamailio/registrar-role.cfg, line 256, col...use casts)
фев 25 23:53:03 kazoo.test-server.com systemd[1]: kazoo-kamailio.service: main process exited, code=exited, status=255/n/a
фев 25 23:53:03 kazoo.test-server.com kazoo-kamailio[2934]: /usr/sbin/kazoo-kamailio: line 59: killall: command not found
фев 25 23:53:03 kazoo.test-server.com systemd[1]: kazoo-kamailio.service: control process exited, code=exited status=127
фев 25 23:53:03 kazoo.test-server.com systemd[1]: Unit kazoo-kamailio.service entered failed state.
фев 25 23:53:03 kazoo.test-server.com systemd[1]: kazoo-kamailio.service failed.
Hint: Some lines were ellipsized, use -l to show in full.


list of RPMs :

[root@kazoo shvaryov]# rpm -qa | grep kamailio
kamailio-presence-4.4.5-1.2.x86_64
kamailio-kazoo-4.4.5-1.el7.centos.x86_64
kamailio-4.4.5-1.2.x86_64
kamailio-websocket-4.4.5-1.2.x86_64
kamailio-outbound-4.4.5-1.2.x86_64
kazoo-configs-kamailio-2017.02-23.el7.centos.noarch
kamailio-uuid-4.4.5-1.2.x86_64
kamailio-tls-4.4.5-1.2.x86_64
kazoo-kamailio-2016.11-16.el7.centos.noarch



And accidentally I've caught a bug on the website http://www.2600hz.com/ - URLs are changed for all pages after opening Documentation page (added "docs" prefix, like https://docs.2600hz.com/hosted-platform) and as a result, we get "404 Not found". Just for clarification, I've attached short GIF. 

2600hz_com_1.gif

Luis Azedo

unread,
Feb 26, 2017, 12:40:06 PM2/26/17
to 2600h...@googlegroups.com
[modparam.c:141]: set_mod_param_regex(): parameter <binrpc_buffer_size> of type <2> not found in module <ctl>
[modparam.c:141]: set_mod_param_regex(): parameter <default_connection> of type <1> not found in module <db_text>

it seems you are using kazoo-configs from master for 4.0, that's not compatible.


--
You received this message because you are subscribed to the Google Groups "2600hz-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alexander Shvaryov

unread,
Feb 26, 2017, 5:22:52 PM2/26/17
to 2600hz-dev
Thank you Luis,

got it. 
seems install new version using rpm isn't just copy and paste ;) ... will try to figure out Kamailio config or try older one from git. 


Te Matau

unread,
Feb 28, 2017, 7:22:36 AM2/28/17
to 2600hz-dev
By default experimental repo is enabled. Disable that an enable stable. Then reinstall everything and you should be OK.
Reply all
Reply to author
Forward
0 new messages