Duplicate module "sql sql", in file /etc/freeradius/mods-enabled/sql
rajabu kitindi
rkitindi at gmail.com
Tue Apr 6 09:24:08 CEST 2021
Hi Alan,
Thank you!
Raj
On Mon, Apr 5, 2021 at 4:27 PM Alan DeKok <aland at deployingradius.com> wrote:
>
> 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/?
>
> Yes.
>
> > 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.
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
--
MOTD: When we stop to think, we often miss our opportunity
More information about the Freeradius-Users
mailing list