[OpenSIPS-Users] avp_db_query in opensips.cfg
Răzvan Crainea
razvan at opensips.org
Thu Nov 9 03:18:39 EST 2017
Yes, that's probably it.
I've just pushed a fix on all supported branches that should sort this
out. Please test it and let me know if there are any other issues.
Best regards,
Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com
On 11/08/2017 06:04 PM, Wilhelm Lundgren wrote:
> Ahh, thats probably it:
>
> Working version:
> version: opensips 2.2.1 (arm/linux)
> flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC,
> F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
> MAX_URI_SIZE 1024, BUF_SIZE 65535
> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
> git revision: 68ace2e
> main.c compiled on 14:42:20 Sep 14 2016 with gcc 4.6
>
>
> None working version:
> version: opensips 2.2.5 (i386/linux)
> flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC,
> F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
> MAX_URI_SIZE 1024, BUF_SIZE 65535
> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
> git revision: 4d0cc20
> main.c compiled on 09:52:01 Nov 8 2017 with gcc 4.7
>
>
>
>
> On 8 November 2017 at 15:14, Răzvan Crainea <razvan at opensips.org
> <mailto:razvan at opensips.org>> wrote:
>
> Hi, Wilhelm!
>
> 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).
> 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?
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Developer
> www.opensips-solutions.com <http://www.opensips-solutions.com>
>
> On 11/08/2017 02:09 PM, Wilhelm Lundgren wrote:
>> Hi,
>>
>> 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.
>>
>> 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:
>>
>> ERROR:avpops:avpops_db_bind: driver for DB URL [default] does not
>> support raw queries! when starting opensips.
>>
>> Removing all the avp_db_query from the cfg will make opensips
>> start ok, but i need those queries.
>>
>> Why does those queries work on arm and not on x86? I dont
>> understand why there should be any difference.
>>
>> /Wilhelm
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20171109/74d4344b/attachment.html>
More information about the Users
mailing list