<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>It seems you've regenerated Makefile.conf, and forgot to remove
      db_mysql from the list of <b>"excluded_modul</b><b>es"</b>. To
      fix this:<br>
      <br>
      make menuconfig -&gt; Configure Compile Options -&gt; Configure
      Excluded Modules -&gt; [X] db_mysql<br>
      <br>
      Now, when you run "make all; make install", <b>"db_mysql"</b>,
      the last missing piece of the puzzle, will be recompiled as well.<br>
    </tt>
    <pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 29.01.2016 12:54, Денис Путято
      wrote:<br>
    </div>
    <blockquote cite="mid:738639262.20160129135441@ptl.ru" type="cite">
      <title>Re: [OpenSIPS-Users] Opensips 1.11 permission module
        problem</title>
      <span style=" font-family:'Times New Roman'; font-size: 12pt;">Hello<br>
        <br>
        It is doesn`t help.<br>
        1) make clean<br>
        2) make menuconfig. Set all necessary parameters (including <b>uncheck
          F_MALLOC</b> via the spacebar key, and <b>check DBG_QM_MALLOC</b>
        ).<br>
        3) save and exit<br>
        4) make all<br>
        5) make install<br>
        <br>
        When starts Opensips i can see the same errors in log.<br>
      </span><br>
      <br>
      <a moz-do-not-send="true" name="_x0000_i1025"></a>
      <table bgcolor="#ffffff">
        <tbody>
          <tr>
            <td bgcolor="#0000ff" width="2"><br>
            </td>
            <td><span style=" font-family:'courier new'; font-size:
                12pt;">You've only recompiled the <b>opensips</b>
                binary with the new flags, but forgot about all <b>shared
                  libraries</b> (modules)<br>
                <br>
                When changing compile flags, please recompile everything
                with <b>"make all"</b>, instead of just doing <b>"make"</b>.<br>
                <br>
                Liviu Chircu<br>
                OpenSIPS Developer<br>
              </span><a moz-do-not-send="true" style="
                font-family:'courier new'; font-size: 12pt;"
                href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><br>
              <span style=" font-family:'times new roman'; font-size:
                12pt;">On 29.01.2016 10:38, Денис Путято wrote:<br>
                Re: [OpenSIPS-Users] Opensips 1.11 permission module
                problem Hello, Bogdan<br>
                <br>
                The problem is still actual.<br>
                Due to doc </span><a moz-do-not-send="true" style="
                font-family:'times new roman'; font-size: 12pt;"
                href="http://www.opensips.org/Documentation/TroubleShooting-OutOfMem">http://www.opensips.org/Documentation/TroubleShooting-OutOfMem</a><span
                style=" font-family:'times new roman'; font-size: 12pt;">
                i try to prepare to make a log of memory.<br>
                I made "<b>uncheck F_MALLOC</b> via the spacebar key,
                and <b>check DBG_QM_MALLOC</b>"<br>
                <br>
                When i start Opensips i see in log such errors (see
                attachment).<br>
                <br>
                Thank you for any help.<br>
                <br>
                Sincerely, Denis <br>
                <br>
              </span>
              <table bgcolor="#ffffff">
                <tbody>
                  <tr>
                    <td bgcolor="#0000ff" width="2"><br>
                    </td>
                    <td><span style=" font-family:'courier new';
                        font-size: 12pt;">How much pkg memory have you
                        configured in your opensips ?<br>
                        <br>
                        Regards,<br>
                        Bogdan-Andrei Iancu<br>
                        OpenSIPS Founder and Developer<br>
                      </span><a moz-do-not-send="true" style="
                        font-family:'courier new'; font-size: 12pt;"
                        href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><br>
                      <span style=" font-family:'times new roman';
                        font-size: 12pt;">On 18.11.2015 12:24, dpa
                        wrote:</span></td>
                  </tr>
                </tbody>
              </table>
              <span style=" font-family:'times new roman'; font-size:
                11pt; color: #1f497d;">2314<br>
                <br>
                <span style=" font-size: 10pt; color: #000000;"><b>From:</b>
                  Bogdan-Andrei Iancu [</span></span><a
                moz-do-not-send="true" style=" font-family:'times new
                roman'; font-size: 10pt;"
                href="mailto:bogdan@opensips.org"><a class="moz-txt-link-freetext" href="mailto:bogdan@opensips.org">mailto:bogdan@opensips.org</a></a><span
                style=" font-family:'times new roman'; font-size: 10pt;">]
                <br>
                <b>Sent:</b> Wednesday, November 18, 2015 1:17 PM<br>
                <b>To:</b> dpa; 'OpenSIPS users mailling list'<br>
                <b>Subject:</b> Re: [OpenSIPS-Users] Opensips 1.11
                permission module problem<br>
                <br>
                <span style=" font-family:'courier new';">How many
                  records do you have in the address table ?<br>
                  <br>
                  Regards,<br>
                  <br>
                  Bogdan-Andrei Iancu<br>
                  OpenSIPS Founder and Developer<br>
                </span></span><a moz-do-not-send="true" style="
                font-family:'courier new'; font-size: 10pt;"
                href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><br>
              <span style=" font-family:'times new roman'; font-size:
                12pt;">On 18.11.2015 12:14, dpa wrote:<br>
                <span style=" font-size: 11pt; color: #1f497d;">Hello
                  Bogdan,<br>
                  <br>
                  Yes, I see errors<br>
                  “Oct 28 15:55:45 opensips-main
                  /usr/local/opensips1.11/sbin/opensips[7715]:
                  WARNING:core:fm_malloc: Not enough free memory, will
                  attempt defragmentation<br>
                  Oct 28 15:55:45 opensips-main
                  /usr/local/opensips1.11/sbin/opensips[7715]:
                  ERROR:core:db_allocate_rows: no memory left<br>
                  Oct 28 15:55:45 opensips-main
                  /usr/local/opensips1.11/sbin/opensips[7715]:
                  ERROR:db_mysql:db_mysql_convert_rows: no private
                  memory left<br>
                  Oct 28 15:55:45 opensips-main
                  /usr/local/opensips1.11/sbin/opensips[7715]:
                  ERROR:db_mysql:db_mysql_convert_result: error while
                  converting rows<br>
                  Oct 28 15:55:45 opensips-main
                  /usr/local/opensips1.11/sbin/opensips[7715]:
                  ERROR:db_mysql:db_mysql_store_result: error while
                  converting result<br>
                  Oct 28 15:55:45 opensips-main
                  /usr/local/opensips1.11/sbin/opensips[7715]:
                  ERROR:core:db_do_query: error while storing result for
                  query [select
                  ip,grp,mask,port,proto,pattern,context_info,id from
                  ast_address ]<br>
                  Oct 28 15:55:45 opensips-main
                  /usr/local/opensips1.11/sbin/opensips[7715]:
                  ERROR:permissions:reload_address_table: failed to
                  query database”<br>
                  <br>
                  <span style=" font-size: 10pt; color: #000000;"><b>From:</b>
                    Bogdan-Andrei Iancu [</span></span></span><a
                moz-do-not-send="true" style=" font-family:'times new
                roman'; font-size: 12pt;"
                href="mailto:bogdan@opensips.org"><a class="moz-txt-link-freetext" href="mailto:bogdan@opensips.org">mailto:bogdan@opensips.org</a></a><span
                style=" font-family:'times new roman'; font-size: 10pt;">]
                <br>
                <b>Sent:</b> Wednesday, November 18, 2015 1:04 PM<br>
                <b>To:</b> OpenSIPS users mailling list; </span><a
                moz-do-not-send="true" style=" font-family:'times new
                roman'; font-size: 12pt;"
                href="mailto:denis7979@mail.ru"><a class="moz-txt-link-abbreviated" href="mailto:denis7979@mail.ru">denis7979@mail.ru</a></a><br>
              <span style=" font-family:'times new roman'; font-size:
                10pt;"><b>Subject:</b> Re: [OpenSIPS-Users] Opensips
                1.11 permission module problem<br>
                <br>
                <span style=" font-family:'courier new';">Hi Denis,<br>
                  <br>
                  Do you see any errors in logs when the reload fails ?<br>
                  <br>
                  Regards,<br>
                  <br>
                  <br>
                  Bogdan-Andrei Iancu<br>
                  OpenSIPS Founder and Developer<br>
                </span></span><a moz-do-not-send="true" style="
                font-family:'courier new'; font-size: 10pt;"
                href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><br>
              <span style=" font-family:'times new roman'; font-size:
                12pt;">On 18.11.2015 07:29, dpa wrote:<br>
                <span style=" font-size: 11pt; color: #1f497d;">Hello
                  Richard<br>
                  <br>
                  It is about 1 – 1,5 week.<br>
                  No, I do not use subnets, only IP address. <br>
                  <br>
                  “<span style=" font-size: 12pt; color: #000000;">There
                    was a package memory leak that was fixed in the
                    development tree<span style=" font-size: 11pt;
                      color: #1f497d;">”<br>
                      Where can I read about it? Thank you.<br>
                      <br>
                      <span style=" font-size: 10pt; color: #000000;"><b>From:
                        </b></span></span></span></span></span><a
                moz-do-not-send="true" style=" font-family:'times new
                roman'; font-size: 12pt;"
                href="mailto:users-bounces@lists.opensips.org"><a class="moz-txt-link-abbreviated" href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a></a><span
                style=" font-family:'times new roman'; font-size: 10pt;">
                [</span><a moz-do-not-send="true" style="
                font-family:'times new roman'; font-size: 12pt;"
                href="mailto:users-bounces@lists.opensips.org">mailto:users-bounces@lists.opensips.org</a><span
                style=" font-family:'times new roman'; font-size: 10pt;">]
                <b>On Behalf Of </b>Richard Revels<br>
                <b>Sent:</b> Tuesday, November 17, 2015 8:55 PM<br>
                <b>To:</b> OpenSIPS users mailling list<br>
                <b>Subject:</b> Re: [OpenSIPS-Users] Opensips 1.11
                permission module problem<br>
                <br>
                <span style=" font-size: 12pt;">Are you using subnets in
                  your address table?  How often do you reload the
                  address table?<br>
                  <br>
                  There was a package memory leak that was fixed in the
                  development tree that might explain what you are
                  seeing.<br>
                  <br>
                  On Wed, Nov 11, 2015 at 4:26 AM, dpa &lt;</span></span><a
                moz-do-not-send="true" style=" font-family:'times new
                roman'; font-size: 12pt;"
                href="mailto:denis7979@mail.ru"><a class="moz-txt-link-abbreviated" href="mailto:denis7979@mail.ru">denis7979@mail.ru</a></a><span
                style=" font-family:'times new roman'; font-size: 12pt;">&gt;
                wrote:<br>
                <img alt="" style="padding : 1px;"
                  src="cid:part13.05080903.06030304@opensips.org"
                  height="38" width="39"><br>
                <span style=" font-size: 11pt; color: #1f497d;">Hello!<br>
                  <br>
                  Is there any assumption about problem?<br>
                  <br>
                  <span style=" font-size: 10pt; color: #000000;"><b>From:
                    </b></span></span></span><a moz-do-not-send="true"
                style=" font-family:'times new roman'; font-size: 12pt;"
                href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a><span
                style=" font-family:'times new roman'; font-size: 10pt;">
                [mailto:</span><a moz-do-not-send="true" style="
                font-family:'times new roman'; font-size: 10pt;"
                href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a><span
                style=" font-family:'times new roman'; font-size: 10pt;">]
                <b>On Behalf Of </b>dpa<br>
                <b>Sent:</b> Wednesday, October 28, 2015 4:12 PM<br>
                <b>To:</b> 'OpenSIPS users mailling list'<br>
                <b>Subject:</b> [OpenSIPS-Users] Opensips 1.11
                permission module problem<br>
                <br>
                <span style=" font-size: 11pt;">Hello!<br>
                  <br>
                  OpenSIPS (1.11.5-notls (x86_64/linux))<br>
                  <br>
                  I have a periodic problem with permissions module.<br>
                  I could not make opensipsctl address reload (“400
                  Trusted table reload failed” received). In the time I
                  have no problem with dialplan or drouting modules.<br>
                  Opensips reload solve the problem.<br>
                  <br>
                  <br>
                  In attachment log from opensips and statistic.<br>
                  <br>
                  Thank you for any help<br>
                  <br>
                  <br>
                  <br>
                  <br>
                  <span style=" font-size: 12pt;">_______________________________________________<br>
                    Users mailing list<br>
                  </span></span></span><a moz-do-not-send="true" style="
                font-family:'times new roman'; font-size: 12pt;"
                href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
              <a moz-do-not-send="true" style=" font-family:'times new
                roman'; font-size: 12pt;"
                href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
              <br>
              <br>
              <br>
              <br>
              <br>
              <span style=" font-family:'courier new'; font-size: 10pt;">_______________________________________________<br>
                Users mailing list<br>
              </span><a moz-do-not-send="true" style="
                font-family:'courier new'; font-size: 10pt;"
                href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
              <a moz-do-not-send="true" style=" font-family:'courier
                new'; font-size: 10pt;"
                href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
              <br>
              <br>
              <br>
              <span style=" font-family:'courier new'; font-size: 12pt;">_______________________________________________<br>
                Users mailing list<br>
              </span><a moz-do-not-send="true" style="
                font-family:'courier new'; font-size: 12pt;"
                href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
              <span style=" font-family:'courier new'; font-size: 12pt;">
              </span><a moz-do-not-send="true" style="
                font-family:'courier new'; font-size: 12pt;"
                href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
              <span style=" font-family:'courier new'; font-size: 12pt;">
              </span></td>
          </tr>
        </tbody>
      </table>
    </blockquote>
    <br>
  </body>
</html>