Access-Reject not sent unless run without threads

This is a discussion on Access-Reject not sent unless run without threads within the FreeRADIUS Users forums, part of the Networking and Network Related category; Hi, I'm running a Suse box and set up the new 1.0.2 freeradius server. Different parts bothered ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-24-2005
dan doo
 
Posts: n/a
Default Access-Reject not sent unless run without threads

Hi,
I'm running a Suse box and set up the new 1.0.2
freeradius server.

Different parts bothered me:
1°. I couldn't compile it until I configured the
--with-system-libtool switch.
(The output of the compile log is at the end.)

2°. Everything went well, I was able to successfull
set up the sql module for the Authorization part.
The "Access-Accept" were always sent correctly.
BUT the server didn't always sent "Access-Reject" the
my test client.
After a little digging, I found that the
"Access-Reject" was sent about 30 seconds after the
request when the server clean up the request list.
I only could get it working right by putting the
server in single thread modus, either by the "-s"
flag for radiusd or hard-coded with the
"--without-threads" for 'configure'

I believe this is a bug in the server code, but has
somebody found some workaround WITH threads enabled ?

Thank in advance.


-- SNIP -- output of the compile log --
gcc .libs/radiusdS.o -g -O2 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5
-I../include -DHOSTINFO=\"\"
-DRADIUSD_VERSION=\"1.0.2\" -o radiusd radiusd.o
files.o util.o acct.o nas.o log.o valuepair.o
version.o proxy.o exec.o auth.o timestr.o conffile.o
modules.o modcall.o session.o xlat.o threads.o smux.o
radius_snmp.o client.o request_list.o mainconfig.o
-Wl,--export-dynamic
.../modules/rlm_acct_unique/.libs/rlm_acct_unique.a
-lnsl -lresolv -lpthread -lcrypto -lssl
.../modules/rlm_always/.libs/rlm_always.a -lnsl
-lresolv -lpthread -lcrypto -lssl
.../modules/rlm_attr_filter/.libs/rlm_attr_filter.a
-lnsl -lresolv -lpthread -lcrypto -lssl
.../modules/rlm_attr_rewrite/.libs/rlm_attr_rewrite.a
-lnsl -lresolv -lpthread -lcrypto -lssl
.../modules/rlm_chap/.libs/rlm_chap.a -lnsl -lresolv
-lpthread -lcrypto -lssl
.../modules/rlm_counter/.libs/rlm_counter.a -lnsl
-lresolv -lpthread -lcrypto -lssl
.../modules/rlm_detail/.libs/rlm_detail.a -lnsl
-lresolv -lpthread -lcrypto -lssl
.../modules/rlm_digest/.libs/rlm_digest.a -lnsl
-lresolv -lpthread -lcrypto -lssl
.../modules/rlm_eap/.libs/rlm_eap.a
-L/root/freeradius-1.0.2/src/modules/rlm_eap/libeap
-lnsl -lresolv -lpthread -lcrypto -lssl
.../modules/rlm_exec/.libs/rlm_exec.a -lnsl -lresolv
-lpthread -lcrypto -lssl
.../modules/rlm_expr/.libs/rlm_expr.a -lnsl -lresolv
-lpthread -lcrypto -lssl
.../modules/rlm_fastusers/.libs/rlm_fastusers.a -lnsl
-lresolv -lpthread -lcrypto -lssl
.../modules/rlm_files/.libs/rlm_files.a -lnsl -lresolv
-lpthread -lcrypto -lssl
.../modules/rlm_ippool/.libs/rlm_ippool.a
/usr/local/lib/libgdbm.so -lnsl -lresolv -lpthread
-lcrypto -lssl
.../modules/rlm_mschap/.libs/rlm_mschap.a -lnsl
-lresolv -lpthread -lcrypto -lssl
.../modules/rlm_ns_mta_md5/.libs/rlm_ns_mta_md5.a -lnsl
-lresolv -lpthread -lcrypto -lssl
.../modules/rlm_pap/.libs/rlm_pap.a -lnsl -lresolv
-lpthread -lcrypto -lssl
.../modules/rlm_passwd/.libs/rlm_passwd.a -lnsl
-lresolv -lpthread -lcrypto -lssl
.../modules/rlm_preprocess/.libs/rlm_preprocess.a -lnsl
-lresolv -lpthread -lcrypto -lssl
.../modules/rlm_radutmp/.libs/rlm_radutmp.a -lnsl
-lresolv -lpthread -lcrypto -lssl
.../modules/rlm_realm/.libs/rlm_realm.a -lnsl -lresolv
-lpthread -lcrypto -lssl
.../modules/rlm_sql/.libs/rlm_sql.a -lnsl -lresolv
-lpthread -lcrypto -lssl
.../modules/rlm_unix/.libs/rlm_unix.a -lcrypt -lnsl
-lresolv -lpthread -lcrypto -lssl
.../modules/rlm_x99_token/.libs/rlm_x99_token.a -lnsl
-lresolv -lpthread -lcrypto -lssl
.../modules/rlm_checkval/.libs/rlm_checkval.a -lnsl
-lresolv -lpthread -lcrypto -lssl
.../modules/rlm_eap/types/rlm_eap_md5/.libs/rlm_eap_md5.a
-lnsl -lresolv -lpthread -lcrypto -lssl
.../modules/rlm_eap/types/rlm_eap_leap/.libs/rlm_eap_leap.a
-lnsl -lresolv -lpthread -lcrypto -lssl
.../modules/rlm_eap/types/rlm_eap_tls/.libs/rlm_eap_tls.a
-L/usr/local/lib -lcrypto -lssl -lnsl -lresolv
-lpthread -lcrypto -lssl
.../modules/rlm_eap/types/rlm_eap_ttls/.libs/rlm_eap_ttls.a
-lcrypto -lssl -lnsl -lresolv -lpthread -lcrypto -lssl
.../modules/rlm_eap/types/rlm_eap_sim/.libs/rlm_eap_sim.a
-lnsl -lresolv -lpthread -lcrypto -lssl
.../modules/rlm_eap/types/rlm_eap_peap/.libs/rlm_eap_peap.a
-lcrypto -lssl -lnsl -lresolv -lpthread -lcrypto -lssl
.../modules/rlm_eap/types/rlm_eap_mschapv2/.libs/rlm_eap_mschapv2.a
-lnsl -lresolv -lpthread -lcrypto -lssl
.../modules/rlm_eap/types/rlm_eap_gtc/.libs/rlm_eap_gtc.a
-lnsl -lresolv -lpthread -lcrypto -lssl
.../modules/rlm_sql/drivers/rlm_sql_mysql/.libs/rlm_sql_mysql.a
-L/usr/lib -lmysqlclient -lnsl -lresolv -lpthread
-lcrypto -lssl -lz -lnsl -lresolv -lpthread -lcrypto
-lssl -lz -L/root/freeradius-1.0.2/src/lib -lcrypt
-lnsl -lresolv -lpthread -lcrypto -lssl
/root/freeradius-1.0.2/src/modules/rlm_eap/libeap/.libs/libeap.a
-lcrypto -lssl -lcrypto -lssl
/root/freeradius-1.0.2/src/lib/.libs/libradius.a
/usr/lib/libltdl.so -ldl -lcrypt -Wl,--rpath
-Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
collect2: ld terminated with signal 11 [Segmentation
fault], core dumped
-- SNIP -- output of the compile log --








__________________________________________________ ________________
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:18 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0