<br><font size=2 face="sans-serif">radius -X doesn´t show any error
or warning until the end (Segmentation fault). You can see the result of
my last execution:</font>
<br>
<br><font size=2 face="sans-serif">Starting - reading configuration files
...</font>
<br><font size=2 face="sans-serif">reread_config: reading radiusd.conf</font>
<br><font size=2 face="sans-serif">Config: including file: /usr/local/etc/raddb/proxy.conf</font>
<br><font size=2 face="sans-serif">Config: including file: /usr/local/etc/raddb/clients.conf</font>
<br><font size=2 face="sans-serif">Config: including file: /usr/local/etc/raddb/snmp.conf</font>
<br><font size=2 face="sans-serif">Config: including file: /usr/local/etc/raddb/eap.conf</font>
<br><font size=2 face="sans-serif">Config: including file: /usr/local/etc/raddb/sql.conf</font>
<br><font size=2 face="sans-serif"> main: prefix = "/usr/local"</font>
<br><font size=2 face="sans-serif"> main: localstatedir = "/usr/local/var"</font>
<br><font size=2 face="sans-serif"> main: logdir = "/usr/local/var/log/radius"</font>
<br><font size=2 face="sans-serif"> main: libdir = "/usr/local/lib"</font>
<br><font size=2 face="sans-serif"> main: radacctdir = "/usr/local/var/log/radius/radacct"</font>
<br><font size=2 face="sans-serif"> main: hostname_lookups = no</font>
<br><font size=2 face="sans-serif"> main: max_request_time = 30</font>
<br><font size=2 face="sans-serif"> main: cleanup_delay = 5</font>
<br><font size=2 face="sans-serif"> main: max_requests = 1024</font>
<br><font size=2 face="sans-serif"> main: delete_blocked_requests
= 0</font>
<br><font size=2 face="sans-serif"> main: port = 1645</font>
<br><font size=2 face="sans-serif"> main: allow_core_dumps = no</font>
<br><font size=2 face="sans-serif"> main: log_stripped_names = no</font>
<br><font size=2 face="sans-serif"> main: log_file = "/usr/local/var/log/radius/radius.log"</font>
<br><font size=2 face="sans-serif"> main: log_auth = no</font>
<br><font size=2 face="sans-serif"> main: log_auth_badpass = no</font>
<br><font size=2 face="sans-serif"> main: log_auth_goodpass = no</font>
<br><font size=2 face="sans-serif"> main: pidfile = "/usr/local/var/run/radiusd/radiusd.pid"</font>
<br><font size=2 face="sans-serif"> main: user = "(null)"</font>
<br><font size=2 face="sans-serif"> main: group = "(null)"</font>
<br><font size=2 face="sans-serif"> main: usercollide = no</font>
<br><font size=2 face="sans-serif"> main: lower_user = "no"</font>
<br><font size=2 face="sans-serif"> main: lower_pass = "no"</font>
<br><font size=2 face="sans-serif"> main: nospace_user = "no"</font>
<br><font size=2 face="sans-serif"> main: nospace_pass = "no"</font>
<br><font size=2 face="sans-serif"> main: checkrad = "/usr/local/sbin/checkrad"</font>
<br><font size=2 face="sans-serif"> main: proxy_requests = yes</font>
<br><font size=2 face="sans-serif"> proxy: retry_delay = 5</font>
<br><font size=2 face="sans-serif"> proxy: retry_count = 3</font>
<br><font size=2 face="sans-serif"> proxy: synchronous = no</font>
<br><font size=2 face="sans-serif"> proxy: default_fallback = yes</font>
<br><font size=2 face="sans-serif"> proxy: dead_time = 120</font>
<br><font size=2 face="sans-serif"> proxy: post_proxy_authorize =
yes</font>
<br><font size=2 face="sans-serif"> proxy: wake_all_if_all_dead =
no</font>
<br><font size=2 face="sans-serif"> security: max_attributes = 200</font>
<br><font size=2 face="sans-serif"> security: reject_delay = 1</font>
<br><font size=2 face="sans-serif"> security: status_server = no</font>
<br><font size=2 face="sans-serif"> main: debug_level = 0</font>
<br><font size=2 face="sans-serif">read_config_files: reading dictionary</font>
<br><font size=2 face="sans-serif">read_config_files: reading naslist</font>
<br><font size=2 face="sans-serif">Using deprecated naslist file. Support
for this will go away soon.</font>
<br><font size=2 face="sans-serif">read_config_files: reading clients</font>
<br><font size=2 face="sans-serif">read_config_files: reading realms</font>
<br><font size=2 face="sans-serif">radiusd: entering modules setup</font>
<br><font size=2 face="sans-serif">Module: Library search path is /usr/local/lib</font>
<br><font size=2 face="sans-serif">Module: Loaded exec</font>
<br><font size=2 face="sans-serif"> exec: wait = yes</font>
<br><font size=2 face="sans-serif"> exec: program = "(null)"</font>
<br><font size=2 face="sans-serif"> exec: input_pairs = "request"</font>
<br><font size=2 face="sans-serif"> exec: output_pairs = "(null)"</font>
<br><font size=2 face="sans-serif"> exec: packet_type = "(null)"</font>
<br><font size=2 face="sans-serif">rlm_exec: Wait=yes but no output defined.
Did you mean output=none?</font>
<br><font size=2 face="sans-serif">Module: Instantiated exec (exec)</font>
<br><font size=2 face="sans-serif">Module: Loaded expr</font>
<br><font size=2 face="sans-serif">Module: Instantiated expr (expr)</font>
<br><font size=2 face="sans-serif">Module: Loaded PAP</font>
<br><font size=2 face="sans-serif"> pap: encryption_scheme = "crypt"</font>
<br><font size=2 face="sans-serif">Module: Instantiated pap (pap)</font>
<br><font size=2 face="sans-serif">Module: Loaded CHAP</font>
<br><font size=2 face="sans-serif">Module: Instantiated chap (chap)</font>
<br><font size=2 face="sans-serif">Module: Loaded MS-CHAP</font>
<br><font size=2 face="sans-serif"> mschap: use_mppe = yes</font>
<br><font size=2 face="sans-serif"> mschap: require_encryption = no</font>
<br><font size=2 face="sans-serif"> mschap: require_strong = no</font>
<br><font size=2 face="sans-serif"> mschap: with_ntdomain_hack = no</font>
<br><font size=2 face="sans-serif"> mschap: passwd = "(null)"</font>
<br><font size=2 face="sans-serif"> mschap: authtype = "MS-CHAP"</font>
<br><font size=2 face="sans-serif"> mschap: ntlm_auth = "(null)"</font>
<br><font size=2 face="sans-serif">Module: Instantiated mschap (mschap)</font>
<br><font size=2 face="sans-serif">Module: Loaded System</font>
<br><font size=2 face="sans-serif"> unix: cache = no</font>
<br><font size=2 face="sans-serif"> unix: passwd = "(null)"</font>
<br><font size=2 face="sans-serif"> unix: shadow = "(null)"</font>
<br><font size=2 face="sans-serif"> unix: group = "(null)"</font>
<br><font size=2 face="sans-serif"> unix: radwtmp = "/usr/local/var/log/radius/radwtmp"</font>
<br><font size=2 face="sans-serif"> unix: usegroup = no</font>
<br><font size=2 face="sans-serif"> unix: cache_reload = 600</font>
<br><font size=2 face="sans-serif">Module: Instantiated unix (unix)</font>
<br><font size=2 face="sans-serif">Module: Loaded eap</font>
<br><font size=2 face="sans-serif"> eap: default_eap_type = "md5"</font>
<br><font size=2 face="sans-serif"> eap: timer_expire = 60</font>
<br><font size=2 face="sans-serif"> eap: ignore_unknown_eap_types
= no</font>
<br><font size=2 face="sans-serif"> eap: cisco_accounting_username_bug
= no</font>
<br><font size=2 face="sans-serif">rlm_eap: Loaded and initialized type
md5</font>
<br><font size=2 face="sans-serif">rlm_eap: Loaded and initialized type
leap</font>
<br><font size=2 face="sans-serif"> gtc: challenge = "Password:
"</font>
<br><font size=2 face="sans-serif"> gtc: auth_type = "PAP"</font>
<br><font size=2 face="sans-serif">rlm_eap: Loaded and initialized type
gtc</font>
<br><font size=2 face="sans-serif"> mschapv2: with_ntdomain_hack =
no</font>
<br><font size=2 face="sans-serif">rlm_eap: Loaded and initialized type
mschapv2</font>
<br><font size=2 face="sans-serif">Module: Instantiated eap (eap)</font>
<br><font size=2 face="sans-serif">Module: Loaded preprocess</font>
<br><font size=2 face="sans-serif"> preprocess: huntgroups = "/usr/local/etc/raddb/huntgroups"</font>
<br><font size=2 face="sans-serif"> preprocess: hints = "/usr/local/etc/raddb/hints"</font>
<br><font size=2 face="sans-serif"> preprocess: with_ascend_hack =
no</font>
<br><font size=2 face="sans-serif"> preprocess: ascend_channels_per_line
= 23</font>
<br><font size=2 face="sans-serif"> preprocess: with_ntdomain_hack
= no</font>
<br><font size=2 face="sans-serif"> preprocess: with_specialix_jetstream_hack
= no</font>
<br><font size=2 face="sans-serif"> preprocess: with_cisco_vsa_hack
= no</font>
<br><font size=2 face="sans-serif">Module: Instantiated preprocess (preprocess)</font>
<br><font size=2 face="sans-serif">Module: Loaded realm</font>
<br><font size=2 face="sans-serif"> realm: format = "suffix"</font>
<br><font size=2 face="sans-serif"> realm: delimiter = "@"</font>
<br><font size=2 face="sans-serif"> realm: ignore_default = no</font>
<br><font size=2 face="sans-serif"> realm: ignore_null = no</font>
<br><font size=2 face="sans-serif">Module: Instantiated realm (suffix)</font>
<br><font size=2 face="sans-serif">Module: Loaded files</font>
<br><font size=2 face="sans-serif"> files: usersfile = "/usr/local/etc/raddb/users"</font>
<br><font size=2 face="sans-serif"> files: acctusersfile = "/usr/local/etc/raddb/acct_users"</font>
<br><font size=2 face="sans-serif"> files: preproxy_usersfile = "/usr/local/etc/raddb/preproxy_users"</font>
<br><font size=2 face="sans-serif"> files: compat = "no"</font>
<br><font size=2 face="sans-serif">Module: Instantiated files (files)</font>
<br><font size=2 face="sans-serif">Module: Loaded Acct-Unique-Session-Id</font>
<br><font size=2 face="sans-serif"> acct_unique: key = "User-Name,
Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"</font>
<br><font size=2 face="sans-serif">Module: Instantiated acct_unique (acct_unique)</font>
<br><font size=2 face="sans-serif">Module: Loaded detail</font>
<br><font size=2 face="sans-serif"> detail: detailfile = "/usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d"</font>
<br><font size=2 face="sans-serif"> detail: detailperm = 384</font>
<br><font size=2 face="sans-serif"> detail: dirperm = 493</font>
<br><font size=2 face="sans-serif"> detail: locking = no</font>
<br><font size=2 face="sans-serif">Module: Instantiated detail (detail)</font>
<br><font size=2 face="sans-serif">Module: Loaded radutmp</font>
<br><font size=2 face="sans-serif"> radutmp: filename = "/usr/local/var/log/radius/radutmp"</font>
<br><font size=2 face="sans-serif"> radutmp: username = "%{User-Name}"</font>
<br><font size=2 face="sans-serif"> radutmp: case_sensitive = yes</font>
<br><font size=2 face="sans-serif"> radutmp: check_with_nas = yes</font>
<br><font size=2 face="sans-serif"> radutmp: perm = 384</font>
<br><font size=2 face="sans-serif"> radutmp: callerid = yes</font>
<br><font size=2 face="sans-serif">Module: Instantiated radutmp (radutmp)</font>
<br><font size=2 face="sans-serif">Segmentation fault</font>
<br>
<br><font size=2 face="sans-serif">And the config for the post-auth and
accounting:</font>
<br>
<br><font size=2 face="sans-serif">#</font>
<br><font size=2 face="sans-serif"># Accounting. Log the accounting
data.</font>
<br><font size=2 face="sans-serif">#</font>
<br><font size=2 face="sans-serif">accounting {</font>
<br><font size=2 face="sans-serif"> #</font>
<br><font size=2 face="sans-serif"> # Create
a 'detail'ed log of the packets.</font>
<br><font size=2 face="sans-serif"> # Note
that accounting requests which are proxied</font>
<br><font size=2 face="sans-serif"> # are
also logged in the detail file.</font>
<br><font size=2 face="sans-serif"> detail</font>
<br><font size=2 face="sans-serif"># daily</font>
<br>
<br><font size=2 face="sans-serif"> # Update
the wtmp file</font>
<br><font size=2 face="sans-serif"> #</font>
<br><font size=2 face="sans-serif"> # If
you don't use "radlast", you can delete this line.</font>
<br><font size=2 face="sans-serif"> unix</font>
<br>
<br><font size=2 face="sans-serif"> #</font>
<br><font size=2 face="sans-serif"> # For
Simultaneous-Use tracking.</font>
<br><font size=2 face="sans-serif"> #</font>
<br><font size=2 face="sans-serif"> # Due
to packet losses in the network, the data here</font>
<br><font size=2 face="sans-serif"> # may
be incorrect. There is little we can do about it.</font>
<br><font size=2 face="sans-serif"> radutmp</font>
<br><font size=2 face="sans-serif"># sradutmp</font>
<br>
<br><font size=2 face="sans-serif"> # Return
an address to the IP Pool when we see a stop record.</font>
<br><font size=2 face="sans-serif"># main_pool</font>
<br><font size=2 face="sans-serif">######### My two ippools</font>
<br><font size=2 face="sans-serif"> 1</font>
<br><font size=2 face="sans-serif"> 2</font>
<br><font size=2 face="sans-serif"> #</font>
<br><font size=2 face="sans-serif"> # Log
traffic to an SQL database.</font>
<br><font size=2 face="sans-serif"> #</font>
<br><font size=2 face="sans-serif"> # See
"Accounting queries" in sql.conf</font>
<br><font size=2 face="sans-serif"># sql</font>
<br>
<br>
<br><font size=2 face="sans-serif"> # Cisco
VoIP specific bulk accounting</font>
<br><font size=2 face="sans-serif"># pgsql-voip</font>
<br>
<br><font size=2 face="sans-serif">}</font>
<br>
<br>
<br><font size=2 face="sans-serif"># Post-Authentication</font>
<br><font size=2 face="sans-serif"># Once we KNOW that the user has
been authenticated, there are</font>
<br><font size=2 face="sans-serif"># additional steps we can take.</font>
<br><font size=2 face="sans-serif">post-auth {</font>
<br><font size=2 face="sans-serif"> # Get
an address from the IP Pool.</font>
<br><font size=2 face="sans-serif"># main_pool</font>
<br><font size=2 face="sans-serif">###### My two ippools</font>
<br><font size=2 face="sans-serif"> 1</font>
<br><font size=2 face="sans-serif"> 2</font>
<br><font size=2 face="sans-serif"> #</font>
<br><font size=2 face="sans-serif"> # If
you want to have a log of authentication replies,</font>
<br><font size=2 face="sans-serif"> # un-comment
the following line, and the 'detail reply_log'</font>
<br><font size=2 face="sans-serif"> # section,
above.</font>
<br><font size=2 face="sans-serif"># reply_log</font>
<br>
<br><font size=2 face="sans-serif"> #</font>
<br><font size=2 face="sans-serif"> # After
authenticating the user, do another SQL qeury.</font>
<br><font size=2 face="sans-serif"> #</font>
<br><font size=2 face="sans-serif"> # See
"Authentication Logging Queries" in sql.conf</font>
<br><font size=2 face="sans-serif"># sql</font>
<br>
<br><font size=2 face="sans-serif"> #</font>
<br><font size=2 face="sans-serif"> # Un-comment
the following if you have set</font>
<br><font size=2 face="sans-serif"> # 'edir_account_policy_check
= yes' in the ldap module sub-section of</font>
<br><font size=2 face="sans-serif"> # the
'modules' section.</font>
<br><font size=2 face="sans-serif"> #</font>
<br><font size=2 face="sans-serif"># ldap</font>
<br><font size=2 face="sans-serif"> #</font>
<br><font size=2 face="sans-serif"> # Access-Reject
packets are sent through the REJECT sub-section of the</font>
<br><font size=2 face="sans-serif"> # post-auth
section.</font>
<br><font size=2 face="sans-serif"> # Uncomment
the following and set the module name to the ldap instance</font>
<br><font size=2 face="sans-serif"> # name
if you have set 'edir_account_policy_check = yes' in the ldap</font>
<br><font size=2 face="sans-serif"> # module
sub-section of the 'modules' section.</font>
<br><font size=2 face="sans-serif"> #</font>
<br><font size=2 face="sans-serif"># Post-Auth-Type
REJECT {</font>
<br><font size=2 face="sans-serif">#
insert-module-name-here</font>
<br><font size=2 face="sans-serif"># }</font>
<br>
<br><font size=2 face="sans-serif">}</font>
<br>
<br>
<br>
<br><font size=2><tt>freeradius-users-bounces@lists.freeradius.org escribió
el 15/07/2005 10:44:20:<br>
<br>
> What does radiusd –X tells you?</tt></font>
<br><font size=2><tt>> Can you post more info from your accounting and
post-auth section?</tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> <br>
> From: freeradius-users-bounces@lists.freeradius.org [mailto:<br>
> freeradius-users-bounces@lists.freeradius.org] On Behalf Of <br>
> abernabe@mutua-mad.es<br>
> Sent: Friday, July 15, 2005 7:42 AM<br>
> To: freeradius-users@lists.freeradius.org<br>
> Subject: ippool problem</tt></font>
<br><font size=2><tt>> </tt></font>
<br><font size=2><tt>> <br>
> Hello, <br>
> <br>
> I´m trying to configure a FreeRadius 1.0.4 in Red Hat 8.0. <br>
> Everything works OK until I add the ippool in the "post-auth"
and <br>
> "accounting" section. <br>
> <br>
> When I start the server I get always the error "Segmentation
Fault" <br>
> after loading radutmp, just when it tries to load the ippool in the
<br>
> "accounting" section <br>
> <br>
> I have the following configuration in the ippool module: <br>
> <br>
> ippool 2 { <br>
> range-start
= 172.20.1.1 <br>
> range-stop
= 172.20.1.254 <br>
> netmask =
255.255.255.0 <br>
> cache-size
= 254 <br>
> session-db
= ${raddbdir}/db.ippool <br>
> ip-index =
${raddbdir}/db.ipindex <br>
> override =
yes <br>
> maximum-timeout
= 0 <br>
> } <br>
> <br>
> Do you know if I´m doing something wrong? <br>
> <br>
> Thanks - <br>
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html</tt></font>