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

Răzvan Crainea razvan at opensips.org
Fri Oct 9 12:24:16 CEST 2015


Can you send me the git version of your sources (full output of opensips 
-V).
Also, what version of openssl are you using?

Best regards,

Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com

On 10/09/2015 10:21 AM, Игорь Павлов wrote:
> 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 
> <mailto: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 Solutions
>     www.opensips-solutions.com <http://www.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 <http://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 <http://192.168.100.100:5066>")
>>     modparam("proto_tls", "certificate",
>>     "/etc/opensips/example.com/tls/example.com.crt
>>     <http://example.com/tls/example.com.crt>")...........
>>     modparam("proto_tls", "private_key",
>>     "/etc/opensips/example.com/tls/example.com.key
>>     <http://example.com/tls/example.com.key>")....
>>     modparam("proto_tls", "ca_list",
>>     "/etc/opensips/example.com/tls/example.com.crt
>>     <http://example.com/tls/example.com.crt>")................
>>     modparam("proto_tls", "ca_dir", "/etc/opensips/example.com/tls/
>>     <http://example.com/tls/>")
>>
>>     ____________
>>     Best regards,
>>     Igor Pavlov
>>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://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/98002d3c/attachment.htm>


More information about the Users mailing list