freeradius mysql configuration problem

Ivan Kalik tnt at kalik.net
Tue Jun 9 13:02:25 CEST 2009


> grep mysql_config" still remains as follows:
> ....
> ....
> configure: WARNING: silently not building rlm_sql_iodbc.
> configure: WARNING: FAILURE: rlm_sql_iodbc requires: libiodbc isql.h.
> checking for mysql_config... no
> configure: WARNING: silently not building rlm_sql_postgresql.
> configure: WARNING: FAILURE: rlm_sql_postgresql requires:  libpq-fe.h
> libpq.
> configure: WARNING: oracle headers not found.  Use
> --with-oracle-home-dir=<path>.
> configure: WARNING: silently not building rlm_sql_oracle.
> configure: WARNING: FAILURE: rlm_sql_oracle requires: oci.h.
> configure: WARNING: silently not building rlm_sql_unixodbc.
> configure: WARNING: FAILURE: rlm_sql_unixodbc requires: libodbc sql.h.
>
> I am not able to conclude whether mysql support has been completely
> installed.Please can anyone help me out?

Read the debug:

> rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and
> linked
> rlm_sql (sql): Attempting to connect to radius at localhost:/radius
> rlm_sql (sql): starting 0
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #0
> rlm_sql_mysql: Starting connect to MySQL server for #0
> rlm_sql (sql): Connected new DB handle, #0
> rlm_sql (sql): starting 1
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #1
> rlm_sql_mysql: Starting connect to MySQL server for #1
> rlm_sql (sql): Connected new DB handle, #1
> rlm_sql (sql): starting 2
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #2
> rlm_sql_mysql: Starting connect to MySQL server for #2
> rlm_sql (sql): Connected new DB handle, #2
> rlm_sql (sql): starting 3
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #3
> rlm_sql_mysql: Starting connect to MySQL server for #3
> rlm_sql (sql): Connected new DB handle, #3
> rlm_sql (sql): starting 4
> rlm_sql (sql): Attempting to connect rlm_sql_mysql #4
> rlm_sql_mysql: Starting connect to MySQL server for #4
> rlm_sql (sql): Connected new DB handle, #4

It has.

> Is it possible to use mysql support only for accounting purposes without
> using it for authentication and authorization purposes?

Yes. List it where you want it (and don't list it where you don't).

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list