Freeradius+mysql error

Kamran Bukhari kamranbukhari at gmail.com
Tue May 31 09:30:25 CEST 2005


Try installing the Mysql rpm separately and then check wether ur MySQL
is running correctly or not.
Try this tweak,hope it will clear the mess.


On 6/1/05, Rupak <rupak at sns.com.np> wrote:
> 
> Thank you for the reply I think I have compiled free radius with mysql
> support because I had installed it --with-experimental-modules.Now if I
> start the sql server by giving the command "mysql -u root -p rootpass radius
> < db_mysql.sql" then it returns me with the following error
> 
> Error 2002: can't connect to local mysql server through socket
> /var/lib/mysql/mysql.sock (111)
> 
> What may be the problem.The following is my radius.conf for "authorize and
> accounting section
> 
> authorize {
>  preprocess
>       #       counter
> #       attr_filter
> #       eap
>        suffix
>        sql
>        files
> #       mschap
> }
> 
> accounting {
>        #       acct_unique
>        detail
> #       counter
>        unix
>        sql
>        radutmp
> #       sradutmp
> }
> 
> and I have not commented the default values.Will make any problem?.
> 
> 
> 
> 
> On Mon, May 30, 2005 at 04:23:24PM -0700, Rupak wrote:
> > rlm_sql (sql): Could not link driver rlm_sql_mysql: file not found
> > 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.
> 
> Compile freeradius with MySQL support, or alternatively get a RPM which
> already
> have this support compiled into it.
> 
> --
> Chris.
> 
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
> 
> __________ NOD32 1.1111 (20050527) Information __________
> 
> This message was checked by NOD32 antivirus system.
> http://www.nod32.com
> 
> 
> 
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
> 


-- 
Kamran Bukhari




More information about the Freeradius-Users mailing list