[OpenSIPS-Users] TLS fail to start, unable to set the memory allocation functions

Игорь Павлов i.p at ringcloud.ru
Fri Oct 9 09:21:53 CEST 2015


Sorry, forgot it.

# opensips -V
> version: opensips 2.1.0 (x86_64/linux)
> flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC,
> F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
> MAX_URI_SIZE 1024, BUF_SIZE 65535
> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
> main.c compiled on 13:55:32 Aug 19 2015 with gcc 4.9.2



____________
Best regards,
Igor Pavlov

2015-10-09 11:16 GMT+04:00 Răzvan Crainea <razvan at opensips.org>:

> What version of OpenSIPS are you using? Can you please send us the output
> of 'opensips -v'.
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Solutionswww.opensips-solutions.com
>
> On 10/09/2015 10:07 AM, Игорь Павлов wrote:
>
> Hi list, I have a problem with using TLS. My opensips doesn't want to
> start. Error on startup with debug=6:
>
> Oct  9 10:02:10 vs01 /usr/sbin/opensips[13521]: INFO:proto_tls:mod_init:
> initializing TLS protocol
> Oct  9 10:02:10 vs01 /usr/sbin/opensips[13521]: ERROR:proto_tls:mod_init:
> unable to set the memory allocation functions
> Oct  9 10:02:10 vs01 /usr/sbin/opensips[13521]: ERROR:core:init_mod:
> failed to initialize module proto_tls
> Oct  9 10:02:10 vs01 /usr/sbin/opensips[13521]: ERROR:core:main: error
> while initializing modules
>
> My TLS cfg:
>
> listen=tls:192.168.100.100:5066
>
> loadmodule "proto_tls.so"
> modparam("proto_tls", "verify_cert", "0")
> modparam("proto_tls", "require_cert", "0")
> modparam("proto_tls", "ciphers_list", "NULL").
> modparam("proto_tls", "tls_method", "TLSv1").
> modparam("proto_tls", "server_domain", "sv_dom=192.168.100.100:5066")
> modparam("proto_tls", "certificate", "/etc/opensips/
> example.com/tls/example.com.crt")...........
> modparam("proto_tls", "private_key", "/etc/opensips/
> example.com/tls/example.com.key")....
> modparam("proto_tls", "ca_list", "/etc/opensips/
> example.com/tls/example.com.crt")................
> modparam("proto_tls", "ca_dir", "/etc/opensips/example.com/tls/")
>
> ____________
> Best regards,
> Igor Pavlov
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20151009/aa55e7bf/attachment.htm>


More information about the Users mailing list