Re: sqlcounter instance not found in modules section

2012-10-03 Thread Russell Stockhammer
On Wed, 3 Oct 2012, Fajar A. Nugraha wrote: At times like this it's handy if you pasted the WHOLE output of radiusd -X. Among others, it will show whether it reads the correct file. Usually you edit one file while FR loads the other. Interestingly enough when I run radiusd -X it loads per

Re: sqlcounter instance not found in modules section

2012-10-02 Thread Fajar A. Nugraha
On Wed, Oct 3, 2012 at 12:04 PM, Russell Stockhammer wrote: > Ok, but there is also a; > > - > > $INCLUDE sql/mysql/counter.conf > > Good catch :) FR is pretty flexible in its configuration. Suffice to say that most (all?) module configuration (including sql and eap) in 3.x is m

Re: sqlcounter instance not found in modules section

2012-10-02 Thread Russell Stockhammer
On Tue, 2 Oct 2012, Fajar A. Nugraha wrote: On Tue, Oct 2, 2012 at 6:47 PM, Alan DeKok wrote: Russell Stockhammer wrote: I'm trying to create a new sqlcounter instance that counts octets. I think what I've done is correct but I get the following error when I start FreeRadius... ...

Re: sqlcounter instance not found in modules section

2012-10-02 Thread Russell Stockhammer
On Tue, 2 Oct 2012, Alan DeKok wrote: Russell Stockhammer wrote: I'm trying to create a new sqlcounter instance that counts octets. I think what I've done is correct but I get the following error when I start FreeRadius... ... sql/mysql/counter.conf Why? The default sqlcount

Re: sqlcounter instance not found in modules section

2012-10-02 Thread Alan DeKok
Fajar A. Nugraha wrote: > I think he might got confused because there are > raddb/sql/mysql/counter.conf and raddb/sql/postgresql/counter.conf, as > well as raddb/modules/sqlcounter_expire_on_login. OK... and the modules are in the raddb/modules directory. > Perhaps we should add a small instru

Re: sqlcounter instance not found in modules section

2012-10-02 Thread Fajar A. Nugraha
On Tue, Oct 2, 2012 at 6:47 PM, Alan DeKok wrote: > Russell Stockhammer wrote: >> I'm trying to create a new sqlcounter instance that counts octets. I think >> what I've done is correct but I get the following error when I start >> FreeRadius... >> > ... >> sql/mysql/counter.conf > >

Re: sqlcounter instance not found in modules section

2012-10-02 Thread Alan DeKok
Russell Stockhammer wrote: > I'm trying to create a new sqlcounter instance that counts octets. I think > what I've done is correct but I get the following error when I start > FreeRadius... > ... > sql/mysql/counter.conf Why? The default sqlcounter file is in raddb/modules. Put th