I would suggest starting a new thread, instead of replying to a digest message.
On Aug 9, 2021, at 1:04 PM, Valery Kayukov <kayukovvalery@gmail.com> wrote: I am trying to upgrade freeradius from 2.0 version to 3.0.17.
Read raddb/README.rst There are detailed instructions for upgrading. I suggest following them. And why 3.0.17? Use 3.0.23, which is available from http://packages.networkradius.com
Now I am with error: Mon Aug 9 17:00:32 2021 : Debug: # Loading authenticate {...} Mon Aug 9 17:00:32 2021 : Debug: eap Mon Aug 9 17:00:32 2021 : Error: /etc/raddb/sites-enabled/default[20]: Errors parsing preacct sub-section.
There are more messages than that. You've "helpfully" deleted most of the debug output.
Here is section:
Read http://wiki.freeradius.org/list-help We do NOT need to see the configuration files. But what is clear is that you've completely butchered the default configuration, and broken it. Don't do that. Read "man radiusd". It has instructions for how to make configuration changes. Hint: editing everything all at once is NOT the way to do it. Alan DeKok.