FreeRadius Fresh installation 3.0.23 "${dialect}" Reference "${dialect}" not found

Alan DeKok aland at deployingradius.com
Wed Sep 22 17:07:53 CEST 2021


On Sep 22, 2021, at 9:34 AM, Pizu <pizpower at gmail.com> wrote:
> I have just installed FreeRadius from https://networkradius.com/packages/
> repo on ubuntu 20.04

  That's good...
> ...
> Wed Sep 22 15:21:50 2021 : Debug: including configuration file
> /etc/freeradius/mods-enabled/sql
> 
> *Wed Sep 22 15:21:50 2021 : Error: /etc/freeradius/mods-enabled/sql[365]:
> Reference "${dialect}" not foundWed Sep 22 15:21:50 2021 : Error: Errors
> reading or parsing /etc/freeradius/radiusd.co <http://radiusd.co>*nf

  Weird.  It works here, including all of the automated tests in GitHub.

  What's on line 365 of /etc/freeradius/mods-enabled/sql ?

> in mods-enabled/sql I have the below:
> 
>        dialect = "mysql"
> 
>        driver = "rlm_sql_${dialect}"
> 
> I tried changing it to mysql instead of ${dialect}, still the same error.

  Then you're not changing the right thing.  Look on line 365.

  Alan DeKok.



More information about the Freeradius-Users mailing list