| By Chris Brotsos <[EMAIL PROTECTED]>
| [ 2002-10-24 17:49 +0200 ]
> You will actually want to run the server via gdb.
>
> gdb /path/to/radiusd/radiusd
>
> gdb> set args -x -x
> gdb> run
Neat. Here's the output:
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...(no debugging symbols found)...
(gdb) set args -x -x
(gdb) run
Starting program: /usr/local/sbin/radiusd -x -x
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...
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
read_config_files: reading dictionary
read_config_files: reading clients
read_config_files: reading realms
read_config_files: reading naslist
main: max_request_time = 10
main: cleanup_delay = 5
main: max_requests = 1024
main: delete_blocked_requests = 0
main: port = 0
main: allow_core_dumps = yes
main: log_stripped_names = no
main: log_auth = yes
main: log_auth_badpass = yes
main: log_auth_goodpass = yes
main: pidfile = "/var/run/radiusd.pid"
main: bind_address = 66.8.x.y IP address [66.8.x.y]
main: user = "nobody"
main: group = "nobody"
main: usercollide = no
main: lower_user = "after"
main: lower_pass = "no"
main: nospace_user = "no"
main: nospace_pass = "no"
main: proxy_requests = no
security: max_attributes = 200
security: reject_delay = 1
main: debug_level = 2
read_config_files: entering modules setup
Module: Library search path is /usr/local/lib
Module: Loaded PAP
pap: encryption_scheme = "clear"
Module: Instantiated pap (pap)
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...
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 = yes
Module: Instantiated preprocess (preprocess)
Module: Loaded realm
realm: format = "suffix"
realm: delimiter = "@"
Module: Instantiated realm (suffix)
Module: Loaded files
files: usersfile = "/usr/local/etc/raddb/users"
files: acctusersfile = "/usr/local/etc/raddb/acct_users"
files: compat = "no"
Module: Instantiated files (files)
Module: Loaded detail
detail: detailfile = "/var/log/radacct/%{Client-IP-Address}/detail"
detail: detailperm = 384
detail: dirperm = 493
detail: locking = no
Module: Instantiated detail (detail)
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...
Module: Loaded radutmp
radutmp: filename = "/var/log/radutmp"
radutmp: username = "%{User-Name}"
radutmp: perm = 384
radutmp: callerid = no
Module: Instantiated radutmp (radutmp)
Initializing the thread pool...
thread: start_servers = 5
thread: max_servers = 32
thread: min_spare_servers = 3
thread: max_spare_servers = 10
thread: max_requests_per_server = 0
thread: cleanup_delay = 5
Thread spawned new child 1. Total threads in pool: 1
Thread spawned new child 2. Total threads in pool: 2
Thread spawned new child 3. Total threads in pool: 3
Thread spawned new child 4. Total threads in pool: 4
Thread spawned new child 5. Total threads in pool: 5
Listening on IP address 66.8.x.y, ports 1812/udp and 1813/udp.
Ready to process requests.
Thread 1 waiting to be assigned a request
Thread 2 waiting to be assigned a request
Thread 3 waiting to be assigned a request
Thread 4 waiting to be assigned a request
Thread 5 waiting to be assigned a request
(no debugging symbols found)...
Program received signal SIGHUP, Hangup.
0x281139bc in _thread_sys_poll () from /usr/lib/libc_r.so.4
(gdb) bt
#0 0x281139bc in _thread_sys_poll () from /usr/lib/libc_r.so.4
#1 0x28112db8 in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.4
#2 0x281126cf in _thread_kern_scheduler () from /usr/lib/libc_r.so.4
#3 0x0 in ?? ()
(gdb)
Any ideas? :)
Thanks,
Aragon
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html