<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>I upgraded openssl version to 1.0.2h.</p>
    <p>The error now is different.</p>
    <p>Aug 17 12:46:03 [5229] ERROR:core:sr_load_module: could not open
      module
      &lt;/usr/lib/x86_64-linux-gnu/opensips/modules/tls_mgm.so&gt;:
      /lib/x86_64-l inux-gnu/libssl.so.1.0.0: undefined symbol:
      EVP_idea_cbc<br>
    </p>
    <p>It looks like it miss a cipher.</p>
    <p>Stefano<br>
    </p>
    <br>
    <div class="moz-cite-prefix">Il 17/08/2016 16:09, Răzvan Crainea ha
      scritto:<br>
    </div>
    <blockquote
      cite="mid:d7e14137-afb6-aeea-9250-f2c34c32cd31@opensips.org"
      type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      <tt>Can you try to downgrade it[1]? At least just for testing
        purposes.<br>
        BTW, I am using 1.0.2h and it works fine.<br>
        <br>
        [1]
        <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://askubuntu.com/questions/292314/how-to-downgrade-packages-on-ubuntu">http://askubuntu.com/questions/292314/how-to-downgrade-packages-on-ubuntu</a><br>
        <br>
        Best regards,<br>
      </tt>
      <pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
      <div class="moz-cite-prefix">On 08/17/2016 04:07 PM, Stefano
        Pisani wrote:<br>
      </div>
      <blockquote
        cite="mid:84872442-15f4-d607-c15a-fc053a6a64fc@omnianet.it"
        type="cite">
        <meta content="text/html; charset=UTF-8"
          http-equiv="Content-Type">
        <div class="moz-cite-prefix">It seems to be the last available
          version for ubuntu 16.04 LTS. What can I do?<br>
          <br>
          #apt-get install openssl<br>
          Reading package lists... Done<br>
          Building dependency tree<br>
          Reading state information... Done<br>
          openssl is already the newest version (1.0.2g-1ubuntu4.1)<br>
          <br>
          Thanks<br>
          Stefano<br>
          <br>
          <br>
          <br>
          <br>
          Il 17/08/2016 14:52, Răzvan Crainea ha scritto:<br>
        </div>
        <blockquote
          cite="mid:3b2cfe7f-3bb7-ca3f-cd5e-ac4e5cb78ff0@opensips.org"
          type="cite">
          <meta content="text/html; charset=UTF-8"
            http-equiv="Content-Type">
          <tt>Seems to be a similar problem to the 1.0.1e-fips library.
            Could you try to upgrade the openssl package?<br>
            <br>
            Thanks,<br>
          </tt>
          <pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
          <div class="moz-cite-prefix">On 08/17/2016 12:48 PM, Stefano
            Pisani wrote:<br>
          </div>
          <blockquote
            cite="mid:b02afc50-49a4-5ead-3f7e-18a6f8337750@omnianet.it"
            type="cite">
            <meta content="text/html; charset=UTF-8"
              http-equiv="Content-Type">
            <p>I miss the last two lines</p>
            <p>(gdb) info line *0x7ffff7672a70<br>
              Line 2935 of "malloc.c" starts at address 0x7ffff7672a70
              &lt;__GI___libc_free&gt; and ends at 0x7ffff7672a7a
              &lt;__GI___libc_free+10&gt;.<br>
              (gdb) info line *0x7ffff161b60e<br>
              Line 101 of "tls.h" starts at address 0x7ffff161b60e
              &lt;os_free&gt; and ends at 0x7ffff161b61a
              &lt;os_free+12&gt;.<br>
              <br>
            </p>
            <p>I hope this helps.<br>
            </p>
            <p>Aug 17 05:41:30 [10867] <a moz-do-not-send="true"
                class="moz-txt-link-freetext"
                href="INFO:tls_mgm:mod_init">INFO:tls_mgm:mod_init</a>:
              initializing TLS protocol<br>
              Aug 17 05:41:30 [10867] ERROR:tls_mgm:mod_init: unable to
              set the memory allocation functions<br>
              Aug 17 05:41:30 [10867] ERROR:tls_mgm:mod_init: NOTE:
              check if you have openssl 1.0.1e-fips, as this version is
              known to be broken; if so, you need to upgrade or
              downgrade to a different openssl version !!<br>
              Aug 17 05:41:30 [10867] ERROR:tls_mgm:mod_init: extra:
              malloc=0x7ffff161b5aa/0x7ffff7672550
              realloc=0x7ffff161b5d6/0x7ffff7672c40
              free=0x7ffff161b60e/0x7ffff7672a70 version=OpenSSL
              1.0.2g-fips  1 Mar 2016<br>
              Aug 17 05:41:30 [10867] ERROR:core:init_mod: failed to
              initialize module tls_mgm<br>
              Aug 17 05:41:30 [10867] ERROR:core:main: error while
              initializing modules<br>
              (gdb) info line *0x7ffff7672550<br>
              Line 2903 of "malloc.c" starts at address 0x7ffff7672550
              &lt;__GI___libc_malloc&gt; and ends at 0x7ffff7672556
              &lt;__GI___libc_malloc+6&gt;.<br>
              (gdb) info line *0x7ffff7672c40<br>
              Line 2975 of "malloc.c" starts at address 0x7ffff7672c40
              &lt;__GI___libc_realloc&gt; and ends at 0x7ffff7672c54
              &lt;__GI___libc_realloc+20&gt;.<br>
              (gdb) info line *0x7ffff161b5aa<br>
              Line 89 of "tls.h" starts at address 0x7ffff161b5aa
              &lt;os_malloc&gt; and ends at 0x7ffff161b5b6
              &lt;os_malloc+12&gt;.<br>
              (gdb) info line *0x7ffff161b5d6<br>
              Line 95 of "tls.h" starts at address 0x7ffff161b5d6
              &lt;os_realloc&gt; and ends at 0x7ffff161b5e6
              &lt;os_realloc+16&gt;.<br>
              <br>
            </p>
            <br>
            <div class="moz-cite-prefix">Il 17/08/2016 11:16, Răzvan
              Crainea ha scritto:<br>
            </div>
            <blockquote
              cite="mid:1e01a826-628a-f094-aa25-56a22c2c7649@opensips.org"
              type="cite">
              <meta content="text/html; charset=UTF-8"
                http-equiv="Content-Type">
              <tt>Can you </tt><tt>run 'gdb </tt><tt>./opensips' and
                run the following commands:</tt><br>
              <tt>info </tt><tt>lin</tt><tt>e *</tt><tt>0x7f0ce10d8a70</tt><br>
              <tt>info line *0x7f0ce10d8550</tt>
              <p><tt>Thanks,</tt><br>
              </p>
              <pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
              <div class="moz-cite-prefix">On 08/17/2016 12:06 PM,
                Stefano Pisani wrote:<br>
              </div>
              <blockquote
                cite="mid:9cf5fcf7-60fa-28e5-60ac-194667997186@omnianet.it"
                type="cite">
                <meta content="text/html; charset=UTF-8"
                  http-equiv="Content-Type">
                <p>Hi Răzvan.</p>
                <p>These are the new logs. I hope it helps to fix this.<br>
                </p>
                <p>Aug 17 05:04:40 [3997] <a moz-do-not-send="true"
                    class="moz-txt-link-freetext"
                    href="INFO:tls_mgm:mod_init">INFO:tls_mgm:mod_init</a>:
                  initializing TLS protocol<br>
                  Aug 17 05:04:40 [3997] ERROR:tls_mgm:mod_init: unable
                  to set the memory allocation functions<br>
                  Aug 17 05:04:40 [3997] ERROR:tls_mgm:mod_init: NOTE:
                  check if you have openssl 1.0.1e-fips, as this version
                  is known to be broken; if so, you need to upgrade or
                  downgrade to a different openssl version !!<br>
                  Aug 17 05:04:40 [3997] ERROR:tls_mgm:mod_init: extra:
                  malloc=0x7f0cdb0845c8/0x7f0ce10d8550
                  realloc=0x7f0cdb0845f4/0x7f0ce10d8c40
                  free=0x7f0cdb08462c/0x7f0ce10d8a70 version=OpenSSL
                  1.0.2g-fips  1 Mar 2016<br>
                  Aug 17 05:04:40 [3997] ERROR:core:init_mod: failed to
                  initialize module tls_mgm<br>
                  Aug 17 05:04:40 [3997] ERROR:core:main: error while
                  initializing modules<br>
                  <br>
                </p>
                Thanks.<br>
                Stefano<br>
                <br>
                <div class="moz-cite-prefix">Il 17/08/2016 09:53, Răzvan
                  Crainea ha scritto:<br>
                </div>
                <blockquote
                  cite="mid:179242c7-b202-e2ba-a767-ecc4435189e9@opensips.org"
                  type="cite">
                  <meta content="text/html; charset=UTF-8"
                    http-equiv="Content-Type">
                  <p><tt>Hi, Stefano!<br>
                    </tt></p>
                  <p><tt>Apologies, I did not push the changes. Could
                      you please re-clone and try again?</tt><br>
                  </p>
                  <p><tt>Best regards,</tt><br>
                  </p>
                  <pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
                  <div class="moz-cite-prefix">On 08/16/2016 07:26 PM,
                    Stefano Pisani wrote:<br>
                  </div>
                  <blockquote
                    cite="mid:8a6e188f-251c-d214-72c6-070cb4c7b80d@omnianet.it"
                    type="cite">
                    <meta content="text/html; charset=UTF-8"
                      http-equiv="Content-Type">
                    <div class="moz-cite-prefix">I have this result.<br>
                      <br>
                      # ./opensips -V<br>
                      version: opensips 2.3.0-dev (x86_64/linux)<br>
                      flags: STATS: On, DISABLE_NAGLE, USE_MCAST,
                      SHM_MMAP, PKG_MALLOC, QM_MALLOC, DBG_MALLOC,
                      FAST_LOCK-ADAPTIVE_WAIT<br>
                      ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE
                      262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE
                      65535<br>
                      poll method support: poll, epoll_lt, epoll_et,
                      sigio_rt, select.<br>
                      git revision: 058991d<br>
                      main.c compiled on 11:50:11 Aug 16 2016 with gcc
                      5.4.0<br>
                      <br>
                      <br>
                      <br>
                      Il 16/08/2016 18:23, Răzvan Crainea ha scritto:<br>
                    </div>
                    <blockquote
                      cite="mid:b986979f-e86a-d5ce-94e4-25727dc195f7@opensips.org"
                      type="cite">
                      <meta content="text/html; charset=UTF-8"
                        http-equiv="Content-Type">
                      <p><tt>Hi, Stefano!</tt></p>
                      <p><tt>I don't think you are using the latest
                          sources. Either you have not installed them,
                          or you are using a wrong path. Could you
                          please double-check?<br>
                        </tt></p>
                      <p><tt>Best regards,<br>
                        </tt></p>
                      <pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
                      <div class="moz-cite-prefix">On 08/16/2016 06:56
                        PM, Stefano Pisani wrote:<br>
                      </div>
                      <blockquote
                        cite="mid:4fb2f0d1-7a59-68b3-01b8-5f8ed6a9f340@omnianet.it"
                        type="cite">
                        <meta content="text/html; charset=UTF-8"
                          http-equiv="Content-Type">
                        <p>I cloned the source from <br>
                        </p>
                        <pre><code class="escaped">git clone <a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips.git">https://github.com/OpenSIPS/opensips.git</a> opensips_head

