Acct-Input-Octets Unknown Module

Alan DeKok aland at deployingradius.com
Sun Oct 4 14:35:52 CEST 2020


On Oct 4, 2020, at 8:19 AM, Osama Zien Adden <osama.zienadden at gmail.com> wrote
> I installed FreeRadius 3 on CentOS 7.
> 
> I got this error message:
> 
>  # Instantiating module "post_proxy_log" from file
> /etc/raddb/mods-enabled/detail.log
> /etc/raddb/mods-config/sql/main/oracle/queries.conf[28]: Failed parsing
> expanded string:
> /etc/raddb/mods-config/sql/main/oracle/queries.conf[28]:
> ...ed-IP-Address}','%{Service-Type}','%{Acct-Input-Octets:-0}','%{Acct-Output-Octets:-0}','%{NA...
> 
> /etc/raddb/mods-config/sql/main/oracle/queries.conf[28]:
>                      ^ Unknown module

  You edited the default configuration and broke it.  Don't do that.

  This error does not occur in the default configuration.

> The Acct-Input-Octets considered as Unknown Module.
> I enabled "redis" and "rediswho" and installed redis-server .. even I think
> that "redis" is not the module that I missed.

  The file "/etc/raddb/mods-config/sql/main/oracle/queries.conf" is loaded from the SQL module.  It has nothing to do with redis.

> Kindly advice, why FreeRadius can not deal with "Acct-Input-Octets" ?

  It can, unless you break the configuration.

> What is the required module in mods-enabled that I should activate to use
> "Acct-Input-Octets" ?

  Nothing.  That attribute is in the dictionaries.  Not the configuration files.

  It appears you added the file "/etc/raddb/mods-config/sql/main/oracle/queries.conf" to mods-enabled.  Why, I don't know.

  If you do something and the server breaks, you should probably *undo* that.  The server will then work.

  If you have a *problem* that you need help with, ask about the problem.  Right now, you've implemented a broken solution, and then are asking why the solution doesn't work.

  Alan DeKok.




More information about the Freeradius-Users mailing list