freeradius mysql configuration problem

Marinko Tarlac mangia81 at
Mon Jun 8 18:12:18 CEST 2009

You just need to read through log file you posted.

kalesameer wrote:
> hi,
> I am not able to configure freeradius to use mysql.The output of radiusd -X
> command is shown below.
> Can anyone tell me what my mistake is??
> Could not link driver rlm_sql_mysql: cannot open shared
> object file: No such file or directory
> Make sure it (and all its dependent libraries!) are in the search path of
> your system's ld.
> /usr/local/etc/raddb/sql.conf[22]: Instantiation failed for module "sql"
> /usr/local/etc/raddb/sites-enabled/default[152]: Failed to find module
> "sql".
> /usr/local/etc/raddb/sites-enabled/default[62]: Errors parsing authorize
> section. 
>  }
> Errors initializing modules
> [root at localhost mysql]# 

you need to uncomment sql.conf in modules section of radiusd.conf file...

$INCLUDE sql.conf

More information about the Freeradius-Users mailing list