Hi, I'm calling a number of mysql stored procedures with something like update control { Tmp-String-3 := "%{sql_master:CALL get_manufacturer('%{NAS-IP-Address}')}" } and stuff works just fine. I then put the following in the instantiate section of radiusd.conf after my definitions of sql_master and sql_slave redundant redundant_sql { load-balance { redundant { sql_master sql_slave } redundant { sql_slave sql_master } } } and changed the 1st statement to be update control { Tmp-String-3 := "%{redundant_sql:CALL get_manufacturer('%{NAS-IP-Address}')}" } I'm now seeing a lot of ..... on Sep 29 11:30:59 2014 : Info: WARNING: Unknown module "redundant_sql" in string expansion "%" appearing in radius.log. I'm running Vsn 2.2.5 What do I have to get rid of the unknown module warnings? Rgds Alex ========== Time for another Macmillan Cancer Support event. This time its the Indian Himalaya's Cycle Challenge 2014 Please sponsor me at http://www.justgiving.com/Alex-Sharaz
Alex Sharaz wrote:
and changed the 1st statement to be update control { Tmp-String-3 := "%{redundant_sql:CALL get_manufacturer('%{NAS-IP-Address}')}"
That won't work. The redundant sections are fail-over configurations. They aren't modules.
on Sep 29 11:30:59 2014 : Info: WARNING: Unknown module "redundant_sql" in string expansion "%"
Because it's not a module. In version 3, the server won't even start with that configuration.
What do I have to get rid of the unknown module warnings?
Fix the %{...} string to use a real module. Don't use a redundant section. Alan DeKok.
Guess I need to read a bit more on how to use the redundant section Rgds A On 29 Sep 2014, at 13:39, Alan DeKok wrote:
Alex Sharaz wrote:
and changed the 1st statement to be update control { Tmp-String-3 := "%{redundant_sql:CALL get_manufacturer('%{NAS-IP-Address}')}"
That won't work. The redundant sections are fail-over configurations. They aren't modules.
on Sep 29 11:30:59 2014 : Info: WARNING: Unknown module "redundant_sql" in string expansion "%"
Because it's not a module.
In version 3, the server won't even start with that configuration.
What do I have to get rid of the unknown module warnings?
Fix the %{...} string to use a real module. Don't use a redundant section.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Alan DeKok -
Alex Sharaz