SQL connections and radius restart
The exactly question is, how could I detect when freeradius loses connection with the SQL and how can I reconnect it automatically. I have been reading "configurable_failover" and "supervise-radiusd.txt", but didn't find a way to do this. Thanks Guido
Guido wrote: Hi list, I'm using freeradius with Ms-SQL. Freeradius can open connections as many as are configured in mssql (num_sql_socks = 3). It is ok, but when SQL go down, or when connection with SQL go down freeradius can't connect to SQL until freeradius is restarted. So, I need a way to rstart freeradius when any problem with SQL happens.
Send a HUP signal to the server. Alan DeKok.
Guido wrote:
The exactly question is, how could I detect when freeradius loses connection with the SQL and how can I reconnect it automatically.
The code in rlm_sql should do this, but apparently sometimes it doesn't. The solution is to track down the bugs in rlm_sql, and fix them. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
participants (2)
-
Alan DeKok -
Guido