3.0.9 rlm_sql startup error

Alan DeKok aland at deployingradius.com
Fri Jun 26 17:35:05 CEST 2015


On Jun 26, 2015, at 11:26 AM, Adam Hammond <adam.hammond at wicoms.com> wrote:
> I've checked out 3.0.x from git and configured it to my means. I get the following error when I try and start it:
> 
> /etc/raddb/mods-config/sql/main/postgresql/queries.conf[150]: Failed parsing expanded string:
> /etc/raddb/mods-config/sql/main/postgresql/queries.conf[150]: ...M radgroupcheck WHERE GroupName = '%{SQL-Group}' ORDER BY id
> /etc/raddb/mods-config/sql/main/postgresql/queries.conf[150]:                                        						     ^ Unknown attribute

  You edited the configuration files and broken them.  Don't do that.
> 
>  # Loading module "wicoms_sql" from file /etc/raddb/mods-enabled/sql
>  sql wicoms_sql {

  Why did you change the name?  What's wrong with just using "sql {" ?

  If you change the name, you have to use the instance name in SQL-Group, as in:

	wicoms_sq-SQL-Group

  Which means changing the default queries, too.

  To be honest, it's easier to just refer to the module as "sql", instead of "wicoms-sql"

  Alan DeKok.




More information about the Freeradius-Users mailing list