<div dir="ltr">Hi Daniel,<div>Just checking if you had a chance to look at ssl libraries in Ubuntu16.04 to check the conflict with TLS module? Thanks.</div><div><br></div><div>- Jayesh</div><div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 19, 2016 at 6:11 PM Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <p>Hello,</p>
    <p>following up -- apparently there is some issue with the lib in
      ubuntu 16.04, same module working fine in 15.10, as reported on
      the tracker:</p>
    <p>  - <a href="https://github.com/kamailio/kamailio/issues/714" target="_blank">https://github.com/kamailio/kamailio/issues/714</a></p>
    <p>When I get a chance I will install a ubuntu 16.04 myself and dig
      more into the libssl sources.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p></div><div bgcolor="#FFFFFF" text="#000000">
    <br>
    <div>On 18/07/16 14:46, Jayesh Nambiar
      wrote:<br>
    </div>
    </div><div bgcolor="#FFFFFF" text="#000000"><blockquote type="cite">
      <div dir="ltr">Hi Daniel,
        </div></blockquote></div><div bgcolor="#FFFFFF" text="#000000"><blockquote type="cite"><div dir="ltr"><div>Thanks for looking into this. I tried with this patch and
          still get the same error. Here are the relevant part of logs:</div>
        <div>
          <p><span><span> </span>0(25032)
              DEBUG: <core> [cfg.y:1603]: yyparse(): loading
              module tls.so</span></p>
          <p><span><span> </span>0(25032)
              DEBUG: <core> [sr_module.c:575]: load_module():
              trying to load
              </usr/local/kamailio/lib64/kamailio/modules/tls.so></span></p>
          <p><span><span> </span>0(25032)
              DEBUG: <core> [mem/q_malloc.c:189]:
              qm_malloc_init(): qm_malloc_init: QM_OPTIMIZE=16384,
              /ROUNDTO=2048</span></p>
          <p><span><span> </span>0(25032)
              DEBUG: <core> [mem/q_malloc.c:191]:
              qm_malloc_init(): qm_malloc_init: QM_HASH_SIZE=2099,
              qm_block size=235152</span></p>
          <p><span><span> </span>0(25032)
              DEBUG: <core> [mem/q_malloc.c:193]:
              qm_malloc_init(): qm_malloc_init(0x7fda8249d000,
              67108864), start=0x7fda8249d000</span></p>
          <p><span><span> </span>0(25032)
              DEBUG: <core> [mem/q_malloc.c:202]:
              qm_malloc_init(): qm_malloc_init: size= 67108864,
              init_overhead=235256</span></p>
          <p><span><span> </span>0(25032)
              ERROR: tls [tls_init.c:493]: tls_pre_init(): Unable to set
              the memory allocation functions</span></p>
          <p><span><span> </span>0(25032)
              ERROR: tls [tls_init.c:495]: tls_pre_init(): libssl
              current mem functions - m: 0x7fda87673550 r:
              0x7fda87673c40 f: 0x7fda87673a70</span></p>
          <p><span><span> </span>0(25032)
              ERROR: tls [tls_init.c:497]: tls_pre_init(): Be sure tls
              module is loaded before any other module using libssl (can
              be loaded first to be safe)</span></p>
          <p><span><span> </span>0(25032)
              ERROR: <core> [sr_module.c:607]: load_module():
              /usr/local/kamailio/lib64/kamailio/modules/tls.so:
              mod_register failed</span></p>
          <p><span><span> </span>0(25032)
              : <core> [cfg.y:3391]: yyerror_at(): parse error in
              config file
              /usr/local/kamailio/etc/kamailio/tlkn-edge/kamailio.cfg,
              line 47, column 12-19: failed to load module</span></p>
          <p><span><br>
            </span></p>
          <p><span>Yes I
              can provide ssh access to this machine. I'll send it to
              you seperately.</span></p>
          <p><span>Thanks,</span></p>
          <p><span>-
              Jayesh</span></p>
        </div>
      </div></blockquote></div><div bgcolor="#FFFFFF" text="#000000"><blockquote type="cite">
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Mon, Jul 18, 2016 at 2:25 PM Daniel-Constantin
          Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000">
            <p>Hello,</p>
            <p>no time over the weekend to look at logs, but I pushed
              just now a patch to try to see if the memory functions
              were set or something else prevented the set of memory
              functions.</p>
            <p>Can you try with the patch:</p>
            <p>  -
              <a href="https://github.com/kamailio/kamailio/commit/966513b374eef598434c5310a43eac2735adfd2e" target="_blank">https://github.com/kamailio/kamailio/commit/966513b374eef598434c5310a43eac2735adfd2e</a></p>
            <p>I am at IEFT96 so I will try to do some stuff during the
              breaks... if doesn't work, then it may take a bit to get
              more into it.</p>
            <p>Just in case, would it be possible to get ssh access to
              such system?<br>
            </p>
            <p>Cheers,<br>
              Daniel<br>
            </p>
          </div>
        </blockquote>
      </div>
    </blockquote></div><div bgcolor="#FFFFFF" text="#000000">
    <pre cols="72">-- 
Daniel-Constantin Mierla
<a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a> - <a href="http://www.kamailio.org" target="_blank">http://www.kamailio.org</a>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></pre>
  </div></blockquote></div></div></div>