Dear all,

I found that my freeradius service cannot be run more than 10 mins. I turned
on the debug mode, the following messages would appear before core dump

modcall: entering group authorize
  modcall[authorize]: module "preprocess" returns ok
  modcall[authorize]: module "suffix" returns ok
    users: Matched DEFAULT at 144
  modcall[authorize]: module "files" returns ok
modcall: group authorize returns ok
  rad_check_password:  Found Auth-Type unix
auth: type "System"
modcall: entering group authenticate
rlm_users : Time to refresh cache.
HASH:  Can't open file (null): Bad address
Segmentation fault (core dumped)


I think the main point are the last three lines. Why do my freeradius server
would have core dump when it does a cache refresh (default is 10 mins). I am
the one which are using other password file and shadow file. Anyway, one
more information is, the path of the group is not the same format as
/etc/group. However, we ignore it because we find that it just read our new
shadow password. If debug mode is run, it said it stored 0 entried from the
group file.

HASH:  Reinitializing hash structures and lists for caching...
  HASH:  user user5@test found in hashtable bucket 57904
  HASH:  user user1@test found in hashtable bucket 26820
 HASH:  Stored 8 entries from /home/passwd.test
HASH:  Stored 0 entries from /home/group.test

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

Reply via email to