From owner-freebsd-ports@FreeBSD.ORG Mon Mar 13 19:41:45 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C6AC16A400 for ; Mon, 13 Mar 2006 19:41:45 +0000 (UTC) (envelope-from pkhavkine@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id D71B043D7C for ; Mon, 13 Mar 2006 19:41:18 +0000 (GMT) (envelope-from pkhavkine@gmail.com) Received: by wproxy.gmail.com with SMTP id i28so1214957wra for ; Mon, 13 Mar 2006 11:41:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=OuED3Jw6dVL++zImP8ZXi1jDts3OO1aNHLf4deoWjOzP8lqkz9Vze+uPFyo0t/3t4nS5S94ye+DPyOYTWiwPabW7gQAsp0EmBCvFgKB8wzOPl5uJznzm/iOSIzlGBOKdmBGTjx6/f0wuKDTbf8Bd1qs94sBM//dAyA0Bt1B55H0= Received: by 10.64.96.5 with SMTP id t5mr157055qbb; Mon, 13 Mar 2006 11:41:15 -0800 (PST) Received: by 10.64.114.7 with HTTP; Mon, 13 Mar 2006 11:41:14 -0800 (PST) Message-ID: Date: Mon, 13 Mar 2006 14:41:14 -0500 From: "Paul Khavkine" To: "Mike Jakubik" , ports@freebsd.org In-Reply-To: MIME-Version: 1.0 References: <20060309165932.G41589@srv15.mtlcnds.ext.distributel.net> <44149FA4.1070102@rogers.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Problem with FreeRADIUS 1.1.0 port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Mar 2006 19:41:45 -0000 When the port is compiled i see that radiusd binart is linked against libpthread.so.1 AND libpthread.so.2 Is that normal ? paul# ldd /usr/local/sbin/radiusd /usr/local/sbin/radiusd: libcrypt.so.3 =3D> /lib/libcrypt.so.3 (0x2808c000) libradius-1.1.0.so =3D> /usr/local/lib/libradius-1.1.0.so (0x280a40= 00) libltdl.so.4 =3D> /usr/local/lib/libltdl.so.4 (0x280b8000) libpthread.so.2 =3D> /usr/lib/libpthread.so.2 (0x280bf000) <---- libcrypto.so.4 =3D> /lib/libcrypto.so.4 (0x280e4000) libssl.so.4 =3D> /usr/lib/libssl.so.4 (0x281d6000) libc.so.6 =3D> /lib/libc.so.6 (0x28204000) libpthread.so.1 =3D> /usr/lib/libpthread.so.1 (0x282db000) <--- libcrypto.so.3 =3D> /lib/libcrypto.so.3 (0x282ff000) libssl.so.3 =3D> /usr/lib/libssl.so.3 (0x283f6000) libc.so.5 =3D> /lib/libc.so.5 (0x28424000) On 3/13/06, Paul Khavkine wrote: > > > > Whenever i run it with -X it seems to work, but running -X insede gdb > crashes. > Also running with (-x 'small x') produces seg fault. > > paul# /usr/local/sbin/radiusd -x > Starting - reading configuration files ... > Module: Loaded exec > > rlm_exec: Wait=3Dyes but no output defined. Did you mean output=3Dnone? > Module: Instantiated exec (exec) > Module: Loaded expr > Module: Instantiated expr (expr) > Module: Loaded PAP > Module: Instantiated pap (pap) > Module: Loaded CHAP > Module: Instantiated chap (chap) > Module: Loaded MS-CHAP > Module: Instantiated mschap (mschap) > Module: Loaded System > Module: Instantiated unix (unix) > Module: Loaded eap > rlm_eap: Loaded and initialized type md5 > rlm_eap: Loaded and initialized type leap > rlm_eap: Loaded and initialized type gtc > rlm_eap: Loaded and initialized type mschapv2 > Module: Instantiated eap (eap) > Module: Loaded preprocess > > Module: Instantiated preprocess (preprocess) > Module: Loaded realm > Module: Instantiated realm (suffix) > Module: Loaded files > Module: Instantiated files (files) > > Module: Loaded Acct-Unique-Session-Id > Module: Instantiated acct_unique (acct_unique) > Module: Loaded detail > Module: Instantiated detail (detail) > Module: Loaded radutmp > Module: Instantiated radutmp (radutmp) > Initializing the thread pool... > Segmentation fault > paul# > > > > Thanx > Paul > > > On 3/12/06, Mike Jakubik wrote: > > > > Paul Khavkine wrote: > > > > > > Hi. > > > > > > > > > I just installed net/freeradius port and it crashes when ran in debug > > > mode (radiusd -X): > > > > Seems to work ok here: > > > > FreeBSD test.local 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Sun Mar 12 > > 16:05:16 EST 2006 amd64 > > > > freeradius-1.1.0_2 A free RADIUS server implementation > > > > -- > > > > # radiusd -X > > Starting - reading configuration files ... > > reread_config: reading radiusd.conf > > Config: including file: /usr/local/etc/raddb/clients.conf > > Config: including file: /usr/local/etc/raddb/sql.conf > > main: prefix =3D "/usr/local" > > main: localstatedir =3D "/var" > > main: logdir =3D "/var/log" > > main: libdir =3D "/usr/local/lib" > > main: radacctdir =3D "/var/log/radacct" > > main: hostname_lookups =3D no > > main: max_request_time =3D 30 > > main: cleanup_delay =3D 5 > > main: max_requests =3D 1024 > > main: delete_blocked_requests =3D 0 > > main: port =3D 0 > > main: allow_core_dumps =3D no > > main: log_stripped_names =3D no > > main: log_file =3D "/var/log/radius.log" > > main: log_auth =3D no > > main: log_auth_badpass =3D no > > main: log_auth_goodpass =3D no > > main: pidfile =3D "/var/run/radiusd/radiusd.pid" > > main: user =3D "(null)" > > main: group =3D "(null)" > > main: usercollide =3D no > > main: lower_user =3D "no" > > main: lower_pass =3D "no" > > main: nospace_user =3D "no" > > main: nospace_pass =3D "no" > > main: checkrad =3D "/usr/local/sbin/checkrad" > > main: proxy_requests =3D no > > security: max_attributes =3D 200 > > security: reject_delay =3D 1 > > security: status_server =3D no > > main: debug_level =3D 0 > > read_config_files: reading dictionary > > read_config_files: reading naslist > > read_config_files: reading clients > > read_config_files: reading realms > > radiusd: entering modules setup > > Module: Library search path is /usr/local/lib > > Module: Loaded exec > > exec: wait =3D yes > > exec: program =3D "(null)" > > exec: input_pairs =3D "request" > > exec: output_pairs =3D "(null)" > > exec: packet_type =3D "(null)" > > rlm_exec: Wait=3Dyes but no output defined. Did you mean output=3Dnone? > > Module: Instantiated exec (exec) > > Module: Loaded expr > > Module: Instantiated expr (expr) > > Module: Loaded PAP > > pap: encryption_scheme =3D "crypt" > > Module: Instantiated pap (pap) > > Module: Loaded CHAP > > Module: Instantiated chap (chap) > > Module: Loaded MS-CHAP > > mschap: use_mppe =3D yes > > mschap: require_encryption =3D no > > mschap: require_strong =3D no > > mschap: with_ntdomain_hack =3D no > > mschap: passwd =3D "(null)" > > mschap: authtype =3D "MS-CHAP" > > mschap: ntlm_auth =3D "(null)" > > Module: Instantiated mschap (mschap) > > Module: Loaded preprocess > > preprocess: huntgroups =3D "/usr/local/etc/raddb/huntgroups" > > preprocess: hints =3D "/usr/local/etc/raddb/hints" > > preprocess: with_ascend_hack =3D no > > preprocess: ascend_channels_per_line =3D 23 > > preprocess: with_ntdomain_hack =3D no > > preprocess: with_specialix_jetstream_hack =3D no > > preprocess: with_cisco_vsa_hack =3D no > > Module: Instantiated preprocess (preprocess) > > Module: Loaded realm > > realm: format =3D "suffix" > > realm: delimiter =3D "@" > > realm: ignore_default =3D no > > realm: ignore_null =3D no > > Module: Instantiated realm (suffix) > > Module: Loaded Acct-Unique-Session-Id > > acct_unique: key =3D "User-Name, Acct-Session-Id, NAS-IP-Address, > > Client-IP-Address, NAS-Port" > > Module: Instantiated acct_unique (acct_unique) > > Module: Loaded detail > > detail: detailfile =3D > > "/var/log/radacct/%{Client-IP-Address}/detail-%Y%m%d" > > detail: detailperm =3D 384 > > detail: dirperm =3D 493 > > detail: locking =3D no > > Module: Instantiated detail (detail) > > Module: Loaded radutmp > > radutmp: filename =3D "/var/log/radutmp" > > radutmp: username =3D "%{User-Name}" > > radutmp: case_sensitive =3D yes > > radutmp: check_with_nas =3D yes > > radutmp: perm =3D 384 > > radutmp: callerid =3D yes > > Module: Instantiated radutmp (radutmp) > > Listening on authentication *:1812 > > Listening on accounting *:1813 > > Ready to process requests. > > > > >