[OpenSIPS-Devel] ERROR:db_mysql:db_mysql_submit_query

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


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



More information about the Devel mailing list