#yum install mysql-devel mysql
(see what is missing and install it with yum)
FreeRadius install from tar.gz archive (www.freeradius.org -> Downloads). 2.1.1 works perfectly.
# wget .....
# tar -xvzf freeradius....tar.gz
# ./configure
# make
# make install
Location is /usr/local/etc/raddb
configure is your friend. Read output and install what is needed.
Bashir Jahed wrote:The "sql.conf" file is included from the default radiusd.conf. The
> Ok,
>
> I have re-installed, updated, installed freeradius. Freeradius-mysql,
> mysql, mysql-devel. Created db, imported tables from examples in
> /usr.share/doc/freradius/.../...sql as per docs. Created db user, edited
> sql.conf file to match, uncommented sql in authorize and accounting
> section of radius.conf, still get the following error:
>
> ERROR: Cannot find a configuration entry for module "sql".
only time you get this error is if you edited the radiusd.conf file, and
deleted the line that references sql.conf.
Please START with the default configuration files, and THEN make minor
edits to customize it for your system. See "man radiusd" for help.
Alan DeKok.