Startup Fails with "No such file or directory" for sql queries.conf

Alan DeKok aland at deployingradius.com
Thu Jan 25 21:39:09 UTC 2024


On Jan 25, 2024, at 3:38 PM, Timothy Weaver <timothyweaver at gmail.com> wrote:
> I am attempting to use the FreeRADIUS Docker container, but when I try to
> include the mysql configuration the server fails to start with the
> following errors:
> 
> ....
> including configuration file /etc/freeradius/mods-enabled/sql
> including configuration file
> /etc/freeradius/mods-config/sql/main/mysql/queries.conf}

  Why is there an extra "}" after the file name?

> Here's what I've confirmed:

  You've edited the configuration files and broken them.  Don't do that.

  Instead of the mods-enabled/sql file ending with:

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

  It's been edited to:

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

  Put the "}" on the next line, and it will work.

  Alan DeKok.



More information about the Freeradius-Users mailing list