Problem with FreeRADIUS 1.1.0 port
Paul Khavkine
pkhavkine at gmail.com
Mon Mar 13 19:41:45 UTC 2006
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 => /lib/libcrypt.so.3 (0x2808c000)
libradius-1.1.0.so => /usr/local/lib/libradius-1.1.0.so (0x280a4000)
libltdl.so.4 => /usr/local/lib/libltdl.so.4 (0x280b8000)
libpthread.so.2 => /usr/lib/libpthread.so.2 (0x280bf000) <----
libcrypto.so.4 => /lib/libcrypto.so.4 (0x280e4000)
libssl.so.4 => /usr/lib/libssl.so.4 (0x281d6000)
libc.so.6 => /lib/libc.so.6 (0x28204000)
libpthread.so.1 => /usr/lib/libpthread.so.1 (0x282db000) <---
libcrypto.so.3 => /lib/libcrypto.so.3 (0x282ff000)
libssl.so.3 => /usr/lib/libssl.so.3 (0x283f6000)
libc.so.5 => /lib/libc.so.5 (0x28424000)
On 3/13/06, Paul Khavkine <pkhavkine at 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=yes but no output defined. Did you mean output=none?
> 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 at 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 = "/usr/local"
> > main: localstatedir = "/var"
> > main: logdir = "/var/log"
> > main: libdir = "/usr/local/lib"
> > main: radacctdir = "/var/log/radacct"
> > main: hostname_lookups = no
> > main: max_request_time = 30
> > main: cleanup_delay = 5
> > main: max_requests = 1024
> > main: delete_blocked_requests = 0
> > main: port = 0
> > main: allow_core_dumps = no
> > main: log_stripped_names = no
> > main: log_file = "/var/log/radius.log"
> > main: log_auth = no
> > main: log_auth_badpass = no
> > main: log_auth_goodpass = no
> > main: pidfile = "/var/run/radiusd/radiusd.pid"
> > main: user = "(null)"
> > main: group = "(null)"
> > main: usercollide = no
> > main: lower_user = "no"
> > main: lower_pass = "no"
> > main: nospace_user = "no"
> > main: nospace_pass = "no"
> > main: checkrad = "/usr/local/sbin/checkrad"
> > main: proxy_requests = no
> > security: max_attributes = 200
> > security: reject_delay = 1
> > security: status_server = no
> > main: debug_level = 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 = yes
> > exec: program = "(null)"
> > exec: input_pairs = "request"
> > exec: output_pairs = "(null)"
> > exec: packet_type = "(null)"
> > rlm_exec: Wait=yes but no output defined. Did you mean output=none?
> > Module: Instantiated exec (exec)
> > Module: Loaded expr
> > Module: Instantiated expr (expr)
> > Module: Loaded PAP
> > pap: encryption_scheme = "crypt"
> > Module: Instantiated pap (pap)
> > Module: Loaded CHAP
> > Module: Instantiated chap (chap)
> > Module: Loaded MS-CHAP
> > mschap: use_mppe = yes
> > mschap: require_encryption = no
> > mschap: require_strong = no
> > mschap: with_ntdomain_hack = no
> > mschap: passwd = "(null)"
> > mschap: authtype = "MS-CHAP"
> > mschap: ntlm_auth = "(null)"
> > Module: Instantiated mschap (mschap)
> > Module: Loaded preprocess
> > preprocess: huntgroups = "/usr/local/etc/raddb/huntgroups"
> > preprocess: hints = "/usr/local/etc/raddb/hints"
> > preprocess: with_ascend_hack = no
> > preprocess: ascend_channels_per_line = 23
> > preprocess: with_ntdomain_hack = no
> > preprocess: with_specialix_jetstream_hack = no
> > preprocess: with_cisco_vsa_hack = no
> > Module: Instantiated preprocess (preprocess)
> > Module: Loaded realm
> > realm: format = "suffix"
> > realm: delimiter = "@"
> > realm: ignore_default = no
> > realm: ignore_null = no
> > Module: Instantiated realm (suffix)
> > Module: Loaded Acct-Unique-Session-Id
> > acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address,
> > Client-IP-Address, NAS-Port"
> > Module: Instantiated acct_unique (acct_unique)
> > Module: Loaded detail
> > detail: detailfile =
> > "/var/log/radacct/%{Client-IP-Address}/detail-%Y%m%d"
> > detail: detailperm = 384
> > detail: dirperm = 493
> > detail: locking = no
> > Module: Instantiated detail (detail)
> > Module: Loaded radutmp
> > radutmp: filename = "/var/log/radutmp"
> > radutmp: username = "%{User-Name}"
> > radutmp: case_sensitive = yes
> > radutmp: check_with_nas = yes
> > radutmp: perm = 384
> > radutmp: callerid = yes
> > Module: Instantiated radutmp (radutmp)
> > Listening on authentication *:1812
> > Listening on accounting *:1813
> > Ready to process requests.
> >
> >
>
More information about the freebsd-ports
mailing list