Am Freitag, 14. September 2018, 22:31:34 CEST schrieb hexhaxtron:
> I did this tutorial: https://sonnguyen.ws/install-kamailio-debianubuntu/
> 
> When I try to start the daemon I get:
> 
> # systemctl start kamailio
> Job for kamailio.service failed because the control process exited with
> error code.
> See "systemctl status kamailio.service" and "journalctl -xe" for details.

Hello Hexhaxtron,
 
> Doing systemctl status kamailio shows:
> [..]
> Sep 14 20:26:25 thunix.org /usr/sbin/kamailio[29484]: ERROR: <core>
> [db.c:318]: db_do_init2(): could not add connection to the pool
> Sep 14 20:26:25 thunix.org /usr/sbin/kamailio[29484]: ERROR: usrloc
> [dlist.c:654]: register_udomain(): failed to open database connection
> Sep 14 20:26:25 thunix.org /usr/sbin/kamailio[29484]: ERROR: registrar
> [reg_mod.c:566]: domain_fixup(): failed to register domain
> Sep 14 20:26:25 thunix.org /usr/sbin/kamailio[29484]: ERROR: <core>
> [route.c:1153]: fix_actions(): fixing failed (code=-1) at
> cfg:/etc/kamailio/kamailio.cfg:646
> Sep 14 20:26:25 thunix.org /usr/sbin/kamailio[29484]: ERROR: <core>
> [route.c:1153]: fix_actions(): fixing failed (code=-1) at
> cfg:/etc/kamailio/kamailio.cfg:649

There is an error connecting to your database. Try to connect locally with 
mysql client, maybe you have an error in the user/password in your cfg.

> Sep 14 20:26:25 thunix.org /usr/sbin/kamailio[29484]: INFO: <core>
> [sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
> [..]
> 
> My /etc/kamailio/kamailio.cfg is: http://paste.debian.net/1042245/
> 
> This is the output of journalctl --no-pager|grep kamailio
> http://paste.debian.net/1042246/
> 
> What should I do to fix this?

Best regards,

Henning

-- 
Henning Westerholt
https://skalatan.de/blog/

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to