[OpenSIPS-Users] TLS fail to start, unable to set the memory allocation functions
Игорь Павлов
i.p at ringcloud.ru
Thu Oct 15 06:42:34 CEST 2015
Hi, Răzvan.
can you point me where the sources you are using are?
http://openssl.org/source/ (openssl-1.0.1p)
I forgot to say main thing, that all my hosts are virtualized. So, here is
my last results:
openvz:
- debian 8, openssl-1.0.1p, opensips 2.1 form repo, - not working
- centos 6.7, OpenSSL 1.0.1e-fips 11 Feb 2013, opensips 2.1 from repo,
opensips 2.1 from git, - not working
vmware esxi:
- centos 6.7, OpenSSL 1.0.1e-fips 11 Feb 2013, opensips 2.1 from repo, -
working
____________
Best regards,
Igor Pavlov
2015-10-14 23:52 GMT+04:00 Răzvan Crainea <razvan at opensips.org>:
> The error you are getting is generated by the openssl library, so there
> must be something with that. If you compiled openssl from sources, can you
> point me where the sources you are using are?
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 10/12/2015 12:02 PM, Игорь Павлов wrote:
>
>> 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
>> <mailto: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
>> <mailto: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 Solutions
>> www.opensips-solutions.com <http://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 <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
>>
>>
> _______________________________________________
> 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/20151015/7a039cbd/attachment-0001.htm>
More information about the Users
mailing list