Freeradius does not Executing section "authorize from file /etc/freeradius/sites-enabled/default"

Alan DeKok aland at
Fri May 3 14:52:54 CEST 2019

On May 3, 2019, at 8:22 AM, myxmail1919--- via Freeradius-Users <freeradius-users at> wrote:
> Hi everyone,,maybe someone can help me ? have a mysql query in  /etc/freeradius/sites-enabled/default  (authorize section )before authorizeing a user it checks for some attributes in mysql it works fine when i run freeradius and test it with some users !but it  does not  Executing section "authorize from file /etc/freeradius/sites-enabled/default" when i start freeradius under heavy load ! 

  Please format your message so that they are readable.

> Start radius and test with some users : # Executing section authorize from file /etc/freeradius/sites-enabled/default
> +group authorize {
> ++[preprocess] = ok
> rlm_sql (sql): Released sql socket id: 29        expand: %{sql:SELECT **************************************  } ->? Evaluating ("%{sql:SELECT **************************************  }" > 1 ) -> FALSE++? if ("%{sql:SELECT ************************************** " > 1 ) -> FALSE++else else {+++[ok] = ok+++update control {
> +++} # update control = noop++} # else else = ok

  This is completely butchered.

  Plus, it's for v2.  We're not going to fix bugs or do anything with v2.  It's end of life.

  If you're having issues with v2, upgrade to 2.2.10.  You can just upgrade, and you don't need to change the configuration.

  Or, install v3, and upgrade the configuration to be compatible with that.

  Or, post the *full* debug log, as Jorge suggested.  One that is *readable*.

  Alan DeKok.

More information about the Freeradius-Users mailing list