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

Игорь Павлов i.p at ringcloud.ru
Mon Oct 12 11:02:44 CEST 2015


Hi list.

I tried to install opensips 2.1 on Centos 6.7 from repo with TLS and it's
work fine. openssl version on Centos:


> OpenSSL 1.0.1e-fips 11 Feb 2013
>

Also, I tried to update openssl on Debian and make it from source (OpenSSL
1.0.1p 9 Jul 2015), but still have same error on startup.



____________
С уважением,
Павлов Игорь
RingCloud

2015-10-09 14:33 GMT+04:00 Игорь Павлов <i.p at ringcloud.ru>:

> My opensips installed from debian repo.
>
> deb http://apt.opensips.org/debian/stable-2.1/jessie opensips-2.1-jessie
>> main
>
>
> Full output of 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
>
>
> Openssl version:
>
> OpenSSL 1.0.1k 8 Jan 2015
>
>
> My OS:
>
> Debian 8
>
>
> Kernel:
>
> Linux vs01 2.6.32-042stab108.8 #1 SMP Wed Jul 22 17:23:23 MSK 2015 x86_64
>> GNU/Linux
>
>
> ____________
> С уважением,
> Павлов Игорь
> RingCloud
>
> 2015-10-09 14:24 GMT+04:00 Răzvan Crainea <razvan at opensips.org>:
>
>> 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 Solutionswww.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>:
>>
>>> 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
>>>
>>>
>>
>>
>> _______________________________________________
>> 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/20151012/5891c7da/attachment.htm>


More information about the Users mailing list