Hi Daniel,
I had enable_tls=yes written before loading any modules earlier and it was working good on 14.04. Now I just changed the sequence on 16.04 and it works as expected. Here is snippet below:

loadmodule "tls.so"

enable_tls=yes

--- Jayesh


On Thu, Jul 14, 2016 at 3:21 PM Daniel-Constantin Mierla <miconda@gmail.com> wrote:

Hello,

don't really get what you did? Can you paste the relevant snippet of config?

Cheers,
Daniel


On 14/07/16 07:40, Jayesh Nambiar wrote:
Hello,
Just did enable_tls after loadmodule "tls.so" and this now works. Thanks.

- Jayesh

On Thu, Jul 14, 2016 at 11:06 AM Jayesh Nambiar <jayesh1017@gmail.com> wrote:
I did load the tls first but still get the same error. Here is the loadmodule sequence:

loadmodule "tls.so"

loadmodule "mi_fifo.so"

loadmodule "kex.so"

loadmodule "corex.so"

loadmodule "tm.so"

loadmodule "tmx.so"

loadmodule "sl.so"

loadmodule "rr.so"

loadmodule "pv.so"

loadmodule "maxfwd.so"

loadmodule "dialog.so"

loadmodule "textops.so"

loadmodule "siputils.so"

loadmodule "xlog.so"

loadmodule "sanity.so"

loadmodule "ctl.so"

loadmodule "cfg_rpc.so"

loadmodule "mi_rpc.so"

loadmodule "nathelper.so"

loadmodule "nat_traversal.so"

loadmodule "xhttp.so"

loadmodule "websocket.so"

loadmodule "path.so"

loadmodule "tcpops.so"

loadmodule "rtpengine.so"

loadmodule "debugger.so"


Anything else that I can do to debug this, kindly let me know. Thanks.

- Jayesh


On Thu, Jul 14, 2016 at 2:37 AM Daniel-Constantin Mierla <miconda@gmail.com> wrote:

Hello,

load first the tls module and then the others.

Cheers,
Daniel


On 13/07/16 19:54, Jayesh Nambiar wrote:
Opensl Version:

OpenSSL 1.0.2g-fips  1 Mar 2016


Order of loadmodules:

loadmodule "mi_fifo.so"

loadmodule "kex.so"

loadmodule "corex.so"

loadmodule "tm.so"

loadmodule "tmx.so"

loadmodule "sl.so"

loadmodule "rr.so"

loadmodule "pv.so"

loadmodule "maxfwd.so"

loadmodule "dialog.so"

loadmodule "textops.so"

loadmodule "siputils.so"

loadmodule "xlog.so"

loadmodule "sanity.so"

loadmodule "ctl.so"

loadmodule "cfg_rpc.so"

loadmodule "mi_rpc.so"

loadmodule "nathelper.so"

loadmodule "nat_traversal.so"

loadmodule "xhttp.so"

loadmodule "websocket.so"

loadmodule "path.so"

loadmodule "tcpops.so"

loadmodule "rtpengine.so"

loadmodule "tls.so"

loadmodule "debugger.so"


-- Jayesh



On Wed, Jul 13, 2016 at 10:18 PM Daniel-Constantin Mierla <miconda@gmail.com> wrote:

Hello,

can you provide details about:

 - order of loaded modules:

grep "loadmodule" kamailio.cfg

  - the version of libssl

Cheers,
Daniel


On 13/07/16 16:48, Jayesh Nambiar wrote:
Hi,
Trying kamailio with Ubuntu 16.04 and I'm getting errors as follows:

ERROR: tls [tls_init.c:490]: tls_pre_init(): Unable to set the memory allocation functions

The error is identical to the one mentioned here:

https://bugs.launchpad.net/ubuntu/+source/kamailio/+bug/1591992

Is there a solution to this. Thanks for any response.

- Jayesh



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-- 
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda