hell guys, im trying to install Freeradius using May 19 CVS snapshot and
strangely i got this error when running in debugging mode:


 Thu May 20 02:04:34 2004 : Debug:  sql: group_membership_query = "SELECT
GroupName FROM usergroup WHERE UserName='%{SQL-User-Name}'"
Thu May 20 02:04:34 2004 : Debug:  sql: connect_failure_retry_delay = 60
Thu May 20 02:04:34 2004 : Debug:  sql: simul_count_query = "SELECT
COUNT(*) FROM radacct WHERE UserName='%{SQL-User-Name}' AND AcctStopTime =
0"
Thu May 20 02:04:34 2004 : Debug:  sql: simul_verify_query = "SELECT
RadAcctId, AcctSessionId, UserName, NASIPAddress, NASPortId,
FramedIPAddress, CallingStationId, FramedProtocol FROM radacct WHERE
UserName='%{SQL-User-Name}' AND AcctStopTime = 0"
Thu May 20 02:04:34 2004 : Debug:  sql: postauth_table = "radpostauth"
Thu May 20 02:04:34 2004 : Debug:  sql: postauth_query = "INSERT into
radpostauth (id, user, pass, reply, date) values ('', '%{User-Name}',
'%{User-Password:-Chap-Password}', '%{reply:Packet-Type}', NOW())"
Thu May 20 02:04:34 2004 : Debug:  sql: safe-characters =
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
Thu May 20 02:04:34 2004 : Info: rlm_sql (sql): Driver rlm_sql_mysql
(module rlm_sql_mysql) loaded and linked
Thu May 20 02:04:34 2004 : Info: rlm_sql (sql): Attempting to connect to
[EMAIL PROTECTED]:/radius
Thu May 20 02:04:34 2004 : Debug: rlm_sql (sql): starting 0
Thu May 20 02:04:34 2004 : Debug: rlm_sql (sql): Attempting to connect
rlm_sql_mysql #0
Segmentation fault (core dumped)



It seems that freeradius cannot connect to mysql server but i am sure that
mysql is running smoothly. I test again, im tried to install freeradius
(freeradius-0.9.3) using port, btw im using freebsd 4.9 and its working as
i expected using the same mysql server, same database. It strange because
using this install parameter:

./configure --localstatedir=/var --sysconfdir=/etc --enable-ltdl-install
--with-rlm-mysql-lib-dir=/usr/local/lib/mysql
--with-rlm-mysql-include-dir=/usr/local/include/mysql

I run freeradius with mysql module support many times. Any comments,
suggestion is highly appreciated... thanks very much.

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to