Freeradius with daily counter

Fajar A. Nugraha list at fajar.net
Tue Jul 15 13:25:29 CEST 2014


On Tue, Jul 15, 2014 at 5:59 PM, Ali Jawad <alijawad1 at gmail.com> wrote:
> counter daily {
>
>         filename = ${db_dir}/db.daily


> rlm_counter: Failed to open file /etc/raddb/db.daily: Permission denied
>
> /etc/raddb/modules/counter[71]: Instantiation failed for module "daily"

> What strikes me as weird is  why does freeradius try to look in db.daily
> which does not exist, instead of the MySQL table radacct ?

counter -> store data in a file (gdbm)
sqlcounter -> use accounting data stored in sql


> Any pointers in the right directions please?

Try http://wiki.freeradius.org/modules/Rlm_sqlcounter

-- 
Fajar


More information about the Freeradius-Users mailing list