Duplicate module "sql sql", in file /etc/freeradius/mods-enabled/sql

Alan DeKok aland at deployingradius.com
Mon Apr 5 15:26:41 CEST 2021

On Apr 5, 2021, at 7:17 AM, rajabu kitindi <rkitindi at gmail.com> wrote:
> I had these settings in my /etc/freeradius/radiusd.conf file under modules
> section.
>        $INCLUDE mods-enabled/
>        $INCLUDE mods-enabled/sql
> This was a root cause. So I commented out $INCLUDE mods-enabled/sql to get
> it going.

  Or, read the comments in radiusd.conf, in the "modules" section.  The documentation says to include "sql" BEFORE the wildcard directory include.

  Then it works.

> But this way doesn't seem to be working because I have configured a user
> defined module   "chillispot_max_bytes" under instantiate section, and when
> I run freeradius -X command, I get an error chillispot_max_bytes is an
> unknown module. But actually an include statement at the end of
> mods-enabled/sqlcounter including a file which contains this contains this
> user-defined module. This is how I did it
> $INCLUDE ${modconfdir}/sql/counter/mysql/chillispot.conf
> When I  open, $INCLUDE ${modconfdir}/sql/counter/mysql/chillispot.conf I
> have
> sqlcounter chillispot_max_bytes {

  That's not really a good process.

> What would be your opinion, should I just create a chillispot_max_bytes
> under /etc/freeradius/mods-enabled/?


> Or if you have a working cheat sheet on how to integrate coovachilli with
> freeradius, that will be appreciated too.

  All documentation is online.  There is no secret documentation that you have to ask for.

  It's good to see that CoovaChili is still alive.  The author got hired at Google, and there was near-zero progress for many years.

  Alan DeKok.

More information about the Freeradius-Users mailing list