How to load sql module befor all other sql module instance

Alan DeKok aland at deployingradius.com
Fri Jan 25 13:05:17 CET 2019


On Jan 25, 2019, at 1:08 AM, Philemon Jaomalaza <philemon.jaomalaza at gmail.com> wrote:
> 
> I mean, I have to load the sql module before sqlcounter

  Then you should have said that in the first message.  Asking *good questions* is a way to get the problem fixed.

> whereas when I start freeradius, I have these errors:
> 
> # /etc/freeradius/ 3.0 / mods-enabled / sqlcounter [46]: Reference "$ {modules.sql.dialect}" not found
> 
> # /etc/freeradius/ 3.0 / mods-enabled / sqlcounter [51]: Reference "$ {modconfdir} / sql / counter / $ {dialect} / $ {.: instance} .conf" points to a variable which has not been expanded.
> Errors reading or parsing /etc/freeradius/3.0/radiusd.conf
> 
> I will like to know how to change the order of change of the modules in / mod-enabled which for the sql module to be loaded forward sqlcounter, sql1, sql2, sql3

  Use v3.0.x from GitHub.  You still need to list "sql" in the "instantiate" section.

  Alan DeKok.




More information about the Freeradius-Users mailing list