On Fri, 19 Mar 2004 [EMAIL PROTECTED] wrote:

> 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 ?

So is mysql located in /usr/bin/mysql?
Is it executable?

>
> Thanks,
> Sagar
>
>
>

--
Kostas Kalevras         Network Operations Center
[EMAIL PROTECTED]       National Technical University of Athens, Greece
Work Phone:             +30 210 7721861
'Go back to the shadow' Gandalf

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to