[sr-dev] git:master: db_cluster: if a db query fails, mark connection inactive

Daniel-Constantin Mierla miconda at gmail.com
Tue Apr 10 19:58:39 CEST 2012


Hello,

did you have priority less than 9 or some priority with no connection? 
If yes, then try the last version from git master, I just pushed a fix.

If it was not that case, let me know.

Cheers,
Daniel

On 4/10/12 7:46 PM, Juha Heinanen wrote:
> 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
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
http://www.asipto.com/index.php/kamailio-advanced-training/




More information about the sr-dev mailing list