Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2006 14:41:14 -0500
From:      "Paul Khavkine" <pkhavkine@gmail.com>
To:        "Mike Jakubik" <mikej@rogers.com>, ports@freebsd.org
Subject:   Re: Problem with FreeRADIUS 1.1.0 port
Message-ID:  <cd25b6880603131141oc5b32d6v22a97d907525a9eb@mail.gmail.com>
In-Reply-To: <cd25b6880603130752i110c65bat8e1eb2e4a70dd92d@mail.gmail.com>
References:  <20060309165932.G41589@srv15.mtlcnds.ext.distributel.net> <44149FA4.1070102@rogers.com> <cd25b6880603130752i110c65bat8e1eb2e4a70dd92d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <pkhavkine@gmail.com> 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 <mikej@rogers.com> 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.
> >
> >
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cd25b6880603131141oc5b32d6v22a97d907525a9eb>