Hello all, I am trying to configure freeradius with mysql. I did the relevent changes in radiusd.conf and when i start the server in debug mode, it is giving an error: "rlm_sql (sql): Could not link driver rlm_sql_mysq: file not found rlm_sql (sql): Make sure it (all its dependent libraries) are in the search path of your system's ld. radiusd.conf[14]: sql: Module instantiation failed." Here are the changes i made in radiusd.conf file: sqltrace=yes uncommented the line sql in Authorize section. commented the line sql in preacct section. uncommented the line sql in accounting section. Created the radius database using the schema in the file db_mysql.sql. Wht can be problem with configuration.Pls clarify any other config changes required. Thanks in advance. Regards, Sri
Sri, ¿it never works ? ¿how did you build your radius ? ¿what's your platform and mysql version ? ¿sis you remember to have mysql-devel (mysql headers) available when you build freeradius ?, it seems to me that the driver is not working. In the message below "driver rlm_sql_mysq" is a typo (should be mysql) ¿did you make the right configs in your sql.conf ? hope it helps regards Hernan Antolini freeradius-users-bounces+antolini=ar.ibm.com@lists.freeradius.org wrote on 10/26/2006 10:10:30 PM:
Hello all,
I am trying to configure freeradius with mysql. I did the relevent changes in radiusd.conf and when i start the server in debug mode, it is giving an error: "rlm_sql (sql): Could not link driver rlm_sql_mysq: file not found rlm_sql (sql): Make sure it (all its dependent libraries) are in the search path of your system's ld. radiusd.conf[14]: sql: Module instantiation failed." Here are the changes i made in radiusd.conf file: sqltrace=yes uncommented the line sql in Authorize section. commented the line sql in preacct section. uncommented the line sql in accounting section. Created the radius database using the schema in the file db_mysql.sql.
Wht can be problem with configuration.Pls clarify any other config changes required.
Thanks in advance.
Regards, Sri - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
balijepalli srikrishnamohan -
Hernan Antolini