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

hsuan hsuan at nchc.org.tw
Thu Nov 6 11:08:52 CET 2008


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=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





More information about the Freeradius-Users mailing list