champs1234 |
10-13-2010 07:26 AM |
Problem backing radius server logs to database
Iam having problems in storing radius server logs to mysql database, though they are easily logged to files.
I want to log all the fail logs in a mysql database table. For this i have included sql in Post-Auth-Type REJECT section of post-auth section of radiusd.conf
Quote:
post-auth {
Post-Auth-Type REJECT {
sql
}
}
|
and following line in sql.conf
Quote:
postauth_query = "Here is my sql command "
|
But whenever i try to start the radius server it fails giving the following error :
Quote:
Error: radiusd.conf: "SQL" modules aren't allowed in 'post-auth' sections -- they have no such method.
|
Iam using freeradius please help.
Thanks
|