Everyone, I'm a newbie here, so please don't hack me to shreds. I've read the FAQ and Docs closely, and tried everything I can, but I must be missing something....
I sucsessfully built v81 of FreeRadius on my server, and I can properly authenticate using the USERS file, and demo user of 'steve'.... However, for whatever reason, I cannot get the server to connect to the mySQL database to look up users there, and the dialup_admin program can't seem to add or edit users because of this. I know the DB is working, as I can connect to it using mysql, or phpmyadmin. The tables are there, as per the schema for both apps. I'm thinking that I missed a configure option when I built it, but a configure --help doesn't say anything about mysql. I've properly configured the sql.conf file to make sure it's got all the correct info, and the radiusd.conf file calls it correctly. In the pre-accounting, and session areas I put in 'sql' rather than 'files', and when I do that, I get an error in the log: Fri Jan 10 20:08:24 2003 : Error: rlm_sql (sql): Could not link driver rlm_sql_mysql: file not found Fri Jan 10 20:08:24 2003 : Error: rlm_sql (sql): Make sure it (and all its dependent libraries!) are in the search path of your system's ld. Fri Jan 10 20:08:24 2003 : Error: radiusd.conf[14]: sql: Module instantiation failed. Now, there is no module in my /usr/local/lib directory called rlm_sql_mysql... there is one called rlm_sql though, nor is there source for such a module name. So, in the sql.conf file I changed the driver from 'rlm_sql_mysql' to 'rlm_sql'... and then the server just hangs with this in the log: Fri Jan 10 20:13:32 2003 : Info: rlm_sql (sql): Driver rlm_sql (module SQL) loaded and linked Fri Jan 10 20:13:32 2003 : Info: rlm_sql (sql): Attempting to connect to root@localhost:/radius running radiusd -X results in the following: rlm_sql (sql): Driver rlm_sql (module SQL) loaded and linked rlm_sql (sql): Attempting to connect to root@localhost:/radius rlm_sql (sql): starting 0 rlm_sql (sql): Attempting to connect SQL #0 Segmentation fault Any clues as to what I'm doing wrong here? Maybe the MySQL module just got left out of the .81 distrib? I'm running this on a FreeBSD 4.5 system. Thanks! Don - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
