VMPS sql error - WARNING: Unknown module "sql" in string expansion "%"

Alan DeKok aland at deployingradius.com
Mon Jan 19 03:25:52 CET 2015

On Jan 18, 2015, at 8:37 PM, Keith Olsen <keith.r.olsen at gmail.com> wrote:
> I have installed 2.2.6 from source on Ubuntu 14.10 and compiled and installed the sql driver
> I uncommented the $INCLUDE sql.conf line in radiusd.conf and assured the sql.conf is configured for my mysql environment.
> radiusd -X starts without any errors, but when my switch queries for the mac 2 vlan mapping I get the error:
> WARNING: Unknown module "sql" in string expansion “%”

  You’re using the SQL module in an expansion, but not using it as a normal module.  Version 2 isn’t smart about this.  Version 3 is better.

  You should edit radiusd.conf, and look for the “instantiate” section.  Then, add “sql” there.  That will fix the problem.

  Alan DeKok.

More information about the Freeradius-Users mailing list