Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    FreeRADIUS and MySQL

    I have a fedora 3 installation. I installed FreeRADIUS and dialup_admin and everything seems to work but when FreeRADIUS tries to communicate with MySQL I get the message "Could not connect to sql database". Note that MySQL is running. Having installed everything from fedora distribution what is the problem?

  2. #2

    me too have a same requirement..

    When i am tried radusd -X then i received the message like

    [FONT="Courier New"]sql: postauth_query = "INSERT into radpostauth (id, user, pass, reply, date) values ('', '%{User-Name}', '%{User-Password:-Chap-Password}', '%{reply:Packet-Type}', NOW())"
    sql: safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUV WXYZ0123456789.-_: /"
    rlm_sql (sql): Could not link driver rlm_sql_mysql: cannot open shared object file: No such file or directory
    rlm_sql (sql): Make sure it (and all its dependent libraries!) are in the search path of your system's ld.
    radiusd.conf[14]: sql: Module instantiation failed.
    radiusd.conf[1825] Unknown module "sql".
    radiusd.conf[1753] Failed to parse authorize section.

    Can anybody solve this problem???


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts