Re: [OpenSIPS-Devel] [opensips] Problem starting OpenSIPs with TLS (#834)

2016-03-22 Thread apsaras
That is the result with the new patch

Mar 22 15:47:36 [2556] WARNING:core:main: no fork mode and no udp listen 
address found
Mar 22 15:47:36 [2556] NOTICE:core:main: version: opensips 2.1.2 (x86_64/linux)
Mar 22 15:47:36 [2556] NOTICE:signaling:mod_init: initializing module ...
Mar 22 15:47:36 [2556] WARNING:load_balancer:lb_db_load_data: table 
"load_balancer" empty
Mar 22 15:47:36 [2556] WARNING:proto_tls:mod_init: unable to set the memory 
allocation functions m=0x7f41aae3c139|0x7f41b3a13ac0|0x7f41b3a13ac0 
r=0x7f41aae3bf0e|0x7f41b3a14e20|0x7f41b3a14e20 
f=0x7f41aae3c40f|0x7f41b3a14920|0x7f41b3a14920
Mar 22 15:47:36 [2556] ERROR:core:init_mod: failed to initialize module 
proto_tls
Mar 22 15:47:36 [2556] ERROR:core:main: error while initializing modules


---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/834#issuecomment-199823945___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Problem starting OpenSIPs with TLS (#834)

2016-03-22 Thread apsaras
I have the latest Centos 6 OpenSSL version provided by yum and is not easy to 
upgrade OpenSSL on Centos from sources.

So the problem is OpenSSL related?

I will try the patch and come back to you.



---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/834#issuecomment-199811099___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Problem starting OpenSIPs with TLS (#834)

2016-03-22 Thread Răzvan Crainea
Could you revert the previous patch and apply this one [2]? It looks like the 
OpenSSL functions are used before setting the memory allocation functions, just 
as in this thread[3]. Any chance you upgrade the openssl library?

[2] https://gist.github.com/razvancrainea/35d4b039dadc9349941f
[3] https://rt.openssl.org/Ticket/Display.html?id=3137=guest=guest

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/834#issuecomment-199754428___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Problem starting OpenSIPs with TLS (#834)

2016-03-21 Thread apsaras
Hello

Mar 21 11:50:06 [8044] WARNING:core:main: no fork mode and no udp listen 
address found
Mar 21 11:50:06 [8044] NOTICE:core:main: version: opensips 2.1.2 (x86_64/linux)
Mar 21 11:50:06 [8044] NOTICE:signaling:mod_init: initializing module ...
Mar 21 11:50:06 [8044] WARNING:load_balancer:lb_db_load_data: table 
"load_balancer" empty
Mar 21 11:50:06 [8044] WARNING:proto_tls:mod_init: unable to set the memory 
allocation functions m=0x7f9c27862139|0x7f9c30439ac0|0x7f9c30439ac0 
r=0x7f9c27861f0e|0x7f9c3043ae20|0x7f9c3043ae20 
f=0x7f9c2786240f|0x7f9c3043a920|0x7f9c3043a920
Mar 21 11:50:06 [8044] ERROR:core:init_mod: failed to initialize module 
proto_tls
Mar 21 11:50:06 [8044] ERROR:core:main: error while initializing modules


---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/834#issuecomment-199197801___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Problem starting OpenSIPs with TLS (#834)

2016-03-21 Thread Răzvan Crainea
Can you apply this[1] patch, run opensips again, and paste the Warning?

[1] 
https://gist.github.com/razvancrainea/95788fd927d23d84ac10#file-proto_tls_mem_debug-patch

Thanks,
Răzvan

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/834#issuecomment-199194070___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel