Hello Daniel, You should not run the radiusd-acct, only the pfacct.
Stop it and disable it into the services in PF web ui if you have it enabled. Thanks, Ludovic Zammit Product Support Engineer Principal Lead Cell: +1.613.670.8432 Akamai Technologies - Inverse 145 Broadway Cambridge, MA 02142 Connect with Us: <https://community.akamai.com/> <http://blogs.akamai.com/> <https://twitter.com/akamai> <http://www.facebook.com/AkamaiTechnologies> <http://www.linkedin.com/company/akamai-technologies> <http://www.youtube.com/user/akamaitechnologies?feature=results_main> > On Aug 4, 2023, at 2:27 AM, Krüger, Daniel via PacketFence-users > <packetfence-users@lists.sourceforge.net> wrote: > > Ok guys, > > I "found something out". > > There are 2 accounting services on a ZEN system, the pfacct service and > radiusd-acct service, if you try to just start radiusd-acct then the result > is the message flood shown in my first message. > > By default pfacct is running, it shows me the node in green or red if it's > online or not. > However, no accounting information is shown, port 1813 is listening. > > udp 0 0 192.168.2.28:1813 0.0.0.0:* > 10817/docker-proxy > > Shutting down the pfacct and firing up radiusd-acct brings up this accounting > service. > > udp 0 0 0.0.0.0:1813 0.0.0.0:* > 11568/freeradius > > However, no singnalling of the current online state is working anymore, also, > now accounting information. > > Ok, switching back to pfacct - oops no singnalling anymore. Just after a > reboot it works again. > > Can someone here tell a bit about these two services, why are they existing > is this form, which one should be used... > > I could not find anything in the documentation about this. > > > Thx, > > Daniel > > Von: Krüger, Daniel via PacketFence-users > <packetfence-users@lists.sourceforge.net > <mailto:packetfence-users@lists.sourceforge.net>> > Gesendet: Donnerstag, 3. August 2023 09:09 > An: packetfence-users@lists.sourceforge.net > <mailto:packetfence-users@lists.sourceforge.net> > Cc: Krüger, Daniel <daniel.krue...@tfa.brandenburg.de > <mailto:daniel.krue...@tfa.brandenburg.de>> > Betreff: [PacketFence-users] PacketFence 12.2.0 - radius accounting service > does not start > > Hello, > > I just set up a fresh ZEN PF instance (third time) in order to configure MAC > auth with Aruba, basic setup works but no accounting. > > It is impossible to start the radius accounting service, why is this so? > > Aug 3 09:03:12 packetfence radiusd-acct-docker-wrapper[23680]: Failed to > create stream fd: No such file or directory > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Warning: tls: Setting DH parameters from > /usr/local/pf/raddb/certs/dh - this is no longer necessary. > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Warning: tls: You should comment out the 'dh_file' > configuration item. > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Warning: tls: Setting DH parameters from > /usr/local/pf/raddb/certs/dh - this is no longer necessary. > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Warning: tls: You should comment out the 'dh_file' > configuration item. > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Info: rlm_sql_mysql: libmysql version: 10.5.18 > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Info: rlm_sql (sql): Attempting to connect to database "pf" > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Info: rlm_sql (pfguest): Attempting to connect to database > "pf" > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Info: rlm_sql (pfsponsor): Attempting to connect to database > "pf" > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Info: rlm_sql (pfsms): Attempting to connect to database "pf" > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Info: rlm_sql (pflocal): Attempting to connect to database > "pf" > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Warning: rlm_sql (sql_reject): groupmemb_query is empty. > Please delete it from the configuration > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Warning: rlm_sql (sql_reject): authorize_check_query is > empty. Please delete it from the configuration > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Info: rlm_sql (sql_reject): Attempting to connect to database > "pf" > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Warning: rlm_sql (sql_degraded): groupmemb_query is empty. > Please delete it from the configuration > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Warning: rlm_sql (sql_degraded): Ignoring read_groups as > group_membership_query is not configured > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Info: rlm_sql (sql_degraded): Attempting to connect to > database "pf" > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Info: Loaded virtual server <default> > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Info: Loaded virtual server packetfence > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Info: Loaded virtual server pf-remote > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Info: Loaded virtual server pf.degraded > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Info: Loaded virtual server packetfence-degraded-tunnel > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Info: Loaded virtual server dynamic_clients > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Info: Loaded virtual server packetfence-tunnel > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Info: Loaded virtual server packetfence-tunnel-fast > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Info: Loaded virtual server status > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Info: Loaded virtual server packetfence-cli > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Error: Failed binding to acct address * port 1813 bound to > server packetfence: Address already in use > Aug 3 09:03:13 packetfence radiusd-acct-docker-wrapper[23680]: Thu Aug 3 > 09:03:13 2023 : Error: /usr/local/pf/raddb/acct.conf[8]: Error binding to > port for 0.0.0.0 port 1813 > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23757]: Running with > args --sig-proxy=true --rm --name=radiusd-acct > --add-host=containers-gateway.internal:host-gateway -h packetfence -v > /var/lib/mysql:/var/lib/mysql -v /etc/sudoers:/etc/sudoers -v > /etc/sudoers.d/:/etc/sudoers.d/ -v > /usr/local/fingerbank/conf:/usr/local/fingerbank/conf -v > /usr/local/fingerbank/db:/usr/local/fingerbank/db -v > /usr/local/pf/var/run:/usr/local/pf/var/run -ePF_UID=997 -e PF_GID=997 > -eFINGERBANK_UID=998 -e FINGERBANK_GID=998 -eIS_A_CLASSIC_PF_CONTAINER=yes > --env-file /usr/local/pf/var/conf/radiusd-acct.env -v > /etc/localtime:/etc/localtime:ro -v > /usr/local/pf/conf/log.conf.d/:/usr/local/pf/conf/log.conf.d/ -v > /usr/local/pf/conf/ssl/:/usr/local/pf/conf/ssl/ -v > /usr/local/pf/raddb/:/usr/local/pf/raddb/ -v > /usr/local/pf/logs/:/usr/local/pf/logs/ -p 1813:1813/udp --network=host > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23764]: Error: No > such container: radiusd-acct > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23764]: Error: No > such container: 1 > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: WARNING: > Published ports are discarded when using host network mode > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:16 2023 : Info: Starting - reading configuration files ... > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:16 2023 : Warning: Ignoring "response_window = 20.000000", forcing to > "response_window = 10.000000" > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:16 2023 : Warning: Ignoring "response_window = 30.000000", forcing to > "response_window = 10.000000" > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:16 2023 : Info: Debug state unknown (cap_sys_ptrace capability not set) > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:16 2023 : Info: systemd watchdog interval is 5.00 secs > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:16 2023 : Info: Perl version: 5.32.0 > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:16 2023 : Info: Perl version: 5.32.0 > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:16 2023 : Info: Perl version: 5.32.0 > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:16 2023 : Info: Perl version: 5.32.0 > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:16 2023 : Info: Perl version: 5.32.0 > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:16 2023 : Info: rlm_redis: libhiredis version: 0.14.1 > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:16 2023 : Info: rlm_redis: libhiredis version: 0.14.1 > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:16 2023 : Info: rlm_sql (sql): Driver rlm_sql_mysql (module > rlm_sql_mysql) loaded and linked > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:16 2023 : Info: rlm_sql (pfguest): Driver rlm_sql_mysql (module > rlm_sql_mysql) loaded and linked > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:16 2023 : Info: rlm_sql (pfsponsor): Driver rlm_sql_mysql (module > rlm_sql_mysql) loaded and linked > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:16 2023 : Info: rlm_sql (pfsms): Driver rlm_sql_mysql (module > rlm_sql_mysql) loaded and linked > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:16 2023 : Info: rlm_sql (pflocal): Driver rlm_sql_mysql (module > rlm_sql_mysql) loaded and linked > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:16 2023 : Info: rlm_sql (sql_reject): Driver rlm_sql_mysql (module > rlm_sql_mysql) loaded and linked > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:16 2023 : Info: rlm_sql (sql_degraded): Driver rlm_sql_mysql (module > rlm_sql_mysql) loaded and linked > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:16 2023 : Info: rlm_rest: libcurl version: libcurl/7.74.0 > OpenSSL/1.1.1n zlib/1.2.11 brotli/1.0.9 libidn2/2.3.0 libpsl/0.21.0 > (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.43.0 librtmp/2.3 > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:16 2023 : Warning: > [/usr/local/pf/raddb/mods-config/attr_filter/access_reject]:11 Check item > "FreeRADIUS-Response-Delay" found in filter list for realm "DEFAULT". > Aug 3 09:03:16 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:16 2023 : Warning: > [/usr/local/pf/raddb/mods-config/attr_filter/access_reject]:11 Check item > "FreeRADIUS-Response-Delay-USec" found in filter list for realm > "DEFAULT". > Aug 3 09:03:17 packetfence radiusd-acct-docker-wrapper[23772]: Failed to > create stream fd: No such file or directory > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Warning: tls: Setting DH parameters from > /usr/local/pf/raddb/certs/dh - this is no longer necessary. > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Warning: tls: You should comment out the 'dh_file' > configuration item. > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Warning: tls: Setting DH parameters from > /usr/local/pf/raddb/certs/dh - this is no longer necessary. > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Warning: tls: You should comment out the 'dh_file' > configuration item. > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Info: rlm_sql_mysql: libmysql version: 10.5.18 > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Info: rlm_sql (sql): Attempting to connect to database "pf" > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Info: rlm_sql (pfguest): Attempting to connect to database > "pf" > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Info: rlm_sql (pfsponsor): Attempting to connect to database > "pf" > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Info: rlm_sql (pfsms): Attempting to connect to database "pf" > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Info: rlm_sql (pflocal): Attempting to connect to database > "pf" > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Warning: rlm_sql (sql_reject): groupmemb_query is empty. > Please delete it from the configuration > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Warning: rlm_sql (sql_reject): authorize_check_query is > empty. Please delete it from the configuration > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Info: rlm_sql (sql_reject): Attempting to connect to database > "pf" > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Warning: rlm_sql (sql_degraded): groupmemb_query is empty. > Please delete it from the configuration > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Warning: rlm_sql (sql_degraded): Ignoring read_groups as > group_membership_query is not configured > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Info: rlm_sql (sql_degraded): Attempting to connect to > database "pf" > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Info: Loaded virtual server <default> > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Info: Loaded virtual server packetfence > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Info: Loaded virtual server pf-remote > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Info: Loaded virtual server pf.degraded > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Info: Loaded virtual server packetfence-degraded-tunnel > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Info: Loaded virtual server dynamic_clients > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Info: Loaded virtual server packetfence-tunnel > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Info: Loaded virtual server packetfence-tunnel-fast > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Info: Loaded virtual server status > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Info: Loaded virtual server packetfence-cli > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Error: Failed binding to acct address * port 1813 bound to > server packetfence: Address already in use > Aug 3 09:03:18 packetfence radiusd-acct-docker-wrapper[23772]: Thu Aug 3 > 09:03:18 2023 : Error: /usr/local/pf/raddb/acct.conf[8]: Error binding to > port for 0.0.0.0 port 1813 > > Thanks for any hint > > Daniel > > > _______________________________________________ > PacketFence-users mailing list > PacketFence-users@lists.sourceforge.net > https://urldefense.com/v3/__https://lists.sourceforge.net/lists/listinfo/packetfence-users__;!!GjvTz_vk!RDkJHjid2azwlWSEA40IURFwzDnwzwTqSjD-zlDoIpdR2JUDLjmyQmvFRFBcYPFZH4THVhqODVRz$
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ PacketFence-users mailing list PacketFence-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/packetfence-users