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
Enrique Llanos V. wrote:
And of course in my raddb (freeradius) path:
bash-2.05b# locate db.counter /usr/local/etc/raddb/db.counter
"locate" uses a database that is updated daily. So if the file disappears, locate doesn't notice. Use "ls" instead.
Yet when i start freeradius i obtain this error: ... 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 ... Any ideas in how to correct this error?
Ensure that the /usr/local/etc/raddb directory exists, and readable by radiusd. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
HI, i do the following: bash-2.05b# ls -l /usr/local/etc/raddb/db.counter -rw------- 1 root wheel 24576 Nov 21 2003 /usr/local/etc/raddb/db.counter bash-2.05b# ls -l /usr/local/etc/ ... drwxr-xr-x 5 root wheel 1536 Feb 14 12:09 raddb ... and in /etc/rc.conf radiusd_enable="YES" The radius is a migration from RedHat 7.3 to freeBSD6.1, i just copied the files from one to other system and want 'at least' to start the service (as a backup service). Still appearing the db.counter error, any suggestions? Thanks in advance. Enrique Llanos V. On 2/14/07, Alan DeKok <aland@deployingradius.com> wrote:
Enrique Llanos V. wrote:
And of course in my raddb (freeradius) path:
bash-2.05b# locate db.counter /usr/local/etc/raddb/db.counter
"locate" uses a database that is updated daily. So if the file disappears, locate doesn't notice.
Use "ls" instead.
Yet when i start freeradius i obtain this error: ... 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 ... Any ideas in how to correct this error?
Ensure that the /usr/local/etc/raddb directory exists, and readable by radiusd.
Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Enrique Llanos V. HTU Networks Peru www.htu.com.pe Nextel del Peru www.nextel.com.pe e666.invazores.org/blog/ www.fotolog.com/e666
Hi, On 2/15/07, A.L.M.Buxey@lboro.ac.uk <A.L.M.Buxey@lboro.ac.uk> wrote:
Hi,
bash-2.05b# ls -l /usr/local/etc/raddb/db.counter -rw------- 1 root wheel 24576 Nov 21 2003 /usr/local/etc/raddb/db.counter
drwxr-xr-x 5 root wheel 1536 Feb 14 12:09 raddb
right. so root is okay. do you run radiusd as root?
As for what i know yes, it runs as root by default on freeBSD systems, any ideas on this matter?
alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Thanks in advance, Enrique -- Enrique Llanos V. HTU Networks Peru www.htu.com.pe Nextel del Peru www.nextel.com.pe e666.invazores.org/blog/ www.fotolog.com/e666
participants (3)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
Enrique Llanos V.