FreeRadius core dump on FreeBSD

Lisa Besko besko at msu.edu
Tue Dec 5 21:21:59 CET 2006


I'm re-posting this and at the bottom I'll attach what the debugger 
(gdb)is giving me.

Lisa Besko wrote:
> I'm getting a core dump with freeradius when I try to use Kerberos 
> authentication on a FreeBSD box running 6.1-Stable with an AMD64 platform.
> 
> I can run FreeRadius with Kerberos authentication on FreeBSD 6.1 Stable 
> with the i386 platform with no problems.
> 
> If you can point me in a direction to help fix the problem please do.
> 
> Here's some more info.:
> 
> FreeRADIUS Version 1.1.3, for host amd64-portbld-freebsd6.1
> Kerberos5  Version 1.5
> Sunfire 2100 Dual Core AMD Opteron(tm) Processor 180
> Please let me know if I can provide any more info.
> 
> Here's the debugging messages from starting radiusd -X (slightly 
> sanitized to protect the innocent  :
> 
> Starting - reading configuration files ...
> reread_config:  reading radiusd.conf
> Config:   including file: /usr/local/etc/raddb/clients.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: ntlm_auth = "(null)"
> Module: Instantiated mschap (mschap)
> Module: Loaded Kerberos
> krb5: keytab = "(null)"
> krb5: service_principal = "(null)"
> rlm_krb5: krb5_init ok
> Module: Instantiated krb5 (krb5)
> Module: Loaded System
> unix: cache = no
> unix: passwd = "(null)"
> unix: shadow = "(null)"
> unix: group = "(null)"
> unix: radwtmp = "/var/log/radwtmp"
> unix: usegroup = no
> unix: cache_reload = 600
> Module: Instantiated unix (unix)
> 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
> preprocess: with_alvarion_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 files
> files: usersfile = "/usr/local/etc/raddb/users"
> files: acctusersfile = "/usr/local/etc/raddb/acct_users"
> files: preproxy_usersfile = "/usr/local/etc/raddb/preproxy_users"
> files: compat = "no"
> Module: Instantiated files (files)
> 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.
> 
> 
> 
> rad_recv: Access-Request packet from host xx.x.x.xx:50724, id=200, 
> length=65
>        User-Name = "userid at realm.realm"
>        User-Password = "thisisnothepasswordyouarelookingfor"
>        NAS-IP-Address = 255.255.255.255
>        NAS-Port = 0
>  Processing the authorize section of radiusd.conf
> modcall: entering group authorize for request 0
>  modcall[authorize]: module "preprocess" returns ok for request 0
>  modcall[authorize]: module "chap" returns noop for request 0
>  modcall[authorize]: module "mschap" returns noop for request 0
>    rlm_realm: Looking up realm "realm.realm" for User-Name = 
> "userid at realm.realm"
>    rlm_realm: No such realm "realm.realm"
>  modcall[authorize]: module "suffix" returns noop for request 0
>    users: Matched entry DEFAULT at line 152
>  modcall[authorize]: module "files" returns ok for request 0
> modcall: leaving group authorize (returns ok) for request 0
>  rad_check_password:  Found Auth-Type Kerberos
> auth: type "Kerberos"
>  Processing the authenticate section of radiusd.conf
> modcall: entering group Kerberos for request 0
> Bus error (core dumped)

Here's what the debugger is giving me.  Any pointers as to where to go 
next would be appreciated.

Program received signal SIGBUS, Bus error.
[Switching to Thread 0x52e000 (LWP 100112)]
0x0000000800b54773 in __res_nclose () from /lib/libc.so.6
(gdb) bt
#0  0x0000000800b54773 in __res_nclose () from /lib/libc.so.6
#1  0x0000000800b547b9 in __res_ndestroy () from /lib/libc.so.6
#2  0x0000000800b53653 in __res_vinit () from /lib/libc.so.6
#3  0x0000000800b535fe in __res_ninit () from /lib/libc.so.6
#4  0x00000008017db421 in krb5int_dns_init () from /usr/local/lib/libkrb5.so
#5  0xffffffffffffffff in ?? ()
#6  0xffffffffffffffff in ?? ()
#7  0xffffffffffffffff in ?? ()
#8  0xffffffffffffffff in ?? ()
#9  0xffffffffffffffff in ?? ()
#10 0xffffffffffffffff in ?? ()
#11 0xffffffffffffffff in ?? ()
#12 0xffffffffffffffff in ?? ()
#13 0xffffffffffffffff in ?? ()



Thanks,

LB



More information about the Freeradius-Users mailing list