freeradius 1.1.8 help

Stacy Trippe strippe at corp.tecinfo.net
Tue Apr 8 23:47:10 CEST 2014


I've been trying (unsuccessfully) to upgrade an old 0.8.1 server running on FreeBSD 4.7 to something in the current decade...   any help appreciated...


Getting a segmentation fault running 1.1.8 on CentOS 6.5 (32-bit - i686)

Ran check-radius-config -- and get through to modules loading -- and it crashes:

Ignoring deprecated command-line option -pStarting - 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/sql.conf
 main: prefix = "/usr/local"
 main: localstatedir = "/usr/local/var"
 main: logdir = "/usr/local/var/log/radius"
 main: libdir = "/usr/local/lib:/usr/lib/freeradius"
 main: radacctdir = "/usr/local/var/log/radius/radacct"
 main: hostname_lookups = no
 main: max_request_time = 30
 main: cleanup_delay = 2
 main: max_requests = 2560
 main: delete_blocked_requests = 0
 main: port = 0
 main: allow_core_dumps = no
 main: log_stripped_names = no
 main: log_file = "/usr/local/var/log/radius/radius.log"
 main: log_auth = yes
 main: log_auth_badpass = yes
 main: log_auth_goodpass = no
 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: checkrad = "/usr/local/sbin/checkrad"
 main: proxy_requests = yes
 proxy: retry_delay = 5
 proxy: retry_count = 3
 proxy: synchronous = no
 proxy: default_fallback = no
 proxy: dead_time = 120
 proxy: post_proxy_authorize = yes
 proxy: wake_all_if_all_dead = no
 security: max_attributes = 200
 security: reject_delay = 0
 security: status_server = no
 main: debug_level = 0
read_config_files:  reading dictionary
read_config_files:  reading naslist
Using deprecated naslist file.  Support for this will go away soon.
read_config_files:  reading clients
read_config_files:  reading realms
radiusd:  entering modules setup

I followed doc/bugs and created a gdb-radiusd.log  which is below:


* 1 Thread 0xb77f4730 (LWP 5815)  0x00b637d7 in __strcmp_sse4_2 ()
   from /lib/i686/nosegneg/libc.so.6

Thread 1 (Thread 0xb77f4730 (LWP 5815)):
#0  0x00b637d7 in __strcmp_sse4_2 () from /lib/i686/nosegneg/libc.so.6
No symbol table info available.
#1  0x006fbb95 in lt_dlpreload_open () from /usr/lib/libltdl.so.7
No symbol table info available.
#2  0x006ffb2b in lt_dlinit () from /usr/lib/libltdl.so.7
No symbol table info available.
#3  0x002d1b54 in setup_modules () at modules.c:710
        comp = <value optimized out>
        cs = <value optimized out>
        filename = 0x2dd7d1 "radiusd.conf"
#4  0x002d4e58 in main (argc=2, argv=0xbfddc874) at radiusd.c:965
        request = 0x2e3ea0
        packet = <value optimized out>
        secret = <value optimized out>
        buffer = '\000' <repeats 16 times>"\340, \267<U+077F>", '\000' <repeats 12 times>, "\004<\027\000\001\000\000\000\000\320G\000\220|\177\267\000@\027\000<\266<U+077F>\000\000\000\000=\331F\000\274&\241\000\340\237\177\267\304\317G\000x\235\177\267\274&\241\000(\271<U+077F>\204eF\000\274&\241\000i\212J\000\003\000\000\000\260|\177\267\004<\027\000\004\354\001\000\000\375\000\000i\212J\000\000\000\000\000\203\001\020\000\355\201\000\000\001", '\000' <repeats 23 times>, "\001\000\000\000\000\320G\000\340x\177\267\360\000\000\000\000\000\000\000*\035CS<ٶ#=\331F\000\254\243\024\000\340\237\177\267\304\317G\000x\235\177\267\254\243\024\000\250\271<U+077F>\204eF\000\254\243\024\000i\212J\000\304\317G\000\021\306\177\267\221\243\024\000Ĺ<U+077F>\261fF\000i\212J\000x|\177\267(v\177\267\001\000\000\000\000\000\000\000\254\271<U+077F>\000\000\000\000\003\000\000\000\307yG\000\260\271<U+077F>\001\000\000\000\000\320G\000(v\177\267"...
        readfds = {fds_bits = {-1075984572, 21, 4708600, 0, 0, 1, 2200,
            -1216388896, -1216373384, 2908937, 10743672, 2902908, 1, 4706244,
            -1075984352, 4709040, -1075984396, 4620570, -1075984412, 2902908,
            -1075984424, 4708948, 0, -1216388896, 1, 0, 1, 4708600, 3870384,
            -1075984488, 4664624, 2}}
        argval = <value optimized out>
        pid = <value optimized out>
        max_fd = <value optimized out>
        status = <value optimized out>
        tv = 0x0
        act = {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0},
          sa_mask = {__val = {0 <repeats 32 times>}}, sa_flags = 0,
          sa_restorer = 0}
        listener = <value optimized out>

Thanks,

Stacy


More information about the Freeradius-Users mailing list