Yeah, you need to define the instance as:
exec execbill {
}
See Also "exec echo" just below "exec". As I understand it, that's
how you say, "I'm defining an exec module called 'execbill'."
(IMHO, the default config could eliminate some of this frequent
confusion if it were changed to, say, "ldap ldap-module" instead of
just "ldap", "sql sql-module" instead of just "sql". Unless there's a
reason for not doing so because of the codebase.)
On Jun 21, 2008, at 7:24 PM, Pete Kay wrote:
Hi,
I don't know this is right or not, here is what I did:
1. Add the following cluase to the module section of radiusd.conf:
execbill {
program = "lua /home/anne/billing.lua %{Acct-Session-Id}"
input_pairs = request
output_pairs = reply
}
2. Add execbill under the accounting section of sites-available/
default
accounting {
detail
radutmp
sql
sql_log
attr_filter.accounting_response
execbill
}
When I started radiux-X, I am getting the following error:
/usr/local/etc/raddb/radiusd.conf[604]: Failed to link to module
'rlm_execbill': rlm_execbill.so: cannot open shared object file: No
such file or directory
/usr/local/etc/raddb/sites-enabled/default[355]: Failed to find
module "execbill".
/usr/local/etc/raddb/sites-enabled/default[314]: Errors parsing
accounting section.
}
}
Errors initializing modules
What did I do wrong?
Thanks alot for all your help.
Regards,
Pete
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html