I'm using stable but kamailio is not running, its been two days im try to set it up, any suggestion will be appreciated:
Here is the error and logs:
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 Sun 2017-03-19 17:38:40 UTC; 2s ago
Process: 9643 ExecStop=/usr/sbin/kazoo-kamailio stop (code=exited, status=127)
Process: 9629 ExecStart=/usr/sbin/kazoo-kamailio start (code=exited, status=255)
Process: 9620 ExecStartPre=/usr/sbin/kazoo-kamailio prepare (code=exited, status=0/SUCCESS)
Main PID: 9629 (code=exited, status=255)
Mar 19 17:38:40 ip-xxxxxxxx kamailio[9629]: : <core> [cfg.y:3371]: yyerror_at(): parse error in config file /etc/kazoo/kamailio/presence-role.c...dmodule?
Mar 19 17:38:40 ip-xxxxxxxx kamailio[9629]: ERROR: <core> [cfg.y:3231]: yyparse(): cfg. parser: failed to find command pres_has_subscribers (params 2)
Mar 19 17:38:40 ip-xxxxxxxx kamailio[9629]: : <core> [cfg.y:3371]: yyerror_at(): parse error in config file /etc/kazoo/kamailio/presence-role.c...dmodule?
Mar 19 17:38:40 ip-xxxxxxxx kamailio[9629]: ERROR: <core> [cfg.y:3231]: yyparse(): cfg. parser: failed to find command pres_has_subscribers (params 2)
Mar 19 17:38:40 ip-xxxxxxxx kamailio[9629]: : <core> [cfg.y:3371]: yyerror_at(): parse error in config file /etc/kazoo/kamailio/presence-role.c...dmodule?
Mar 19 17:38:40 ip-xxxxxxxx systemd[1]: kazoo-kamailio.service: main process exited, code=exited, status=255/n/a
Mar 19 17:38:40 ip-xxxxxxxx kazoo-kamailio[9643]: /usr/sbin/kazoo-kamailio: line 59: killall: command not found
Mar 19 17:38:40 ip-xxxxxxxx systemd[1]: kazoo-kamailio.service: control process exited, code=exited status=127
Mar 19 17:38:40 ip-xxxxxxxx systemd[1]: Unit kazoo-kamailio.service entered failed state.
Mar 19 17:38:40 ip-xxxxxxxx systemd[1]: kazoo-kamailio.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@ip-xxxxxxxx run]# kamctl fifo ds_reload
which: no gdb in (/sbin:/bin:/usr/sbin:/usr/bin:/)
ERROR: Error opening Kamailio's FIFO /var/run/kamailio/kamailio_fifo
ERROR: Make sure you have the line 'modparam("mi_fifo", "fifo_name", "/var/run/kamailio/kamailio_fifo")' in your config
ERROR: and also have loaded the mi_fifo module.
[root@ip-xxxxxxxx run]# kazoo-kamailio status
which: no gdb in (/sbin:/bin:/usr/sbin:/usr/bin:/)
ERROR: Error opening Kamailio's FIFO /var/run/kamailio/kamailio_fifo
ERROR: Make sure you have the line 'modparam("mi_fifo", "fifo_name", "/var/run/kamailio/kamailio_fifo")' in your config
ERROR: and also have loaded the mi_fifo module.
[root@xxxxxxxxrun]# kamctl stats
which: no gdb in (/sbin:/bin:/usr/sbin:/usr/bin:/)
ERROR: Error opening Kamailio's FIFO /var/run/kamailio/kamailio_fifo
ERROR: Make sure you have the line 'modparam("mi_fifo", "fifo_name", "/var/run/kamailio/kamailio_fifo")' in your config
ERROR: and also have loaded the mi_fifo module.
/var/log/kamailio/kamailio.log :
Mar 19 15:13:15 aio kamailio: WARNING: <core> [cfg.y:3348]: warn_at(): warning in config file /etc/kazoo/kamailio/default.cfg, line 66, column 12: raw socket support not compiled in
Mar 19 15:13:15 aio kamailio: ERROR: <core> [modparam.c:141]: set_mod_param_regex(): parameter <binrpc_buffer_size> of type <2> not found in module <ctl>
Mar 19 15:13:15 aio kamailio: : <core> [cfg.y:3371]: yyerror_at(): parse error in config file /etc/kazoo/kamailio/default.cfg, line 104, column 43: Can't set module parameter
Mar 19 15:13:15 aio kamailio: ERROR: <core> [modparam.c:141]: set_mod_param_regex(): parameter <default_connection> of type <1> not found in module <db_text>
Mar 19 15:13:15 aio kamailio: : <core> [cfg.y:3371]: yyerror_at(): parse error in config file /etc/kazoo/kamailio/default.cfg, line 175, column 57: Can't set module parameter
Mar 19 15:13:15 aio kamailio: WARNING: <core> [cfg.y:3348]: warn_at(): warning in config file /etc/kazoo/kamailio/registrar-role.cfg, line 256, column 24: non-int expression (you might want to use casts)
Mar 19 15:13:15 aio kamailio: ERROR: <core> [modparam.c:141]: set_mod_param_regex(): parameter <startup_mode> of type <2> not found in module <presence>
Mar 19 15:13:15 aio kamailio: : <core> [cfg.y:3371]: yyerror_at(): parse error in config file /etc/kazoo/kamailio/presence-role.cfg, line 36, column 39: Can't set module parameter
Mar 19 15:13:15 aio kamailio: ERROR: <core> [modparam.c:141]: set_mod_param_regex(): parameter <force_delete> of type <2> not found in module <presence>
Mar 19 15:13:15 aio kamailio: : <core> [cfg.y:3371]: yyerror_at(): parse error in config file /etc/kazoo/kamailio/presence-role.cfg, line 37, column 39: Can't set module parameter
Mar 19 15:13:15 aio kamailio: ERROR: <core> [modparam.c:141]: set_mod_param_regex(): parameter <cseq_offset> of type <2> not found in module <presence>
Mar 19 15:13:15 aio kamailio: : <core> [cfg.y:3371]: yyerror_at(): parse error in config file /etc/kazoo/kamailio/presence-role.cfg, line 39, column 38: Can't set module parameter
Mar 19 15:13:15 aio kamailio: ERROR: <core> [cfg.y:3231]: yyparse(): cfg. parser: failed to find command pres_has_subscribers (params 2)
Mar 19 15:13:15 aio kamailio: : <core> [cfg.y:3371]: yyerror_at(): parse error in config file /etc/kazoo/kamailio/presence-role.cfg, line 186, column 60: unknown command, missing loadmodule?
Mar 19 15:13:15 aio kamailio: ERROR: <core> [cfg.y:3231]: yyparse(): cfg. parser: failed to find command kazoo_pua_publish_dialoginfo (params 1)
Mar 19 15:13:15 aio kamailio: : <core> [cfg.y:3371]: yyerror_at(): parse error in config file /etc/kazoo/kamailio/presence-role.cfg, line 188, column 40: unknown command, missing loadmodule?
Mar 19 15:13:15 aio kamailio: ERROR: <core> [cfg.y:3231]: yyparse(): cfg. parser: failed to find command pres_has_subscribers (params 2)
Mar 19 15:13:15 aio kamailio: : <core> [cfg.y:3371]: yyerror_at(): parse error in config file /etc/kazoo/kamailio/presence-role.cfg, line 195, column 62: unknown command, missing loadmodule?
Mar 19 15:13:15 aio kamailio: ERROR: <core> [cfg.y:3231]: yyparse(): cfg. parser: failed to find command kazoo_pua_publish_presence (params 1)
Mar 19 15:13:15 aio kamailio: : <core> [cfg.y:3371]: yyerror_at(): parse error in config file /etc/kazoo/kamailio/presence-role.cfg, line 197, column 38: unknown command, missing loadmodule?
Mar 19 15:13:15 aio kamailio: ERROR: <core> [cfg.y:3231]: yyparse(): cfg. parser: failed to find command pres_has_subscribers (params 2)
Mar 19 15:13:15 aio kamailio: : <core> [cfg.y:3371]: yyerror_at(): parse error in config file /etc/kazoo/kamailio/presence-role.cfg, line 208, column 69: unknown command, missing loadmodule?
Mar 19 15:13:15 aio kamailio: ERROR: <core> [cfg.y:3231]: yyparse(): cfg. parser: failed to find command kazoo_pua_publish_mwi (params 1)
Mar 19 15:13:15 aio kamailio: : <core> [cfg.y:3371]: yyerror_at(): parse error in config file /etc/kazoo/kamailio/presence-role.cfg, line 210, column 33: unknown command, missing loadmodule?
Mar 19 15:13:15 aio kamailio: ERROR: <core> [cfg.y:3231]: yyparse(): cfg. parser: failed to find command pres_has_subscribers (params 2)
Mar 19 15:13:15 aio kamailio: : <core> [cfg.y:3371]: yyerror_at(): parse error in config file /etc/kazoo/kamailio/presence-role.cfg, line 220, column 62: unknown command, missing loadmodule?
Mar 19 15:13:15 aio kamailio: ERROR: <core> [cfg.y:3231]: yyparse(): cfg. parser: failed to find command kazoo_pua_publish_presence (params 1)
Mar 19 15:13:15 aio kamailio: : <core> [cfg.y:3371]: yyerror_at(): parse error in config file /etc/kazoo/kamailio/presence-role.cfg, line 222, column 38: unknown command, missing loadmodule?
Mar 19 15:13:15 aio kamailio: ERROR: <core> [cfg.y:3231]: yyparse(): cfg. parser: failed to find command pres_has_subscribers (params 2)
Mar 19 15:13:15 aio kamailio: : <core> [cfg.y:3371]: yyerror_at(): parse error in config file /etc/kazoo/kamailio/presence-role.cfg, line 235, column 65: unknown command, missing loadmodule?
Mar 19 15:13:15 aio kamailio: ERROR: <core> [cfg.y:3231]: yyparse(): cfg. parser: failed to find command pres_has_subscribers (params 2)
Mar 19 15:13:15 aio kamailio: : <core> [cfg.y:3371]: yyerror_at(): parse error in config file /etc/kazoo/kamailio/presence-role.cfg, line 242, column 58: unknown command, missing loadmodule?
Mar 19 15:13:15 aio kamailio: ERROR: <core> [cfg.y:3231]: yyparse(): cfg. parser: failed to find command pres_has_subscribers (params 2)
Mar 19 15:13:15 aio kamailio: : <core> [cfg.y:3371]: yyerror_at(): parse error in config file /etc/kazoo/kamailio/presence-role.cfg, line 249, column 56: unknown command, missing loadmodule?
Mar 19 15:13:15 aio kamailio: INFO: <core> [sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
/var/log/messages
Mar 19 17:38:40 aio systemd: Starting Kamailio (OpenSER) - the Open Source SIP Server Configured for Kazoo...
Mar 19 17:38:40 aio systemd: Started Kamailio (OpenSER) - the Open Source SIP Server Configured for Kazoo.
Mar 19 17:38:40 aio kazoo-kamailio: No errors found in /etc/kazoo/kamailio/kamailio.cfg
Mar 19 17:38:40 aio kazoo-kamailio: ERROR: bad config file (16 errors)
Mar 19 17:38:40 aio kazoo-kamailio: loading modules under config path: /usr/lib64/kamailio/modules/:/usr/lib/x86_64-linux-gnu/kamailio/modules/
Mar 19 17:38:40 aio systemd: kazoo-kamailio.service: main process exited, code=exited, status=255/n/a
Mar 19 17:38:40 aio kazoo-kamailio: /usr/sbin/kazoo-kamailio: line 59: killall: command not found
Mar 19 17:38:40 aio systemd: kazoo-kamailio.service: control process exited, code=exited status=127
Mar 19 17:38:40 aio systemd: Unit kazoo-kamailio.service entered failed state.
Mar 19 17:38:40 aio systemd: kazoo-kamailio.service failed.