use freeeradius 3.0.2 with sqlite fail when loading modules

Arran Cudbard-Bell a.cudbardb at freeradius.org
Wed Apr 2 08:31:53 CEST 2014


On 2 Apr 2014, at 02:33, kids67.tw <kids67.tw at yahoo.com.tw> wrote:

> Dear Sir,
> 
> I complier freeradius 3.0.2 with sqlite enable and complier successful.
> But when I run ./radiusd -XC -d ./raddb/ then display below error
> 
> ......
>   # Instantiating module "linelog" from file ./raddb//mods-enabled/linelog
>   linelog {
>         filename = "/home/saxontseng/senao_ source/ap_controller/ freeradius/install/LINUX/var/ log/radius/linelog"
>         permissions = 384
>         format = "This is a log message for %{User-Name}"
>         reference = "%{%{Packet-Type}:-format}"
>   }
> ./raddb//mods-enabled/sql[26]: Failed to link to module 'rlm_sqlite': rlm_sqlite.so: cannot open shared object file: No such file or directory
> 
> And after I check I find only have "rlm_sql_sqlite.so", not find any rlm_sqlite.so.
> 
> I just modify site-enable/default and mod-available/sql, make ln to mod-enabled/sql
> below is my diff with those two config file

You move the sqlite section into the sql section before uncommenting it.

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/mailman/private/freeradius-users/attachments/20140402/f75edc24/attachment.pgp>


More information about the Freeradius-Users mailing list