[SR-Users] Kamailio doesn't start with TLS

Олег Подгуйко podguiko at mail.ru
Tue Jun 4 14:21:31 CEST 2019


Im trying to use kamailio with websocket and tls. It will be use as registrar for websocket clients.
I'm using default config with additional websocket, https and tls modules. I created some certs for it and  everething looks like good.
But when I started kamailio via (systemctl start kamailio) I get some errors

июн 04 15:00:52 p534507.kvmvps kamailio[23502]: 0(23502) INFO: <core> [core/udp_server.c:205]: probe_max_receive_buffer(): SO_RCVBUF is finally 425984
июн 04 15:00:52 p534507.kvmvps kamailio[23502]: 0(23502) DEBUG: <core> [core/tcp_main.c:2753]: tcp_init(): added 37.143.9.210:443
июн 04 15:00:52 p534507.kvmvps kamailio[23502]: 0(23502) ERROR: <core> [core/tcp_main.c:2855]: tcp_init(): bind(9, 0x7fb6ef026f84, 16) on 37.143.9.210:443 : Permission denied
июн 04 15:00:52 p534507.kvmvps kamailio[23502]: 0(23502) ERROR: tls [tls_init.c:342]: tls_h_init_si(): Error while initializing TCP part of TLS socket 37.143.9.210:443
июн 04 15:00:52 p534507.kvmvps kamailio[23502]: 0(23502) DEBUG: rtpengine [rtpengine.c:1986]: mod_destroy(): rtpengine_hash_table_destroy() success!


If I start it via /usr/sbin/kamailio  - all work.

What I do wrong?  



-- 
Олег Подгуйко
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190604/39fedd14/attachment.html>


More information about the sr-users mailing list