the error appears the same

Aug 16 11:55:14 [25630] <a moz-do-not-send="true" class="moz-txt-link-freetext" href="INFO:tls_mgm:mod_init">INFO:tls_mgm:mod_init</a>: initializing TLS protocol
Aug 16 11:55:14 [25630] ERROR:tls_mgm:mod_init: unable to set the memory allocation functions
Aug 16 11:55:14 [25630] ERROR:tls_mgm:mod_init: NOTE: check if you have openssl 1.0.1e-fips, as this version is know to be broken; if so, you need to upgrade or downgrade to a differen openssl version !!
Aug 16 11:55:14 [25630] ERROR:core:init_mod: failed to initialize module tls_mgm
Aug 16 11:55:14 [25630] ERROR:core:main: error while initializing modules
Aug 16 11:55:14 [25630] <a moz-do-not-send="true" class="moz-txt-link-freetext" href="INFO:core:cleanup">INFO:core:cleanup</a>: cleanup
Aug 16 11:55:14 [25630] DBG:dispatcher:destroy: destroying module ...
Aug 16 11:55:14 [25630] DBG:tm:tm_shutdown: tm_shutdown : start
Aug 16 11:55:14 [25630] DBG:tm:unlink_timer_lists: emptying DELETE list for set 0
Aug 16 11:55:14 [25630] DBG:tm:tm_shutdown: emptying hash table
Aug 16 11:55:14 [25630] DBG:tm:tm_shutdown: releasing timers
Aug 16 11:55:14 [25630] DBG:tm:tm_shutdown: removing semaphores
Aug 16 11:55:14 [25630] DBG:tm:tm_shutdown: destroying callback lists
Aug 16 11:55:14 [25630] DBG:tm:tm_shutdown: tm_shutdown : done
Aug 16 11:55:14 [25630] DBG:core:shm_mem_destroy: destroying the shared memory lock
Aug 16 11:55:14 [25630] NOTICE:core:main: Exiting....

