[OpenSIPS-Devel] ERROR:db_mysql:db_mysql_submit_query

Iñaki Baz Castillo ibc at aliax.net
Sun Nov 23 16:47:37 CET 2008


El Domingo, 23 de Noviembre de 2008, Iñaki Baz Castillo escribió:
> 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.

Well, this occurs of course due to "auth_db" module:
  ERROR:auth_db:get_ha1: failed to query database

-- 
Iñaki Baz Castillo



More information about the Devel mailing list