log from freeradius whet it starts first entry "signalled to terminate" mean "service restart freeradius" it's okay May be i must ‘tune’ any settings in the ldap pool? What do you say for this? Wed Feb 12 20:46:34 2020 : Info: SiFreeRadius users mailing listgnalled to terminate Wed Feb 12 20:46:34 2020 : Info: Exiting normally Wed Feb 12 20:46:34 2020 : Info: rlm_ldap (ldap): Closing connection (9) Wed Feb 12 20:46:34 2020 : Info: rlm_ldap (ldap): Closing connection (8) Wed Feb 12 20:46:34 2020 : Info: rlm_ldap (ldap): Closing connection (7) Wed Feb 12 20:46:34 2020 : Info: rlm_ldap (ldap): Closing connection (6) Wed Feb 12 20:46:34 2020 : Info: rlm_ldap (ldap): Closing connection (5) Wed Feb 12 20:46:34 2020 : Info: rlm_ldap (ldap): Closing connection (4) Wed Feb 12 20:46:34 2020 : Info: rlm_ldap (ldap): Closing connection (3) Wed Feb 12 20:46:34 2020 : Info: rlm_ldap (ldap): Closing connection (2) Wed Feb 12 20:46:34 2020 : Info: rlm_ldap (ldap): Closing connection (1) Wed Feb 12 20:46:34 2020 : Info: rlm_ldap (ldap): Closing connection (0) Wed Feb 12 20:46:34 2020 : Info: Debugger not attached Wed Feb 12 20:46:34 2020 : Info: rlm_ldap: libldap vendor: OpenLDAP, version: 20445 Wed Feb 12 20:46:34 2020 : Info: rlm_ldap (ldap): Opening additional connection (0), 1 of 32 pending slots used Wed Feb 12 20:46:34 2020 : Info: rlm_ldap (ldap): Opening additional connection (1), 1 of 31 pending slots used Wed Feb 12 20:46:34 2020 : Info: rlm_ldap (ldap): Opening additional connection (2), 1 of 30 pending slots used Wed Feb 12 20:46:34 2020 : Info: rlm_ldap (ldap): Opening additional connection (3), 1 of 29 pending slots used Wed Feb 12 20:46:34 2020 : Info: rlm_ldap (ldap): Opening additional connection (4), 1 of 28 pending slots used Wed Feb 12 20:46:34 2020 : Warning: [/etc/freeradius/3.0/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay" found in filter list for realm "DEFAULT". Wed Feb 12 20:46:34 2020 : Warning: [/etc/freeradius/3.0/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay-USec" found in filter list for realm "DEFAULT". Wed Feb 12 20:46:34 2020 : Info: Loaded virtual server <default> Wed Feb 12 20:46:34 2020 : Warning: Ignoring "sql" (see raddb/mods-available/README.rst) Wed Feb 12 20:46:34 2020 : Info: # Skipping contents of 'if' as it is always 'false' -- /etc/freeradius/3.0/sites-enabled/inner-tunnel:69 Wed Feb 12 20:46:34 2020 : Info: Loaded virtual server inner-tunnel Wed Feb 12 20:46:34 2020 : Info: Loaded virtual server default Wed Feb 12 20:46:34 2020 : Info: Ready to process requests Wed Feb 12 20:46:58 2020 : Info: Need 5 more connections to reach 10 spares Wed Feb 12 20:46:58 2020 : Info: rlm_ldap (ldap): Opening additional connection (5), 1 of 27 pending slots used Wed Feb 12 20:47:14 2020 : Info: Need 4 more connections to reach 10 spares Wed Feb 12 20:47:14 2020 : Info: rlm_ldap (ldap): Opening additional connection (6), 1 of 26 pending slots used Wed Feb 12 20:47:16 2020 : Info: Need 3 more connections to reach 10 spares Wed Feb 12 20:47:16 2020 : Info: rlm_ldap (ldap): Opening additional connection (7), 1 of 25 pending slots used Wed Feb 12 20:48:25 2020 : Info: rlm_ldap (ldap): Closing connection (0): Hit idle_timeout, was idle for 71 seconds Wed Feb 12 20:48:25 2020 : Info: rlm_ldap (ldap): Closing connection (5): Hit idle_timeout, was idle for 71 seconds Wed Feb 12 20:48:25 2020 : Info: rlm_ldap (ldap): Closing connection (1): Hit idle_timeout, was idle for 71 seconds Wed Feb 12 20:48:25 2020 : Info: rlm_ldap (ldap): Closing connection (2): Hit idle_timeout, was idle for 69 seconds Wed Feb 12 20:48:25 2020 : Info: rlm_ldap (ldap): Closing connection (7): Hit idle_timeout, was idle for 69 seconds Wed Feb 12 20:48:25 2020 : Info: rlm_ldap (ldap): Closing connection (3): Hit idle_timeout, was idle for 69 seconds Wed Feb 12 20:48:25 2020 : Info: rlm_ldap (ldap): Closing connection (4): Hit idle_timeout, was idle for 69 seconds Wed Feb 12 20:48:25 2020 : Info: rlm_ldap (ldap): Closing connection (6): Hit idle_timeout, was idle for 69 seconds Wed Feb 12 20:48:25 2020 : Info: rlm_ldap (ldap): Opening additional connection (8), 1 of 32 pending slots used Wed Feb 12 20:48:25 2020 : Info: Need 2 more connections to reach min connections (3) Wed Feb 12 20:48:25 2020 : Info: rlm_ldap (ldap): Opening additional connection (9), 1 of 31 pending slots used
Среда, 12 февраля 2020, 17:59 +03:00 от Alan DeKok <aland@deployingradius.com>:
On Feb 12, 2020, at 9:43 AM, Сергей Черевко via Freeradius-Users < freeradius-users@lists.freeradius.org > wrote:
Hi! I start freeradius -X
and here is logs
users «amohova», «dgalitskov» for example
If the user gets on the network, then FreeRADIUS is no longer responsible for them. The NAS is in charge.
So when the server sees an accounting "start" followed immediately by an accounting "stop", it's because their connection is lost. This has a few reasons:
a) the user disconnects from the NAS
b) the NAS disconnects the user
Note that in *both* situations, FreeRADIUS is not involved.
Go fix the NAS.
Alan DeKok.