Failed to start Freeradius 4.0.0 with tacacs

Viktor Kolesnikov vvkolesnikoff at gmail.com
Fri May 17 10:20:59 CEST 2019


Hello Team,
I successfully built freeradius-server 4 from master branch using this
requirements https://wiki.freeradius.org/building/RHEL%20and%20Centos
And I would like to test tacacs, but when I trying to run the app, I
get an error proto_tacacs.so library.
Debug output is below:
[root at localhost sbin]# ./radiusd -xX
Fri May 17 10:27:56 2019: Debug : Server was built with:
Fri May 17 10:27:56 2019: Debug :   accounting               : yes
Fri May 17 10:27:56 2019: Debug :   authentication           : yes
Fri May 17 10:27:56 2019: Debug :   ascend-binary-attributes : yes
Fri May 17 10:27:56 2019: Debug :   coa                      : yes
Fri May 17 10:27:56 2019: Debug :   control-socket           : yes
Fri May 17 10:27:56 2019: Debug :   detail                   : yes
Fri May 17 10:27:56 2019: Debug :   dhcp                     : yes
Fri May 17 10:27:56 2019: Debug :   dynamic-clients          : yes
Fri May 17 10:27:56 2019: Debug :   proxy                    : yes
Fri May 17 10:27:56 2019: Debug :   regex-pcre               : yes
Fri May 17 10:27:56 2019: Debug :   regex-pcre2              : no
Fri May 17 10:27:56 2019: Debug :   regex-posix              : no
Fri May 17 10:27:56 2019: Debug :   regex-posix-extended     : no
Fri May 17 10:27:56 2019: Debug :   stats                    : yes
Fri May 17 10:27:56 2019: Debug :   systemd                  : yes
Fri May 17 10:27:56 2019: Debug :   tls                      : yes
Fri May 17 10:27:56 2019: Debug :   tls-key-agility          : yes
Fri May 17 10:27:56 2019: Debug :   unlang                   : yes
Fri May 17 10:27:56 2019: Debug :   vmps                     : yes
Fri May 17 10:27:56 2019: Debug :   socket-timestamps        : yes
Fri May 17 10:27:56 2019: Debug :   developer                : yes
Fri May 17 10:27:56 2019: Debug :   address-sanitizer        : no
Fri May 17 10:27:56 2019: Debug :   runtime-debugger         : no
Fri May 17 10:27:56 2019: Debug : Server core libs:
Fri May 17 10:27:56 2019: Debug :   freeradius-server        : 4.0.0
Fri May 17 10:27:56 2019: Debug :   talloc                   : 2.1.*
Fri May 17 10:27:56 2019: Debug :   ssl                      : 1.0.2k release
Fri May 17 10:27:56 2019: Debug :   pcre                     : 8.32 2012-11-30
Fri May 17 10:27:56 2019: Debug : OpenSSL engines:
Fri May 17 10:27:56 2019: Debug :   dynamic                  : Dynamic
engine loading support
Fri May 17 10:27:56 2019: Debug : Endianness:
Fri May 17 10:27:56 2019: Debug :   little
Fri May 17 10:27:56 2019: Debug : Compilation flags:
Fri May 17 10:27:56 2019: Debug :   cppflags :
Fri May 17 10:27:56 2019: Debug :   cflags   : -I. -Isrc -include
src/freeradius-devel/autoconf.h -include src/freeradius-devel/build.h
-include src/freeradius-devel/features.h -include
src/freeradius-devel/radpaths.h -fno-strict-aliasing -Wno-date-time
-g3 -std=c11 -Wall -D_GNU_SOURCE -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -pthread -DOPENSSL_NO_KRB5 -Wshadow
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -W -Wredundant-decls -Wundef -Wformat-y2k
-Wno-missing-field-initializers -Wno-format-extra-args
-Wno-format-zero-length -Wno-cast-align -Wformat-nonliteral
-Wformat-security -Wformat=2 -DWITH_VERIFY_PTR=1 -DWITH_OPENSSL_MD4
-DWITH_OPENSSL_MD5
Fri May 17 10:27:56 2019: Debug :   ldflags  :
Fri May 17 10:27:56 2019: Debug :   libs     : -lcrypto -lssl -ltalloc
-lkqueue -lpcre -lcap -lrt -lnsl -lresolv -ldl -lpthread -lreadline
Fri May 17 10:27:56 2019: Debug :
Fri May 17 10:27:56 2019: Info  : FreeRADIUS Version 4.0.0
Fri May 17 10:27:56 2019: Info  : Copyright 1999-2019 The FreeRADIUS
server project and contributors
Fri May 17 10:27:56 2019: Info  : There is NO warranty; not even for
MERCHANTABILITY or FITNESS FOR A
Fri May 17 10:27:56 2019: Info  : PARTICULAR PURPOSE
Fri May 17 10:27:56 2019: Info  : You may redistribute copies of
FreeRADIUS under the terms of the
Fri May 17 10:27:56 2019: Info  : GNU General Public License
Fri May 17 10:27:56 2019: Info  : For more information about these
matters, see the file named COPYRIGHT
Fri May 17 10:27:56 2019: Info  : Starting - reading configuration files ...
Fri May 17 10:27:56 2019: Debug : Including dictionary file
"/opt/freeradius/usr/etc/raddb/dictionary"
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/radiusd.conf
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/clients.conf
Fri May 17 10:27:56 2019: Debug : Including files in directory
"/opt/freeradius/usr/etc/raddb/mods-enabled/"
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/always
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/attr_filter
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/cache_eap
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/chap
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/client
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/delay
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/detail
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/detail.log
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/digest
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/dhcpv4
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/echo
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/escape
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/exec
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/expiration
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/expr
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/files
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/linelog
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/logintime
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/mschap
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/ntlm_auth
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/pap
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/passwd
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/radius
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/radutmp
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/soh
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/sradutmp
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/stats
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/unix
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/unpack
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/mods-enabled/utf8
Fri May 17 10:27:56 2019: Debug : Including files in directory
"/opt/freeradius/usr/etc/raddb/policy.d/"
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/policy.d/abfab-tr
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/policy.d/accounting
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/policy.d/canonicalization
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/policy.d/control
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/policy.d/cui
Fri May 17 10:27:56 2019: Debug : OPTIMIZING
(${policy.cui_require_operator_name} == yes) --> FALSE
Fri May 17 10:27:56 2019: Debug : OPTIMIZING (no == yes) --> FALSE
Fri May 17 10:27:56 2019: Debug : OPTIMIZING
(${policy.cui_require_operator_name} == yes) --> FALSE
Fri May 17 10:27:56 2019: Debug : OPTIMIZING (no == yes) --> FALSE
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/policy.d/debug
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/policy.d/dhcp
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/policy.d/eap
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/policy.d/filter
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/policy.d/operator-name
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/policy.d/time
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/policy.d/vendor
Fri May 17 10:27:56 2019: Debug : Including files in directory
"/opt/freeradius/usr/etc/raddb/sites-enabled/"
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/sites-enabled/default
Fri May 17 10:27:56 2019: Debug : proto_radius loaded, checking if it's valid
Fri May 17 10:27:56 2019: Debug : proto_radius validated.  Handle
address 0x2349660, symbol address 0x7f98321b9280
Fri May 17 10:27:56 2019: Info  : Loaded module "proto_radius"
Fri May 17 10:27:56 2019: Debug : including configuration file
/opt/freeradius/usr/etc/raddb/sites-enabled/tacacs
Fri May 17 10:27:56 2019: Error : src/lib/server/cf_file.c[1568]:
Failed to link to module "proto_tacacs":
/opt/freeradius/usr/lib/proto_tacacs.so: undefined symbol:
common_socket_parse
Fri May 17 10:27:56 2019: Error : src/lib/server/cf_file.c[1568]: Make
sure it (and all its dependent libraries!) are in the search path of
your system's ld
CAUGHT SIGNAL: Segmentation fault
Backtrace of last 16 frames:
/opt/freeradius/usr/lib/libfreeradius-util.so(fr_fault+0xe9)[0x7f9837d947a9]
/lib64/libpthread.so.0(+0xf5d0)[0x7f98363e25d0]
/opt/freeradius/usr/lib/libfreeradius-server.so(+0x307a2)[0x7f98384817a2]
/lib64/libtalloc.so.2(+0x31ab)[0x7f98374a11ab]
/opt/freeradius/usr/lib/libfreeradius-server.so(dl_module+0x314)[0x7f9838481b2b]
/opt/freeradius/usr/lib/libfreeradius-server.so(+0x5a975)[0x7f98384ab975]
/opt/freeradius/usr/lib/libfreeradius-server.so(_cf_section_alloc+0x4f4)[0x7f983846f146]
/opt/freeradius/usr/lib/libfreeradius-server.so(+0x18075)[0x7f9838469075]
/opt/freeradius/usr/lib/libfreeradius-server.so(+0x18391)[0x7f9838469391]
/opt/freeradius/usr/lib/libfreeradius-server.so(+0x167a3)[0x7f98384677a3]
/opt/freeradius/usr/lib/libfreeradius-server.so(+0x18391)[0x7f9838469391]
/opt/freeradius/usr/lib/libfreeradius-server.so(cf_file_read+0x23d)[0x7f983846962b]
/opt/freeradius/usr/lib/libfreeradius-server.so(main_config_init+0x402)[0x7f983848883e]
./radiusd(main+0x95c)[0x404cee]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f9835bb13d5]
./radiusd[0x404159]
No panic action set
_EXIT(139) CALLED src/lib/util/debug.c[921]

Does tacacs working in freeradius 4 and can I somehow fix this?

-- 
Best regards,
Viktor Kolesnikov


More information about the Freeradius-Users mailing list