<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>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...</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 15/06/16 16:16, wanmon wrote:<br>
    </div>
    <blockquote cite="mid:0C13D02A-6310-463A-A71E-4C15AB4AB665@gmx.de"
      type="cite">
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      exactly the same error!<br>
      <br>
      just disabling "#!define WITH_TLS" and start immediately with
      "kamailio -m 64" or "kamctl start"<br>
      <br>
      may help re-compile openssl from scratch (i installed from .rpm)?
      any specific version? openssl-1.0? openssl-0.98?<br>
      <br>
      Regards, <br>
      <br>
      <br>
      <br>
      <div class="gmail_quote">On 14 June 2016 16:03:30 CEST,
        Daniel-Constantin Mierla <a class="moz-txt-link-rfc2396E" href="mailto:miconda@gmail.com"><miconda@gmail.com></a> wrote:
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <p>Hello,</p>
          <p>are you providing -m command line parameter? If not, can
            you try adding it (e.g., -m 64) to the command starting
            kamailio, like:</p>
          <p>kamailio -m 64 ...</p>
          <p>Using kamctl is not really recommended to start kamailio.<br>
          </p>
          Cheers,<br>
          Daniel<br>
          <br>
          <div class="moz-cite-prefix">On 14/06/16 13:21, wanmon wanmon
            wrote:<br>
          </div>
          <blockquote
cite="mid:trinity-74b0c44b-c9c0-4388-adb4-f9a1aa359c8f-1465903306571@3capp-gmx-bs06"
            type="cite">
            <div style="font-family: Verdana;font-size: 12.0px;">
              <div> 
                <div>
                  <div>kamctl start</div>
                  <div>ERROR: PID file /var/run/kamailio.pid does not
                    exist -- Kamailio start failed</div>
                  <div> </div>
                  <div>
                    <div><br>
                      <span style="font-size:8px;"><strong>2016-06-14T13:29:39.269439+02:00
                          host kamailio: DEBUG: <core>
                          [cfg.y:1619]: yyparse(): loading modules under
                          /usr/local/lib64/kamailio/modules/<br>
                          2016-06-14T13:29:39.270075+02:00 host
                          kamailio: DEBUG: <core> [cfg.y:1600]:
                          yyparse(): loading module tls.so<br>
                          2016-06-14T13:29:39.270384+02:00 host
                          kamailio: DEBUG: <core>
                          [sr_module.c:575]: load_module(): trying to
                          load</strong></span></div>
                    <div><span style="font-size:8px;"><strong></usr/local/lib64/kamailio/modules/tls.so><br>
                          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,</strong></span></div>
                    <div><span style="font-size:8px;"><strong>/ROUNDTO=2048<br>
                          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,</strong></span></div>
                    <div><span style="font-size:8px;"><strong>qm_block
                          size=235152<br>
                          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),</strong></span></div>
                    <div><span style="font-size:8px;"><strong>start=0x7f119bf96000<br>
                          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,</strong></span></div>
                    <div><span style="font-size:8px;"><strong>init_overhead=235256<br>
                          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<br>
                          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:</strong></span></div>
                    <div><span style="font-size:8px;"><strong>mod_register
                          failed</strong></span><br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </blockquote>
          [...]
          <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.kamailio.org">http://www.kamailio.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
        </blockquote>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> - <a class="moz-txt-link-freetext" href="http://www.kamailio.org">http://www.kamailio.org</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>