<p>Hi,<br>
I'm using version 1.11, from the yum repo.<br>
I tried changing the data in load_balancer and address table, then reload with:<br>
opensipsctl fifo lb_reload<br>
opensipsctl fifo address_reload</p>

<p>result was:<br>
Sep  4 08:38:15 opensipstest /usr/sbin/opensips[2276]: INFO:load_balancer:mi_lb_reload: "lb_reload" MI command received!<br>
Sep  4 08:38:15 opensipstest /usr/sbin/opensips[2276]: ERROR:db_unixodbc:db_unixodbc_submit_query: rv=-1. Query= select id,group_id,dst_uri,resources,probe_mode from load_balancer <br>
Sep  4 08:38:15 opensipstest /usr/sbin/opensips[2276]: ERROR:core:db_do_query: error while submitting query - [select id,group_id,dst_uri,resources,probe_mode from load_balancer ]<br>
Sep  4 08:38:15 opensipstest /usr/sbin/opensips[2276]: ERROR:load_balancer:lb_db_load_data: DB query failed<br>
Sep  4 08:38:15 opensipstest /usr/sbin/opensips[2276]: ERROR:load_balancer:load_lb_data: failed to load data from DB<br>
Sep  4 08:38:15 opensipstest /usr/sbin/opensips[2276]: CRITICAL:load_balancer:lb_reload_data: failed to load load-balancing info<br>
Sep  4 08:38:15 opensipstest /usr/sbin/opensips[2276]: CRITICAL:load_balancer:mi_lb_reload: failed to load load balancing data</p>

<p>Sep  4 08:38:28 opensipstest /usr/sbin/opensips[2276]: ERROR:db_unixodbc:db_unixodbc_submit_query: rv=-1. Query= select ip,grp,mask,port,proto,pattern,cprefix,id from address <br>
Sep  4 08:38:28 opensipstest /usr/sbin/opensips[2276]: ERROR:core:db_do_query: error while submitting query - [select ip,grp,mask,port,proto,pattern,cprefix,id from address ]<br>
Sep  4 08:38:28 opensipstest /usr/sbin/opensips[2276]: ERROR:permissions:reload_address_table: failed to query database</p>

<p>Using mi_http produces the same output.<br>
I can see that the db is not hit at all, let me know if I you need any other informations.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/321">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNTQzOTYyNiwiZGF0YSI6eyJpZCI6NDE1MTgwNzB9fQ==--ebbe2ba1871a387252a3916b3bce330426b23423.gif" width="1" /></p>