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

Pizu pizpower at gmail.com
Wed Sep 22 17:17:12 CEST 2021


Hi,

Line 365:         $INCLUDE
${modconfdir}/${.:name}/main/${dialect}/queries.conf

Regards,


On Wed, 22 Sept 2021 at 17:08, Alan DeKok <aland at deployingradius.com> wrote:

> 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.
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list