[SR-Users] kamailio TLS mod_register failed

wanmon wanmon at gmx.de
Mon Aug 15 19:30:09 CEST 2016


i dont have "libssl-dev", im using SUSE, by default is coming with "libopenssl-devel"

im using SLEs12 with "libopenssl-devel-1.0.1i-34.1"

This trick seems is not valid for me :(

any other sugestion? 

Regards,


On 13 August 2016 09:44:16 CEST, Daniel-Constantin Mierla <miconda at gmail.com> wrote:
>Hello,
>
>thanks for providing the hint -- I will add a note to the issue
>tracker.
>
>Cheers,
>Daniel
>
>
>On 13/08/16 06:08, Hai Bui Duc Ha wrote:
>> Hi all,
>>
>> I found the solution for this issue, just downgrade version
>libssl-dev
>> to 1.0.2d.
>> Ref: https://github.com/kamailio/kamailio/issues/714
>>
>> Regards,
>> Hai Bui
>>
>> On Fri, Aug 12, 2016 at 7:01 PM, Hai Bui Duc Ha <hai.bui at htklabs.com
>> <mailto:hai.bui at htklabs.com>> wrote:
>>
>>     Hi all,
>>
>>     I have the same problem when update my libssl-dev to 1.0.2h.
>>     Do we have any solution ? I'm running Ubuntu 14.04 sever
>>
>>     Regards,
>>     Hai Bui
>>
>>     On Fri, Jun 17, 2016 at 6:59 PM, Daniel-Constantin Mierla
>>     <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>>
>>         Is any chance that I get access to the system to do some
>tests
>>         myself? It looks like something specific for your system,
>>         running tls fine in many servers...
>>
>>         Cheers,
>>         Daniel
>>
>>
>>         On 15/06/16 16:16, wanmon wrote:
>>>         exactly the same error!
>>>
>>>         just disabling "#!define WITH_TLS" and start immediately
>with
>>>         "kamailio -m 64" or "kamctl start"
>>>
>>>         may help re-compile openssl from scratch (i installed from
>>>         .rpm)? any specific version? openssl-1.0? openssl-0.98?
>>>
>>>         Regards,
>>>
>>>
>>>
>>>         On 14 June 2016 16:03:30 CEST, Daniel-Constantin Mierla
>>>         <miconda at gmail.com> <mailto:miconda at gmail.com> wrote:
>>>
>>>             Hello,
>>>
>>>             are you providing -m command line parameter? If not, can
>>>             you try adding it (e.g., -m 64) to the command starting
>>>             kamailio, like:
>>>
>>>             kamailio -m 64 ...
>>>
>>>             Using kamctl is not really recommended to start
>kamailio.
>>>
>>>             Cheers,
>>>             Daniel
>>>
>>>             On 14/06/16 13:21, wanmon wanmon wrote:
>>>>              
>>>>             kamctl start
>>>>             ERROR: PID file /var/run/kamailio.pid does not exist --
>>>>             Kamailio start failed
>>>>              
>>>>
>>>>             *2016-06-14T13:29:39.269439+02:00 host kamailio: DEBUG:
>>>>             <core> [cfg.y:1619]: yyparse(): loading modules under
>>>>             /usr/local/lib64/kamailio/modules/
>>>>             2016-06-14T13:29:39.270075+02:00 host kamailio: DEBUG:
>>>>             <core> [cfg.y:1600]: yyparse(): loading module tls.so
>>>>             2016-06-14T13:29:39.270384+02:00 host kamailio: DEBUG:
>>>>             <core> [sr_module.c:575]: load_module(): trying to
>load*
>>>>             *</usr/local/lib64/kamailio/modules/tls.so>
>>>>             2016-06-14T13:29:39.318055+02:00 host kamailio: DEBUG:
>>>>             <core> [mem/q_malloc.c:189]: qm_malloc_init():
>>>>             qm_malloc_init: QM_OPTIMIZE=16384,*
>>>>             */ROUNDTO=2048
>>>>             2016-06-14T13:29:39.318269+02:00 host kamailio: DEBUG:
>>>>             <core> [mem/q_malloc.c:191]: qm_malloc_init():
>>>>             qm_malloc_init: QM_HASH_SIZE=2099,*
>>>>             *qm_block size=235152
>>>>             2016-06-14T13:29:39.318462+02:00 host kamailio: DEBUG:
>>>>             <core> [mem/q_malloc.c:192]: qm_malloc_init():
>>>>             qm_malloc_init(0x7f119bf96000, 67108864),*
>>>>             *start=0x7f119bf96000
>>>>             2016-06-14T13:29:39.318672+02:00 host kamailio: DEBUG:
>>>>             <core> [mem/q_malloc.c:200]: qm_malloc_init():
>>>>             qm_malloc_init: size= 67108864,*
>>>>             *init_overhead=235256
>>>>             2016-06-14T13:29:39.318871+02:00 host kamailio: ERROR:
>>>>             tls [tls_init.c:490]: tls_pre_init(): Unable to set the
>>>>             memory allocation functions
>>>>             2016-06-14T13:29:39.319072+02:00 host kamailio: ERROR:
>>>>             <core> [sr_module.c:607]: load_module():
>>>>             /usr/local/lib64/kamailio/modules/tls.so:*
>>>>             *mod_register failed*
>>>             [...]
>>>
>>>             -- 
>>>             Daniel-Constantin Mierla
>>>             http://www.asipto.com - http://www.kamailio.org
>>>             http://twitter.com/#!/miconda
>>>             <http://twitter.com/#%21/miconda> -
>http://www.linkedin.com/in/miconda
>>>             <http://www.linkedin.com/in/miconda>
>>>
>>         -- 
>>         Daniel-Constantin Mierla
>>         http://www.asipto.com - http://www.kamailio.org
>>         http://twitter.com/#!/miconda
><http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda
>>         <http://www.linkedin.com/in/miconda>
>>
>>         _______________________________________________ SIP Express
>>         Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>         sr-users at lists.sip-router.org
>>         <mailto:sr-users at lists.sip-router.org>
>>         http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>        
><http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users> 
>>
>>     -- 
>>     Hai Bui
>>     VoIP engineer, Cvoice team, HTK-HCM Office
>>     Mobile: +84-165-618-9876
>>
>> -- 
>> Hai Bui
>> VoIP engineer, Cvoice team, HTK-HCM Office
>> Mobile: +84-165-618-9876
>-- 
>Daniel-Constantin Mierla
>http://www.asipto.com - http://www.kamailio.org
>http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160815/003c88bf/attachment.html>


More information about the sr-users mailing list