radiusd -x gives error "Errorsreading /usr/local/etc/raddb/radiusd.conf"

hsuan hsuan at nchc.org.tw
Thu Nov 6 12:24:31 CET 2008


Hi all :

How can I to install mysql-libs ? 

Thanks for any help

Regards
Vicky

 

From: freeradius-users-bounces+hsuan=nchc.org.tw at lists.freeradius.org
[mailto:freeradius-users-bounces+hsuan=nchc.org.tw at lists.freeradius.org] On
Behalf Of Yawar Hadi
Sent: Thursday, November 06, 2008 7:17 PM
To: FreeRadius users mailing list
Subject: Re: radiusd -x gives error "Errorsreading
/usr/local/etc/raddb/radiusd.conf"

 

you must have to install mysql 
mysql-libs
mysql-devel
in order to add support of mysql
before compiling freeradius



On Thu, Nov 6, 2008 at 3:08 PM, hsuan <hsuan at nchc.org.tw> wrote:

Hi all :
When I delete the file rlm_sql.so(/usr/local/etc/raddb/modules),then I start

the radius server using radiusd -x i get the following message :



Could not link driver rlm_sql_mysql: rlm_sql_mysql.so: cannot open shared
object
file: No such file or directory
Make sure it (and all its dependent libraries!) are in the search path of
your s
ystem's ld.
/usr/local/etc/raddb/sql.conf[22]: Instantiation failed for module "sql"
/usr/local/etc/raddb/sites-enabled/default[152]: Failed to find module
"sql".
/usr/local/etc/raddb/sites-enabled/default[62]: Errors parsing authorize
section
.
 }
Errors initializing modules


What's the problem ? how can I to solve the problem ?

Thanks for any help

Regards
Vicky

-----Original Message-----
From: freeradius-users-bounces+hsuan=nchc.org.tw at lists.freeradius.org
[mailto:freeradius-users-bounces+hsuan
<mailto:freeradius-users-bounces%2Bhsuan> =nchc.org.tw at lists.freeradius.org]
On

Behalf Of tnt at kalik.net
Sent: Thursday, November 06, 2008 5:47 PM
To: FreeRadius users mailing list

Subject: RE: radiusd -x gives error "Errorsreading
/usr/local/etc/raddb/radiusd.conf"

>including configuration file /usr/local/etc/raddb/modules/etc_group
>
>including configuration file /usr/local/etc/raddb/modules/wimax
>
>including configuration file /usr/local/etc/raddb/modules/detail
>
>including configuration file /usr/local/etc/raddb/modules/pap
>
>including configuration file /usr/local/etc/raddb/modules/expiration
>
>including configuration file /usr/local/etc/raddb/modules/digest
>
>including configuration file /usr/local/etc/raddb/modules/mac2ip
>
>including configuration file /usr/local/etc/raddb/modules/rlm_sql.so
>
>/usr/local/etc/raddb/modules/rlm_sql.so[31]: Expecting section start brace
>'{' after "; P"
>

What is rlm_sql.so doing in /modules directory? It shouldn't be there.
That directory is for module configuration files.

Ivan Kalik
Kalik Informatika ISP

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


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




-- 
Best regards 

Yawar Hadi Noshahi
 QAU Islamabad 
(+92-0300-5504798)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20081106/dde72e8f/attachment.html>


More information about the Freeradius-Users mailing list