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

Daniel-Constantin Mierla miconda at gmail.com
Tue Jun 4 15:15:22 CEST 2019


Hello,

what is the operating system you are using?

Cheers,
Daniel

On 04.06.19 14:21, Олег Подгуйко wrote:
> 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?
>
>  
>
>
>
> -- 
> Олег Подгуйко
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190604/7c317298/attachment.html>


More information about the sr-users mailing list