On Tue, 30 Apr 2002, Chris Hartel wrote:
> Hi folks!
>
> Compiling FreeRADIUS with FreeTDS support works fine. But I can't get it to
> actually work!
>
> With last night's snapshot (freeradius-snapshot-20020430) and FreeTDS 0.53
> MySQL works fine, but as soon as I switch the 'driver' line in sql.conf to
> "rlm_sql_freetds" radiusd -xx returns:
>
> Module: Loaded SQL
> sql: driver = "rlm_sql_freetds"
> sql: server = "localhost"
> sql: port = ""
> sql: login = "root"
> sql: password = "x"
> sql: radius_db = "radius"
> sql: acct_table = "radacct"
> sql: acct_table2 = "radacct"
> sql: authcheck_table = "radcheck"
> sql: authreply_table = "radreply"
> sql: groupcheck_table = "radgroupcheck"
> sql: groupreply_table = "radgroupreply"
> sql: usergroup_table = "usergroup"
> sql: nas_table = "nas"
> sql: dict_table = "dictionary"
> sql: sqltrace = no
> sql: sqltracefile = "/var/log/radius/sqltrace.sql"
> sql: deletestalesessions = yes
> sql: num_sql_socks = 5
> sql: sql_user_name = "%{User-Name}"
> ...
> sql: connect_failure_retry_delay = 60
> rlm_sql: Could not link driver rlm_sql_freetds: file not found
> rlm_sql: Make sure it (and all its dependent libraries!) are in the search
> path of your system's ld.
> radiusd.conf[4]: sql: Module instantiation failed.
>
> The file rlm_sql_freetds.so is located in /lib/ (exactly as
> rlm_sql_mysql.so). So why doesn't radiusd find it?
>
> I haven't actually got a MS SQL server running right now, so the module
> can't access a db of course, but it doesn't even seem to get that far...
>
> What am I missing? Any idas?
>
> Thanx,
> Chris
strace -e open radiusd -xx
That should help you find out what is happening.
--
Kostas Kalevras Network Operations Center
[EMAIL PROTECTED] National Technical University of Athens, Greece
Work Phone: +30 10 7721861
'Go back to the shadow' Gandalf
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html