Hi All,

 

I am trying to use dialup_admin/bin/clean_radacct to clear dangling User sessions.

When I fire following Command it returns an error

 

[[EMAIL PROTECTED] bin]# ./clean_radacct

Could not find mysql binary. Please make sure that the $mysql variable points to the right location 

 

I have configured admin.conf with following details…

 

#

# mysq: MySQL database (port 3306)

#

sql_type: mysql

sql_server: localhost

sql_port: 3306

sql_username: root

sql_password: rootpass

sql_database: radius

sql_accounting_table: radacct

sql_badusers_table: badusers

sql_check_table: radcheck

sql_reply_table: radreply

sql_user_info_table: userinfo

sql_groupcheck_table: radgroupcheck

sql_groupreply_table: radgroupreply

sql_usergroup_table: usergroup

sql_total_accounting_table: totacct

#

# This variable is used by the scripts in the bin folder

# It should contain the path to the sql binary used to run

# sql commands (mysql is only supported for now)

sql_command: /usr/bin/mysql

 

 

What is wrong here ?

 

Thanks,
Sagar

 

 

Reply via email to