<div dir="ltr">Ahh, thats probably it:<div><br></div><div><div>Working version:</div><div>version: opensips 2.2.1 (arm/linux)</div><div>flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT</div><div>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535</div><div>poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.</div><div>git revision: 68ace2e</div><div>main.c compiled on 14:42:20 Sep 14 2016 with gcc 4.6</div></div><div><br></div><div><br></div><div>None working version:</div><div><div>version: opensips 2.2.5 (i386/linux)</div><div>flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT</div><div>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535</div><div>poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.</div><div>git revision: 4d0cc20</div><div>main.c compiled on 09:52:01 Nov  8 2017 with gcc 4.7</div></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 8 November 2017 at 15:14, Răzvan Crainea <span dir="ltr"><<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <tt>Hi, Wilhelm!<br>
      <br>
      I don't think the problem is the linux version, but OpenSIPS
      version. Can you check if the two installs are using different
      versions of OpenSIPS (try ./opensips -V).<br>
      Lately there was a commit which might trigger this error and I
      want to double check if that's the case. Can you send the version
      of OpenSIPS you are using?<br>
      <br>
      Best regards,<br>
    </tt>
    <pre class="m_7499448192253736084moz-signature" cols="72">Răzvan Crainea
OpenSIPS Developer
<a class="m_7499448192253736084moz-txt-link-abbreviated" href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre><div><div class="h5">
    <div class="m_7499448192253736084moz-cite-prefix">On 11/08/2017 02:09 PM, Wilhelm
      Lundgren wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr"><span style="font-size:12.8px">Hi,</span>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">Im running opensips 2.2 (built on
          the platform) on an arm platform (wheezy). In the config i use
          several avp_db_query against the sqlite db. This works fine.</div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">However, when using the same
          config on the same linux (but for amd64, or i386), using the
          same opensips version,  i cant start opensips, i get:</div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px"><span>ERROR:avpops:avpops_db_bind:
            driver for DB URL [default] does not support raw queries!
            when starting opensips.</span><br>
        </div>
        <div style="font-size:12.8px"><span><br>
          </span></div>
        <div style="font-size:12.8px"><span>Removing
            all the avp_db_query from the cfg will make opensips start
            ok, but i need those queries.</span></div>
        <div style="font-size:12.8px"><span><br>
          </span></div>
        <div style="font-size:12.8px"><span>Why
            does those queries work on arm and not on x86? I dont
            understand why there should be any difference.</span></div>
        <div class="m_7499448192253736084gmail-yj6qo m_7499448192253736084gmail-ajU" style="margin:2px 0px 0px;font-size:12.8px">
          <div id="m_7499448192253736084gmail-:5n" class="m_7499448192253736084gmail-ajR"><img class="m_7499448192253736084gmail-ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div>
        </div>
        <span class="m_7499448192253736084gmail-HOEnZb m_7499448192253736084gmail-adL" style="font-size:12.8px"><font color="#888888">
            <div><span><br>
              </span></div>
            <div><span>/Wilhelm</span></div>
          </font></span></div>
      <br>
      <fieldset class="m_7499448192253736084mimeAttachmentHeader"></fieldset>
      <br>
      </div></div><pre>______________________________<wbr>_________________
Users mailing list
<a class="m_7499448192253736084moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_7499448192253736084moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>