Hello I've just installed Fedora 4 with MYSQL 4.1.18 I tried to install the last version of freeradius and i 've a big error at the startup Mysql is correctly installed into the system.. startup with -X Module: Loaded SQL sql: driver = "rlm_sql_mysql" sql: server = "xxx.yyy.be" sql: port = "" sql: login = "" sql: password = "" 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//sqltrace.sql" sql: readclients = no sql: deletestalesessions = yes sql: num_sql_socks = 5 sql: sql_user_name = "%{User-Name}" sql: default_user_profile = "" sql: query_on_not_found = no sql: authorize_check_query = "SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE Username = '%{SQL-User-Name}' ORDER BY id" sql: authorize_reply_query = "SELECT id,UserName,Attribute,Value,op FROM radreply WHERE Username = '%{SQL-User-Name}' ORDER BY id" ........................ sql: postauth_table = "radpostauth" sql: postauth_query = "INSERT into radpostauth (id, user, pass, reply, date) values ('', '%{User-Name}', '%{User-Password:-Chap-Password}', '%{reply:Packet-Type}', NOW())" sql: safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012 3456789.-_: /" Segmentation fault
I've found a problem... configure: warning: mysql libraries not found. Use --with-mysql-lib- dir=<path>. configure: warning: sql submodule 'mysql' disabled i've used : ./configure --with-mysql-lib-dir=/usr/local/lib/mysql/ and in this dir , i have libdbug.a libmerge.a libmyisammrg.a libmysqlclient.la libmysqlclient.so.14 libmystrings.a libnisam.a libheap.a libmyisam.a libmysqlclient.a libmysqlclient.so libmysqlclient.so.14.0.0 libmysys.a libvio.a On 9 Feb 2006 at 21:30, Breuer Nicolas wrote: From: "Breuer Nicolas" <Nicolas.Breuer@belcenter.biz> Organization: BELCENTER ISP&PORTALS To: freeradius-users@lists.freeradius.org Date sent: Thu, 09 Feb 2006 21:30:38 +0100 Priority: normal Subject: Problem Seg Fault Send reply to: Nicolas.Breuer@belcenter.biz, FreeRadius users mailing list <freeradius-users@lists.freeradius.org> <mailto:freeradius-users-request@lists.freeradius.org?subject=unsubscribe> <mailto:freeradius-users-request@lists.freeradius.org?subject=subscribe>
Hello
I've just installed Fedora 4 with MYSQL 4.1.18
I tried to install the last version of freeradius and i 've a big error at the startup
Mysql is correctly installed into the system..
startup with -X
Module: Loaded SQL sql: driver = "rlm_sql_mysql" sql: server = "xxx.yyy.be" sql: port = "" sql: login = "" sql: password = "" 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//sqltrace.sql" sql: readclients = no sql: deletestalesessions = yes sql: num_sql_socks = 5 sql: sql_user_name = "%{User-Name}" sql: default_user_profile = "" sql: query_on_not_found = no sql: authorize_check_query = "SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE Username = '%{SQL-User-Name}' ORDER BY id" sql: authorize_reply_query = "SELECT id,UserName,Attribute,Value,op FROM radreply WHERE Username = '%{SQL-User-Name}' ORDER BY id"
........................
sql: postauth_table = "radpostauth" sql: postauth_query = "INSERT into radpostauth (id, user, pass, reply, date) values ('', '%{User-Name}', '%{User-Password:-Chap-Password}', '%{reply:Packet-Type}', NOW())" sql: safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012 3456789.-_: /" Segmentation fault
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Breuer Nicolas wrote:
I've found a problem...
configure: warning: mysql libraries not found. Use --with-mysql-lib- dir=<path>. configure: warning: sql submodule 'mysql' disabled
i've used : ./configure --with-mysql-lib-dir=/usr/local/lib/mysql/
and in this dir , i have
libdbug.a libmerge.a libmyisammrg.a libmysqlclient.la libmysqlclient.so.14 libmystrings.a libnisam.a libheap.a libmyisam.a libmysqlclient.a libmysqlclient.so libmysqlclient.so.14.0.0 libmysys.a libvio.a
It's a local setup issue: you don't have libmysqlclient_r.so. You could try ./configure --without-threads -- Nicolas Baradakis
participants (2)
-
Breuer Nicolas -
Nicolas Baradakis