Problem with config sql 3.0.7
Hello, I just install the freeradius 3.0.7 on the debian 7.8, I run the command chmod o+xr /etc/freeradius after the installation. I run the freeradius -X is alright! But when I copy /etc/freeradius/mods-available/sql /etc/freeradius/mods-available/sqlcounter to /etc/freeradius/mods-enabled Start server again and I am getting this: Copyright (C) 1999-2015 The FreeRADIUS server project and contributors There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License For more information about these matters, see the file named COPYRIGHT Starting - reading configuration files ... including dictionary file /usr/share/freeradius/dictionary including dictionary file /usr/share/freeradius/dictionary.dhcp including dictionary file /usr/share/freeradius/dictionary.vqp including dictionary file /etc/freeradius/dictionary including configuration file /etc/freeradius/radiusd.conf including configuration file /etc/freeradius/proxy.conf including configuration file /etc/freeradius/clients.conf including files in directory /etc/freeradius/mods-enabled/ including configuration file /etc/freeradius/mods-enabled/detail.log including configuration file /etc/freeradius/mods-enabled/sqlcounter No such configuration item modules.sql.dialect /etc/freeradius/mods-enabled/sqlcounter[43]: Reference "${modules.sql.dialect}" not found Errors reading or parsing /etc/freeradius/radiusd.conf What I am doing wrong? Thanks PS: I moving from 3.0.4 and fresh install to 3.0.7
Hi,
after the installation. I run the freeradius -X is alright! But when I copy /etc/freeradius/mods-available/sql /etc/freeradius/mods-available/sqlcounter to /etc/freeradius/mods-enabled Start server again and I am getting this: Copyright (C) 1999-2015 The FreeRADIUS server project and contributors There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License For more information about these matters, see the file named COPYRIGHT Starting - reading configuration files ... including dictionary file /usr/share/freeradius/dictionary including dictionary file /usr/share/freeradius/dictionary.dhcp including dictionary file /usr/share/freeradius/dictionary.vqp including dictionary file /etc/freeradius/dictionary including configuration file /etc/freeradius/radiusd.conf including configuration file /etc/freeradius/proxy.conf including configuration file /etc/freeradius/clients.conf including files in directory /etc/freeradius/mods-enabled/ including configuration file /etc/freeradius/mods-enabled/detail.log including configuration file /etc/freeradius/mods-enabled/sqlcounter No such configuration item modules.sql.dialect /etc/freeradius/mods-enabled/sqlcounter[43]: Reference "${modules.sql.dialect}" not found Errors reading or parsing /etc/freeradius/radiusd.conf
What I am doing wrong? Thanks
in the sql file should be the dialect option. if thats there, that bit is fine...but it looks like your server is loading in the sqlcounter config file before loading in the sql file... alan
On Feb 26, 2015, at 6:14 AM, Haviaras Kostas <koshalirod@gmail.com> wrote: ...
including configuration file /etc/freeradius/mods-enabled/sqlcounter No such configuration item modules.sql.dialect /etc/freeradius/mods-enabled/sqlcounter[43]: Reference "${modules.sql.dialect}" not found Errors reading or parsing /etc/freeradius/radiusd.conf
What I am doing wrong? Thanks
PS: I moving from 3.0.4 and fresh install to 3.0.7
The server reads module configuration files off of the disk in the order that they’re in the mods-enabled/ directory. This can mean that the module order changes when the directory changes. The solution is to explicitly set order in radiusd.conf. See the “instantiate” section. Alan DeKok.
participants (3)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
Haviaras Kostas