db.counter not found!

Enrique Llanos V. ellanosv at gmail.com
Wed Feb 14 23:11:30 CET 2007


Dudes, i have this piece of configuration on radiusd.conf:

...
 counter {
                filename = ${raddbdir}/db.counter
                key = User-Name
                count-attribute = Acct-Session-Time
                reset = daily
                counter-name = Daily-Session-Time
                check-name = Max-Daily-Session
                #allowed-servicetype = Framed-User
                allowed-servicetype = NAS-Prompt-User
                cache-size = 5000
        }
...

And of course in my raddb (freeradius) path:

bash-2.05b# locate db.counter
/usr/local/etc/raddb/db.counter

Yet when i start freeradius i obtain this error:

bash-2.05b# tail -f /var/log/radius.log
Wed Feb 14 17:02:40 2007 : Info: Using deprecated naslist file.
Support for this will go away soon.
Wed Feb 14 17:02:40 2007 : Info: Using deprecated clients file.
Support for this will go away soon.
Wed Feb 14 17:02:40 2007 : Error: rlm_counter: Failed to open file
/usr/local/etc/raddb/db.counter: No such file or directory
Wed Feb 14 17:02:40 2007 : Error: radiusd.conf[917]: counter: Module
instantiation failed.
Wed Feb 14 17:02:40 2007 : Error: radiusd.conf[1053] Unknown module "counter".
Wed Feb 14 17:02:40 2007 : Error: radiusd.conf[1050] Failed to parse
accounting section.

Any ideas in how to correct this error?

Thanks in advance.

Enrique.

-- 
Enrique Llanos V.
HTU Networks Peru
www.htu.com.pe



More information about the Freeradius-Users mailing list