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
On 8 Apr 2014, at 22:47, Stacy Trippe <strippe@corp.tecinfo.net> wrote:
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...
Version 1.1.8 has been unsupported for almost a decade. It will not be receiving any more bug fixes. If you really want to continue with 1.1.8 which is almost certainly a very bad idea. Use the stock 1.1.8 config which works, and copy changes across from 0.8.1. The SEGV is in the config parser, so the older 0.8.1 config probably triggered an edge condition. -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
Stacy Trippe wrote:
Getting a segmentation fault running 1.1.8 on CentOS 6.5 (32-bit - i686)
Don't run version 1.1.8. Use version 2.2.4, or 3.0.2. Version 1.1.8 is four years old. The 1.x release was deprecated almost 7 years ago. There is NO REASON to be running 1.1.8 on a new system. I don't know why vendors keep packaging it. Alan DeKok.
On 04/08/2014 06:02 PM, Alan DeKok wrote:
Stacy Trippe wrote:
Getting a segmentation fault running 1.1.8 on CentOS 6.5 (32-bit - i686)
Don't run version 1.1.8. Use version 2.2.4, or 3.0.2.
Version 1.1.8 is four years old. The 1.x release was deprecated almost 7 years ago.
There is NO REASON to be running 1.1.8 on a new system. I don't know why vendors keep packaging it.
RHEL 6.5 has 2.1.12. We have not packaged 1.x for a long time (RHEL-5 has a 1.x for historical reasons but that was supplanted by 2.x versions years ago) -- John
On 8 Apr 2014, at 22:47, Stacy Trippe <strippe@corp.tecinfo.net> wrote:
Getting a segmentation fault running 1.1.8 on CentOS 6.5 (32-bit - i686)
Is this a typo? FreeRADIUS 1 is severely outdated, and should not be used. Assuming not: Configuration files are not 100% compatible between major releases, so you're not really doing yourself any favours by starting with 1.x. I strongly advise you to start with 2.1.12 (packaged in CentOS) as a minimum, preferably the latest 3.0 release if you're prepared to build from source. Honestly, I don't even really know where to begin debugging a release that old - it's crashed when loading a library, so I'd start looking at the build/link process, and particularly look at libtool. Thanks, Adam Bishop gpg: 0x6609D460 Janet, the UK's research and education network. Janet(UK) is a trading name of Jisc Collections and Janet Limited, a not-for-profit company which is registered in England under No. 2881024 and whose Registered Office is at Lumen House, Library Avenue, Harwell Oxford, Didcot, Oxfordshire. OX11 0SG. VAT No. 614944238
participants (5)
-
Adam Bishop -
Alan DeKok -
Arran Cudbard-Bell -
John Dennis -
Stacy Trippe