Alan, Could you please add this as a feature request for the next release and solve it properly? The major issue is that if we ignore error of NAS table loading at startup time then it will never recover and load NAS when DB becomes availlable again in runtime. But al least in this case if it succeeds to read NAS info from the redundant database then it will cache it and continue loading other modules. As far as I understand to add/modify NAS information in runtime we still need to recycle radiusd process as even HUP does not help. What do you think if we comment out this code until the real solution comes? rlm_sql.c if (inst->config->do_clients){ if (generate_sql_clients(inst) == -1){ radlog(L_ERR, "Failed to load clients from SQL."); #if 0 /* ignore DB connect failure */ rlm_sql_detach(inst); return -1; #endif } } Alan DeKok-2 wrote:
leopold wrote:
Please tell me not to change code and ignore SQL errors during startup time when your read NAS table.
The only way to fix this is to change the source code of the server.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- View this message in context: http://www.nabble.com/sql.conf-failover-readclients%3Dyes-tp23103617p2316246... Sent from the FreeRadius - User mailing list archive at Nabble.com.