[sr-dev] git:master: db_cluster: if a db query fails, mark connection inactive
Juha Heinanen
jh at tutpro.com
Tue Apr 10 19:46:45 CEST 2012
daniel,
i tried with latest master and the result was that db_cluster queries do
not work at all.
whatever the first module in .cfg file that uses mysql is, i get these
kind of errors:
Apr 10 20:41:39 sip /usr/sbin/sip-proxy[22399]: ERROR: db_cluster [dbcl_api.c:294]: invalid mode #000 (0)
Apr 10 20:41:39 sip /usr/sbin/sip-proxy[22399]: ERROR: <core> [db.c:389]: error in db_query
Apr 10 20:41:39 sip /usr/sbin/sip-proxy[22399]: ERROR: <core> [db.c:428]: querying version for table dialplan
Apr 10 20:41:39 sip /usr/sbin/sip-proxy[22399]: ERROR: dialplan [dp_db.c:106]: error during table version check.
Apr 10 20:41:39 sip /usr/sbin/sip-proxy[22399]: ERROR: dialplan [dialplan.c:200]: could not initialize data
Apr 10 20:41:39 sip /usr/sbin/sip-proxy[22399]: ERROR: <core> [sr_module.c:939]: init_mod(): Error while initializing module dialplan (/usr/lib/sip-proxy/modules/dialplan.so)
in the above it was dialplan.
mysql logging only shows Connect and nothing else.
-- juha
More information about the sr-dev
mailing list