using SQL, where is Session-Timeout updated?

Ivan Kalik tnt at kalik.net
Fri Sep 18 16:41:59 CEST 2009


> sqlcounter dailycounter
>    {
>      counter-name = Daily-Session-Time
>      check-name = Max-Daily-Session
>      reply-name = Session-Timeout
>      sqlmod-inst = sql
>      key = User-Name
>      reset = daily
>      query = "SELECT SUM(AcctSessionTime - \
>               GREATER((%b - AcctStartTime::ABSTIME::INT4), ..."
>    }
>
> What is wrong?
> freeradius does not start because " "SQL Counter" modules
> aren't allowed in 'accounting' sections".
>
> It is told to put it in 'accounting'...

No, you weren't told to put it there. Read again my message about where
are you supposed to list it.

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list