How to load sql module befor all other sql module instance

Chaigneau, Nicolas nicolas.chaigneau at
Fri Jan 25 10:01:52 CET 2019

The "instantiate" section in radiusd.conf is what you're looking for.

-----Message d'origine-----
De : Freeradius-Users < at> De la part de Philemon Jaomalaza
Envoyé : vendredi 25 janvier 2019 07:08
À : 'FreeRadius users mailing list'
Objet : RE: How to load sql module befor all other sql module instance

I mean, I have to load the sql module before sqlcounter

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

thank you in advance


-----Message d'origine-----
De : Freeradius-Users [ at] De la part de Alan DeKok Envoyé : vendredi 25 janvier 2019 04:50 À : FreeRadius users mailing list <freeradius-users at>
Objet : Re: How to load sql module befor all other sql module instance

On Jan 24, 2019, at 7:00 PM, Philemon Jaomalaza <philemon.jaomalaza at> wrote:
> I can't load the SQL moduel befor all other SQL module instance so It 
> can't understand the dialect.

  I'm not sure what that means.

> How can I arrange to load SQL first then loads all other sql instace 
> module ?

  You don't.  You just configure each SQL module instance as normal.  The only difference is the name:

  sql instance1 {
	... config...

  Perhaps if you explained what you're trying to do, that would be better.

  Alan DeKok.

List info/subscribe/unsubscribe? See

L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.

List info/subscribe/unsubscribe? See
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

More information about the Freeradius-Users mailing list