RE: Freeradius+mysql error

This is a discussion on RE: Freeradius+mysql error within the FreeRADIUS Users forums, part of the Networking and Network Related category; Well I have installed the following things of my sql.The things are the following. rpm -q mysql--it is ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-31-2005
Rupak
 
Posts: n/a
Default RE: Freeradius+mysql error


Well I have installed the following things of my sql.The things are the
following.
rpm -q mysql--it is installed
rpm -q mysql-server--it is installed
rpm -q mysql-devel---it is installed.
These packages were installed from redhat9.But when I start the service
Service mysqld start/status it says "mysqld dead but subsys locked.what
may be the problem?.



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.


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



--
Kamran Bukhari

-



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:18 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0