>
> At 02:40 PM 10/23/2002 -0400, [EMAIL PROTECTED] wrote:
> >I have installed freeradius-0.7.1 on two new Redhat8.0 linux test machines
> >and it went in and compiled OK. I have radius working on both machine in
> >that they can proxy for each other and communicate with my regular older
> >Livington radius software on an undisclosed third machine. The radtest
> >works for local authentications and remote (proxy) authentications.
> >
> >The major problem I have is that it is not logging anything. One machine
> >runs radius as a user named radiusd, the other as root just to test if
> >it's a file permissions problem. Neither machine logs. I have checked the
> >archives for the past two months of the mailing list and read the FAQ and
> >have not got any good ideas. Any suggestions on what to check next?
> >
> >TIA for any ideas / feel free to ask for more specific details
>
> What does it say when you run it in debugging mode?
>
> -Chris
[root@testdns root]# radiusd -X
Starting - reading configuration files ...
reread_config: reading radiusd.conf
Config: including file: /usr/local/etc/raddb/proxy.conf
Config: including file: /usr/local/etc/raddb/clients.conf
Config: including file: /usr/local/etc/raddb/snmp.conf
Config: including file: /usr/local/etc/raddb/sql.conf
main: prefix = "/usr/local"
main: localstatedir = "/usr/local/var"
main: logdir = "/usr/local/var/log/radius"
main: libdir = "/usr/local/lib"
main: radacctdir = "/usr/local/var/log/radius/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 = 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 = yes
main: log_auth = yes
main: log_auth_badpass = yes
main: log_auth_goodpass = yes
main: pidfile = "/usr/local/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: proxy_requests = yes
proxy: retry_delay = 5
proxy: retry_count = 3
proxy: synchronous = no
proxy: default_fallback = yes
proxy: dead_time = 120
security: max_attributes = 200
security: reject_delay = 1
main: debug_level = 0
read_config_files: entering modules setup
Module: Library search path is /usr/local/lib
Module: Loaded System
unix: cache = no
unix: passwd = "(null)"
unix: shadow = "/etc/shadow"
unix: group = "/etc/group"
unix: radwtmp = "/usr/local/var/log/radius/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
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 =
"/usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail"
detail: detailperm = 384
detail: dirperm = 493
detail: locking = no
Module: Instantiated detail (detail)
Module: Loaded radutmp
radutmp: filename = "/usr/local/var/log/radius/radutmp"
radutmp: username = "%{User-Name}"
radutmp: perm = 384
radutmp: callerid = yes
Module: Instantiated radutmp (radutmp)
Listening on IP address *, ports 1812/udp and 1813/udp, with proxy on
1814/udp.
Ready to process requests.
(then I test)
[root@testdns root]# radtest jp **** localhost 0 testing123
Sending Access-Request of id 210 to 127.0.0.1:1812
User-Name = "jp"
User-Password = "\321\024\014)\036\022w\021\213G\344*\357"La"
NAS-IP-Address = testdns.midcoast.com
NAS-Port-Id = "0"
rad_recv: Access-Accept packet from host 127.0.0.1:1812, id=210, length=20
[root@testdns root]#
and on the radiusd screen:
rad_recv: Access-Request packet from host 127.0.0.1:32768, id=210,
length=51
User-Name = "jp"
User-Password = "****"
NAS-IP-Address = 255.255.255.255
NAS-Port-Id = "0"
modcall: entering group authorize
modcall[authorize]: module "preprocess" returns ok
rlm_realm: Looking up realm NULL for User-Name = "jp"
rlm_realm: Found realm NULL
rlm_realm: Adding Stripped-User-Name = "jp"
rlm_realm: Proxying request from user jp to realm NULL
rlm_realm: Adding Realm = "NULL"
rlm_realm: Authentication realm is LOCAL.
rlm_realm: auth_port is not set. proxy cancelled
modcall[authorize]: module "suffix" returns noop
users: Matched DEFAULT at 152
modcall[authorize]: module "files" returns ok
modcall: group authorize returns ok
rad_check_password: Found Auth-Type System
auth: type "System"
modcall: entering group authenticate
modcall[authenticate]: module "unix" returns ok
modcall: group authenticate returns ok
Login OK: [jp/****] (from client localhost port 0)
Sending Access-Accept of id 210 to 127.0.0.1:32768
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 6 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 210 with timestamp 3db6efaa
Nothing to do. Sleeping until we see a request.
Thanks,
Jason
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html