Re: Segmentation Fault

2006-06-10 Thread Ross Hosman
Just thought I'd let you know your email goes into my yahoo spam folder...- Original Message From: Joel Lindsay [EMAIL PROTECTED]To: FreeRadius users mailing list freeradius-users@lists.freeradius.orgSent: Wednesday, June 7, 2006 2:59:05 PMSubject: Segmentation Fault

 
 

Hi,

I have been using free radius for months for 
testing. Today, if just started giving me segmentation faults. 
Nothing has changed on the NAS or in the configs for freeradius so I have no 
idea why it suddenly is crashing. Is there some way to track down whats 
causing the segmentation fault? My log follows: or at least part of 
it

[EMAIL PROTECTED] raddb]# radiusd -XStarting - 
reading configuration files ...reread_config: reading 
radiusd.confConfig: including file: 
/etc/raddb/proxy.confConfig: including file: 
/etc/raddb/clients.confConfig: including file: 
/etc/raddb/snmp.confConfig: including file: 
/etc/raddb/eap.confConfig: including file: 
/etc/raddb/sql.confmain: prefix = "/usr"main: localstatedir 
= "/var"main: logdir = "/var/log/radius"main: libdir = 
"/usr/lib"main: radacctdir = "/var/log/radius/radacct"main: 
hostname_lookups = nomain: max_request_time = 30main: 
cleanup_delay = 5main: max_requests = 1024main: 
delete_blocked_requests = 0main: port = 0main: 
allow_core_dumps = nomain: log_stripped_names = nomain: 
log_file = "/var/log/radius/radius.log"main: log_auth = 
nomain: log_auth_badpass = nomain: log_auth_goodpass = 
nomain: pidfile = "/var/run/radiusd/radiusd.pid"main: user = 
"nobody"main: group = "nobody"main: usercollide = 
nomain: lower_user = "no"main: lower_pass = 
"no"main: nospace_user = "no"main: nospace_pass = 
"no"main: checkrad = "/usr/sbin/checkrad"main: 
proxy_requests = yesproxy: retry_delay = 5proxy: retry_count 
= 3proxy: synchronous = noproxy: default_fallback = 
yesproxy: dead_time = 120proxy: post_proxy_authorize = 
yesproxy: wake_all_if_all_dead = nosecurity: max_attributes 
= 200security: reject_delay = 1security: status_server = 
nomain: debug_level = 0read_config_files: reading 
dictionaryread_config_files: reading naslistUsing deprecated 
naslist file. Support for this will go away 
soon.read_config_files: reading clientsread_config_files: 
reading realmsradiusd: entering modules setupModule: Library 
search path is /usr/libModule: Loaded execexec: wait = 
yesexec: 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 
exprModule: Instantiated expr (expr)Module: Loaded PAPpap: 
encryption_scheme = "crypt"Module: Instantiated pap (pap)Module: Loaded 
CHAPModule: Instantiated chap (chap)Module: Loaded 
MS-CHAPmschap: use_mppe = yesmschap: require_encryption = 
yesmschap: require_strong = yesmschap: with_ntdomain_hack = 
nomschap: passwd = "(null)"mschap: authtype = 
"MS-CHAP"mschap: ntlm_auth = "(null)"Module: Instantiated mschap 
(mschap)Module: Loaded eapeap: default_eap_type = 
"ttls"eap: timer_expire = 60eap: ignore_unknown_eap_types = 
yeseap: cisco_accounting_username_bug = norlm_eap: Loaded and 
initialized type md5tls: rsa_key_exchange = notls: 
dh_key_exchange = yestls: rsa_key_length = 512tls: 
dh_key_length = 512tls: verify_depth = 0tls: CA_path = 
"(null)"tls: pem_file_type = yestls: private_key_file = 
"/etc/raddb/certs/server_keycert.pem"tls: certificate_file = 
"/etc/raddb/certs/server_keycert.pem"tls: CA_file = 
"/etc/raddb/certs/cacert.pem"tls: private_key_password = 
"testing123"tls: dh_file = "/etc/raddb/certs/dh"tls: 
random_file = "/etc/raddb/certs/random"tls: fragment_size = 
1024tls: include_length = yestls: check_crl = 
notls: check_cert_cn = "(null)"rlm_eap: Loaded and initialized 
type tlsttls: default_eap_type = "mschapv2"ttls: 
copy_request_to_tunnel = nottls: use_tunneled_reply = norlm_eap: 
Loaded and initialized type ttlspeap: default_eap_type = 
"mschapv2"peap: copy_request_to_tunnel = nopeap: 
use_tunneled_reply = nopeap: proxy_tunneled_request_as_eap = 
yesrlm_eap: Loaded and initialized type peapmschapv2: 
with_ntdomain_hack = norlm_eap: Loaded and initialized type 
mschapv2Module: Instantiated eap (eap)Module: Loaded 
preprocesspreprocess: huntgroups = 
"/etc/raddb/huntgroups"preprocess: hints = 
"/etc/raddb/hints"preprocess: with_ascend_hack = 
nopreprocess: ascend_channels_per_line = 23preprocess: 
with_ntdomain_hack = nopreprocess: with_specialix_jetstream_hack = 
nopreprocess: with_cisco_vsa_hack = noModule: Instantiated 
preprocess (preprocess)Module: Loaded realmrealm: format = 
"suffix"realm: delimiter = "@"realm: ignore_default = 
norealm: ignore_null = noModule: Instantiated realm 
(suffix)Module: Loaded filesfiles: usersfile = 
"/etc/raddb/users"files: acctusersfile = 
"/etc/raddb/acct_users"files: preproxy_usersfile = 
"/etc/raddb/preproxy_users"files: compat = "no"Module: 
Instantiated files (files)Module: Loaded 
Acct-Unique-Session-Idacct_unique: key = "User-Name, 

Error

2006-06-07 Thread Ross Hosman
Hello all,

I'm new to using freeradius but I've gone trhough and have read what I can and 
have googled for my problem and yet i still have not been able to solve it. 
Whenever I try to start freeradius i get this error.

rlm_preprocess: Error reading /etc/raddb/huntgroups
radiusd.conf[971]: preprocess: Module instantiation failed.

-

Well i want to do with radius is have it authenticate against /etc/passwd and 
that is all. If anyone can point me to a config that simplifies it down to that 
I'd appreciate it.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html