[OpenSIPS-Users] ERROR:tls_mgm:mod_init: unable to set the memory allocation functions

Răzvan Crainea razvan at opensips.org
Wed Aug 17 11:16:13 CEST 2016


Can you run 'gdb ./opensips' and run the following commands:
info line *0x7f0ce10d8a70
info line *0x7f0ce10d8550

Thanks,

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

On 08/17/2016 12:06 PM, Stefano Pisani wrote:
>
> Hi Răzvan.
>
> These are the new logs. I hope it helps to fix this.
>
> Aug 17 05:04:40 [3997] INFO:tls_mgm:mod_init: initializing TLS protocol
> Aug 17 05:04:40 [3997] ERROR:tls_mgm:mod_init: unable to set the 
> memory allocation functions
> Aug 17 05:04:40 [3997] ERROR:tls_mgm:mod_init: NOTE: check if you have 
> openssl 1.0.1e-fips, as this version is known to be broken; if so, you 
> need to upgrade or downgrade to a different openssl version !!
> Aug 17 05:04:40 [3997] ERROR:tls_mgm:mod_init: extra: 
> malloc=0x7f0cdb0845c8/0x7f0ce10d8550 
> realloc=0x7f0cdb0845f4/0x7f0ce10d8c40 
> free=0x7f0cdb08462c/0x7f0ce10d8a70 version=OpenSSL 1.0.2g-fips 1 Mar 2016
> Aug 17 05:04:40 [3997] ERROR:core:init_mod: failed to initialize 
> module tls_mgm
> Aug 17 05:04:40 [3997] ERROR:core:main: error while initializing modules
>
> Thanks.
> Stefano
>
> Il 17/08/2016 09:53, Răzvan Crainea ha scritto:
>>
>> Hi, Stefano!
>>
>> Apologies, I did not push the changes. Could you please re-clone and 
>> try again?
>>
>> Best regards,
>>
>> Răzvan Crainea
>> OpenSIPS Solutions
>> www.opensips-solutions.com
>> On 08/16/2016 07:26 PM, Stefano Pisani wrote:
>>> I have this result.
>>>
>>> # ./opensips -V
>>> version: opensips 2.3.0-dev (x86_64/linux)
>>> flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, 
>>> QM_MALLOC, DBG_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.
>>> git revision: 058991d
>>> main.c compiled on 11:50:11 Aug 16 2016 with gcc 5.4.0
>>>
>>>
>>>
>>> Il 16/08/2016 18:23, Răzvan Crainea ha scritto:
>>>>
>>>> Hi, Stefano!
>>>>
>>>> I don't think you are using the latest sources. Either you have not 
>>>> installed them, or you are using a wrong path. Could you please 
>>>> double-check?
>>>>
>>>> Best regards,
>>>>
>>>> Răzvan Crainea
>>>> OpenSIPS Solutions
>>>> www.opensips-solutions.com
>>>> On 08/16/2016 06:56 PM, Stefano Pisani wrote:
>>>>>
>>>>> I cloned the source from
>>>>>
>>>>> |git clone https://github.com/OpenSIPS/opensips.git opensips_head 
>>>>> the error appears the same Aug 16 11:55:14 [25630] 
>>>>> INFO:tls_mgm:mod_init: initializing TLS protocol Aug 16 11:55:14 
>>>>> [25630] ERROR:tls_mgm:mod_init: unable to set the memory 
>>>>> allocation functions Aug 16 11:55:14 [25630] 
>>>>> ERROR:tls_mgm:mod_init: NOTE: check if you have openssl 
>>>>> 1.0.1e-fips, as this version is know to be broken; if so, you need 
>>>>> to upgrade or downgrade to a differen openssl version !! Aug 16 
>>>>> 11:55:14 [25630] ERROR:core:init_mod: failed to initialize module 
>>>>> tls_mgm Aug 16 11:55:14 [25630] ERROR:core:main: error while 
>>>>> initializing modules Aug 16 11:55:14 [25630] INFO:core:cleanup: 
>>>>> cleanup Aug 16 11:55:14 [25630] DBG:dispatcher:destroy: destroying 
>>>>> module ... Aug 16 11:55:14 [25630] DBG:tm:tm_shutdown: tm_shutdown 
>>>>> : start Aug 16 11:55:14 [25630] DBG:tm:unlink_timer_lists: 
>>>>> emptying DELETE list for set 0 Aug 16 11:55:14 [25630] 
>>>>> DBG:tm:tm_shutdown: emptying hash table Aug 16 11:55:14 [25630] 
>>>>> DBG:tm:tm_shutdown: releasing timers Aug 16 11:55:14 [25630] 
>>>>> DBG:tm:tm_shutdown: removing semaphores Aug 16 11:55:14 [25630] 
>>>>> DBG:tm:tm_shutdown: destroying callback lists Aug 16 11:55:14 
>>>>> [25630] DBG:tm:tm_shutdown: tm_shutdown : done Aug 16 11:55:14 
>>>>> [25630] DBG:core:shm_mem_destroy: destroying the shared memory 
>>>>> lock Aug 16 11:55:14 [25630] NOTICE:core:main: Exiting.... Thanks 
>>>>> Stefano |
>>>>>
>>>>> Il 16/08/2016 17:18, Răzvan Crainea ha scritto:
>>>>>> Stefano!
>>>>>>
>>>>>> I've added some extra debugging in the master branch that might 
>>>>>> help you debug this. Could you please take the latest git 
>>>>>> version/deb and try to run again?
>>>>>>
>>>>>> Best regards,
>>>>>>
>>>>>> Răzvan Crainea
>>>>>> OpenSIPS Solutions
>>>>>> www.opensips-solutions.com
>>>>>>
>>>>>> On 08/16/2016 10:52 AM, Stefano Pisani wrote:
>>>>>>> I'm trying to enable wss on opensips 2.2.1 and Ubuntu 16.04.1 LTS
>>>>>>>
>>>>>>> version: opensips 2.2.1 (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  with gcc 5.3.1
>>>>>>>
>>>>>>> It's not working:
>>>>>>> Aug 16 03:43:02 [3915] INFO:tls_mgm:mod_init: initializing TLS 
>>>>>>> protocol
>>>>>>> Aug 16 03:43:02 [3915] ERROR:tls_mgm:mod_init: unable to set the 
>>>>>>> memory allocation functions
>>>>>>> Aug 16 03:43:02 [3915] ERROR:tls_mgm:mod_init: NOTE: check if 
>>>>>>> you have openssl 1.0.1e-fips, as this version is know to be 
>>>>>>> broken; if so, you need to upgrade or downgrade to a differen 
>>>>>>> openssl version !!
>>>>>>> Aug 16 03:43:02 [3915] ERROR:core:init_mod: failed to initialize 
>>>>>>> module tls_mgm
>>>>>>>
>>>>>>> OpenSSL version is OpenSSL 1.0.2g-fips  1 Mar 2016
>>>>>>>
>>>>>>> The opensips installed packages are:
>>>>>>> opensips install
>>>>>>> opensips-tls-module:amd64 install
>>>>>>> opensips-tlsmgm-module:amd64 install
>>>>>>> opensips-wss-module:amd64 install
>>>>>>>
>>>>>>>
>>>>>>> There is something I can do?
>>>>>>> Thanks
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>
>
>
> _______________________________________________
> 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/20160817/96fef589/attachment.htm>


More information about the Users mailing list