[OpenSIPS-Devel] ERROR:db_mysql:db_mysql_submit_query

Sergio Gutierrez saguti at gmail.com
Sun Nov 23 16:46:36 CET 2008


Hello Iñaki.

Could you enable mysql query logging?

Regards.

Sergio.

On Sun, Nov 23, 2008 at 10:44 AM, Iñaki Baz Castillo <ibc at aliax.net> wrote:

> Hi, this error occurs to me very often (sometimes during an INVITE, during
> a
> SUBSCRIBE...). If it occurs during an INVITE, then OpenSIPS returns 500:
>
> -----------
> Nov 23 16:42:07 [12195] ERROR:db_mysql:db_mysql_submit_query: driver error
> on
> query: Commands out of sync; you can't run this command now
> Nov 23 16:42:07 [12195] ERROR:core:db_do_query: error while submitting
> query
> Nov 23 16:42:07 [12195] ERROR:auth_db:get_ha1: failed to query database
> -----------
>
> I use OpenSIPS rev 4943.
> I set:
>  modparam("usrloc", "db_mode", 1)
> but it also occurs with db_mode 2 and 3.
>
> Could I do something to detect the problem? Thanks a lot.
>
> --
> Iñaki Baz Castillo
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>



-- 
Sergio Gutiérrez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/devel/attachments/20081123/5ee4a1fb/attachment.htm 


More information about the Devel mailing list