On Mon, 28 Oct 2002, David C. Troy wrote:

>
> All --
>
> I have freeradius 0.71 working with the sql module for authentication and
> accounting, but I'm having trouble getting the sqlcounter module going.
>
> I have read all the docs I can find.  I have 'sqlcounter dailycounter'
> and 'sqlcounter monthlycounter' sections defined in my radiusd.conf
> 'modules' section, and they contain directives that are sensible.
>
> The problem I am having is at execution;  radiusd dies because the
> 'Max-Daily-Session' attribute referenced in the files module 'users' file
> is not defined.  I do define it, however, in the modules:sqlcounter
> section.  But I have no evidence that the sqlcounter module is being
> called at runtime;  radiusd -X makes no mention of it.
>
> The rlm_sqlcounter module is being compiled but I am not sure it's being
> referenced at execution.  (I did stuff like ./configure
> --with-rlm_sqlcounter, without really knowing if it was a good idea, but
> it seemed enthusiastic enough about compiling it.)

Add dailycounter and monthlycounter in the instantiate section of your
radiusd.conf

>
> Anyway, I'm real tired and this may all come to me in the morning, but any
> advice would be appreciated.
>
> Regards,
> Dave
>
> =====================================================================
> David C. Troy   [[EMAIL PROTECTED]]                   410-384-2500 Sales
> ToadNet - Want to go fast?                        410-544-1329 FAX
> 570 Ritchie Highway, Severna Park, MD 21146-2925  www.toad.net
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>

--
Kostas Kalevras         Network Operations Center
[EMAIL PROTECTED]      National Technical University of Athens, Greece
Work Phone:             +30 210 7721861
'Go back to the shadow' Gandalf


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to