freeradius2.1.6 module errors
ramesh p
rock786143 at gmail.com
Tue Aug 11 09:20:30 CEST 2009
Hi All,
I have placed a small module "IGNORE" to ignore packets other than "Stop"
type.
modified acct_users file as:
DEFAULT Acct-Status-Type == "Tunnel-Stop", Acct-Type := "IGNORE"
DEFAULT Acct-Status-Type == "Tunnel-Start", Acct-Type := "IGNORE"
DEFAULT Acct-Status-Type == "Start", Acct-Type := "IGNORE"
DEFAULT Acct-Status-Type == "Failed", Acct-Type := "IGNORE"
#DEFAULT Acct-Status-Type == "Checkpoint", Acct-Type := "IGNORE"
DEFAULT Acct-Status-Type == "Accounting-On", Acct-Type := "IGNORE"
DEFAULT Acct-Status-Type == "Accounting-Off", Acct-Type := "IGNORE"
DEFAULT Acct-Status-Type == "Tunnel-Reject", Acct-Type := "IGNORE"
DEFAULT Acct-Status-Type == "Tunnel-Link-Start", Acct-Type := "IGNORE"
DEFAULT Acct-Status-Type == "Tunnel-Link-Stop", Acct-Type := "IGNORE"
DEFAULT Acct-Status-Type == "Tunnel-Link-Reject", Acct-Type := "IGNORE"
and added the following in accounting section of main configuration file :
Acct-Type IGNORE {
ok
}
The above configuration was working in 1.1.6 version. However getting
following error in 2.1.6 version.
Module: Instantiating files
files {
usersfile = "/usr/local/fnmt/freeradius2//etc/raddb/users"
acctusersfile = "/usr/local/fnmt/freeradius2//etc/raddb/acct_users"
preproxy_usersfile =
"/usr/local/fnmt/freeradius2//etc/raddb/preproxy_users"
compat = "no"
}
/usr/local/fnmt/freeradius2//etc/raddb/acct_users[25]: Parse error (check)
for entry DEFAULT: Unknown value IGNORE for attribute Acct-Type
Errors reading /usr/local/fnmt/freeradius2//etc/raddb/acct_users
/usr/local/fnmt/freeradius2//etc/raddb/modules/files[7]: Instantiation
failed for module "files"
please help.
Thanks,
Rams.
Please help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090811/c31a18ad/attachment.html>
More information about the Freeradius-Users
mailing list