Thanks
Stefano

</code></pre>
                        <br>
                        <div class="moz-cite-prefix">Il 16/08/2016
                          17:18, Răzvan Crainea ha scritto:<br>
                        </div>
                        <blockquote
                          cite="mid:98226c69-8774-cb13-95fd-e6ffa4d145d3@opensips.org"
                          type="cite">Stefano! <br>
                          <br>
                          I've added some extra debugging in the master
                          branch that might help you debug this. Could
                          you please take the latest git version/deb and
                          try to run again? <br>
                          <br>
                          Best regards, <br>
                          <br>
                          Răzvan Crainea <br>
                          OpenSIPS Solutions <br>
                          <a moz-do-not-send="true"
                            class="moz-txt-link-abbreviated"
                            href="http://www.opensips-solutions.com">www.opensips-solutions.com</a>
                          <br>
                          <br>
                          On 08/16/2016 10:52 AM, Stefano Pisani wrote:
                          <br>
                          <blockquote type="cite">I'm trying to enable
                            wss on opensips 2.2.1 and Ubuntu 16.04.1 LTS
                            <br>
                            <br>
                            version: opensips 2.2.1 (x86_64/linux) <br>
                            flags: STATS: On, DISABLE_NAGLE, USE_MCAST,
                            SHM_MMAP, PKG_MALLOC, F_MALLOC,
                            FAST_LOCK-ADAPTIVE_WAIT <br>
                            ADAPTIVE_WAIT_LOOPS=1024,
                            MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
                            MAX_URI_SIZE 1024, BUF_SIZE 65535 <br>
                            poll method support: poll, epoll_lt,
                            epoll_et, sigio_rt, select. <br>
                            main.c compiled on  with gcc 5.3.1 <br>
                            <br>
                            It's not working: <br>
                            Aug 16 03:43:02 [3915] <a
                              moz-do-not-send="true"
                              class="moz-txt-link-freetext"
                              href="INFO:tls_mgm:mod_init">INFO:tls_mgm:mod_init</a>:
                            initializing TLS protocol <br>
                            Aug 16 03:43:02 [3915]
                            ERROR:tls_mgm:mod_init: unable to set the
                            memory allocation functions <br>
                            Aug 16 03:43:02 [3915]
                            ERROR:tls_mgm:mod_init: NOTE: check if you
                            have openssl 1.0.1e-fips, as this version is
                            know to be broken; if so, you need to
                            upgrade or downgrade to a differen openssl
                            version !! <br>
                            Aug 16 03:43:02 [3915] ERROR:core:init_mod:
                            failed to initialize module tls_mgm <br>
                            <br>
                            OpenSSL version is OpenSSL 1.0.2g-fips  1
                            Mar 2016 <br>
                            <br>
                            The opensips installed packages are: <br>
