detail file locking
Thor Spruyt
thor.spruyt at telenet.be
Wed Nov 24 17:20:59 CET 2021
----- Original Message -----
> From: "aland" <aland at deployingradius.com>
> It's pretty hard. If there's a lot of traffic, there would be a lot of
> debugging logs. And that's hard to deal with.
I managed to capture around 1 minute of debug out put with -Xxx
Wed Nov 24 16:32:13 2021 : Debug: Server was built with:
Wed Nov 24 16:32:13 2021 : Debug: accounting : yes
Wed Nov 24 16:32:13 2021 : Debug: authentication : yes
Wed Nov 24 16:32:13 2021 : Debug: ascend-binary-attributes : yes
Wed Nov 24 16:32:13 2021 : Debug: coa : yes
Wed Nov 24 16:32:13 2021 : Debug: recv-coa-from-home-server : no
Wed Nov 24 16:32:13 2021 : Debug: control-socket : yes
Wed Nov 24 16:32:13 2021 : Debug: detail : yes
Wed Nov 24 16:32:13 2021 : Debug: dhcp : yes
Wed Nov 24 16:32:13 2021 : Debug: dynamic-clients : yes
Wed Nov 24 16:32:13 2021 : Debug: osfc2 : no
Wed Nov 24 16:32:13 2021 : Debug: proxy : yes
Wed Nov 24 16:32:13 2021 : Debug: regex-pcre : yes
Wed Nov 24 16:32:13 2021 : Debug: regex-posix : no
Wed Nov 24 16:32:13 2021 : Debug: regex-posix-extended : no
Wed Nov 24 16:32:13 2021 : Debug: session-management : yes
Wed Nov 24 16:32:13 2021 : Debug: stats : yes
Wed Nov 24 16:32:13 2021 : Debug: systemd : yes
Wed Nov 24 16:32:13 2021 : Debug: tcp : yes
Wed Nov 24 16:32:13 2021 : Debug: threads : yes
Wed Nov 24 16:32:13 2021 : Debug: tls : yes
Wed Nov 24 16:32:13 2021 : Debug: unlang : yes
Wed Nov 24 16:32:13 2021 : Debug: vmps : no
Wed Nov 24 16:32:13 2021 : Debug: developer : no
Wed Nov 24 16:32:13 2021 : Debug: Server core libs:
Wed Nov 24 16:32:13 2021 : Debug: freeradius-server : 3.0.25
Wed Nov 24 16:32:13 2021 : Debug: talloc : 2.1.*
Wed Nov 24 16:32:13 2021 : Debug: ssl : 1.0.2k release
Wed Nov 24 16:32:13 2021 : Debug: pcre : 8.32 2012-11-30
Wed Nov 24 16:32:13 2021 : Debug: Endianness:
Wed Nov 24 16:32:13 2021 : Debug: little
Wed Nov 24 16:32:13 2021 : Debug: Compilation flags:
Wed Nov 24 16:32:13 2021 : Debug: cppflags :
Wed Nov 24 16:32:13 2021 : Debug: cflags : -I. -Isrc -include src/freeradius-devel/autoconf.h -include src/freeradius-devel/build.h -include src/freeradius-devel/features.h -include src/fr
eeradius-devel/radpaths.h -fno-strict-aliasing -Wno-date-time -g -O2 -Wall -std=c99 -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -DNDEBUG -DIS_MODULE=1
Wed Nov 24 16:32:13 2021 : Debug: ldflags :
Wed Nov 24 16:32:13 2021 : Debug: libs : -lcrypto -lssl -ltalloc -lpcre -lnsl -lresolv -ldl -lpthread -lreadline
Wed Nov 24 16:32:13 2021 : Debug:
Wed Nov 24 16:32:13 2021 : Info: FreeRADIUS Version 3.0.25
Wed Nov 24 16:32:13 2021 : Info: Copyright (C) 1999-2021 The FreeRADIUS server project and contributors
Wed Nov 24 16:32:13 2021 : Info: There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
Wed Nov 24 16:32:13 2021 : Info: PARTICULAR PURPOSE
Wed Nov 24 16:32:13 2021 : Info: You may redistribute copies of FreeRADIUS under the terms of the
Wed Nov 24 16:32:13 2021 : Info: GNU General Public License
Wed Nov 24 16:32:13 2021 : Info: For more information about these matters, see the file named COPYRIGHT
Wed Nov 24 16:32:13 2021 : Info: Starting - reading configuration files ...
...
Wed Nov 24 16:32:13 2021 : Debug: Created signal pipe. Read end FD 5, write end FD 6
Wed Nov 24 16:32:13 2021 : Debug: radiusd: #### Opening IP addresses and Ports ####
And then:
Wed Nov 24 16:32:13 2021 : Debug: Loading proto_detail with path: /opt/radius/lib/proto_detail.so
Wed Nov 24 16:32:13 2021 : Debug: Loading proto_detail failed: /opt/radius/lib/proto_detail.so: cannot open shared object file: No such file or directory - No such file or direc
tory
Wed Nov 24 16:32:13 2021 : Debug: Loading library using linker search path(s)
Wed Nov 24 16:32:13 2021 : Debug: Defaults : /lib:/usr/lib
Wed Nov 24 16:32:13 2021 : Debug: Failed with error: proto_detail.so: cannot open shared object file: No such file or directory
Wed Nov 24 16:32:13 2021 : Debug: listen {
Wed Nov 24 16:32:13 2021 : Debug: type = "detail"
Wed Nov 24 16:32:13 2021 : Debug: listen {
Wed Nov 24 16:32:13 2021 : Debug: filename = "/opt/radius/var/queue/queue_000/detail-*"
Wed Nov 24 16:32:13 2021 : Debug: load_factor = 99
Wed Nov 24 16:32:13 2021 : Debug: poll_interval = 1
Wed Nov 24 16:32:13 2021 : Debug: retry_interval = 5
Wed Nov 24 16:32:13 2021 : Debug: one_shot = no
Wed Nov 24 16:32:13 2021 : Debug: track = yes
Wed Nov 24 16:32:13 2021 : Debug: }
Wed Nov 24 16:32:13 2021 : Debug: }
The same happens for:
Wed Nov 24 16:32:13 2021 : Debug: Failed with error: proto_status.so: cannot open shared object file: No such file or directory
Wed Nov 24 16:32:13 2021 : Debug: Failed with error: proto_auth.so: cannot open shared object file: No such file or directory
Wed Nov 24 16:32:13 2021 : Debug: Failed with error: proto_acct.so: cannot open shared object file: No such file or directory
Everything works as expect however, except for the occasional lost packet in the detail file.
So I guess the above library loading errors can be ignored ?
--
Thor
More information about the Freeradius-Users
mailing list