opensips                                        install <br>
opensips-tls-module:amd64                       install <br>
opensips-tlsmgm-module:amd64                    install <br>
opensips-wss-module:amd64                       install <br>
                            <br>
                            <br>
                            There is something I can do? <br>
                            Thanks <br>
                            <br>
                            <br>
                            <br>
                            <br>
                            <br>
                            <br>
_______________________________________________ <br>
                            Users mailing list <br>
                            <a moz-do-not-send="true"
                              class="moz-txt-link-abbreviated"
                              href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
                            <br>
                            <a moz-do-not-send="true"
                              class="moz-txt-link-freetext"
                              href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
                            <br>
                          </blockquote>
                          <br>
                          <br>
_______________________________________________ <br>
                          Users mailing list <br>
                          <a moz-do-not-send="true"
                            class="moz-txt-link-abbreviated"
                            href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
                          <br>
                          <a moz-do-not-send="true"
                            class="moz-txt-link-freetext"
                            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
                          <br>
                        </blockquote>
                        <br>
                        <br>
                        <fieldset class="mimeAttachmentHeader"></fieldset>
                        <br>
                        <pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                      </blockquote>
                      <br>
                      <br>
                      <fieldset class="mimeAttachmentHeader"></fieldset>
                      <br>
                      <pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                    </blockquote>
                    <p><br>
                    </p>
                    <br>
                    <fieldset class="mimeAttachmentHeader"></fieldset>
                    <br>
                    <pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                  </blockquote>
                  <br>
                  <br>
                  <fieldset class="mimeAttachmentHeader"></fieldset>
                  <br>
                  <pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                </blockquote>
                <br>
                <br>
                <fieldset class="mimeAttachmentHeader"></fieldset>
                <br>
                <pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
              </blockquote>
              <br>
              <br>
              <fieldset class="mimeAttachmentHeader"></fieldset>
              <br>
              <pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
            </blockquote>
            <br>
            <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <br>
            <pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
          </blockquote>
          <br>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
        </blockquote>
        <p><br>
        </p>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>