rlm_sqlippool load failure

Peter Nixon listuser at peternixon.net
Thu Oct 19 08:44:16 CEST 2006


On Thu 19 Oct 2006 09:14, Francisco Gimeno wrote:
> Hello!
>
> This is my first post in the list, so please excuse any eventual problem I
> could cause.
>
> I'm running a FreeRadius 1.1.3 server with the Debian patches and a little
> patch I made to correct the NAS-Port known behaviour for fixed NAS-Port.

You shouldn't need any patches for that. sqlippool handles fixed ports. Check 
the config file.

> I would like to test the rlm_sqlippool module, but I can't get it work. I
> finally got it compiled using this settings:

-snip-

> I do the Auth with LDAP, and I have enabled in accounting and post-auth
> sections the sqlippool module.
> As I don't see the way to configure the sql settings, I finally added the
> postgresql.conf provided file with my customized settings (db, dbuser,
> dbpasword, dbhost, and so... ). I wouldn't like to enable it, but I don't
> find any other way to "configure" those settings.

Thats correct.

-snip-

> rlm_sql (sql): Attempting to connect rlm_sql_postgresql #3
> rlm_sql (sql): Connected new DB handle, #3
> rlm_sql (sql): starting 4
> rlm_sql (sql): Attempting to connect rlm_sql_postgresql #4
> rlm_sql (sql): Connected new DB handle, #4
> Module: Instantiated sql (sql)
> freeradius: relocation error: /usr/lib/freeradius/rlm_sqlippool-1.1.3.so:
> undefined symbol: sql_get_socket
>
> ----------------
>
> The strange thing is that the sql module seems initialized, but sqlippool
> doesn't load.
> I looked the sql_get_socket function over the code, and I found it in the
> sql.c file in the rlm_sql module. Furthermore, I see that function being
> compiled and linked in the rlm_sql.so file as it's shown here:
> ---------
> [08:11:33]
> fgd at myBox:/home/fgd/src/freeradius-1.1.3/src/modules/rlm_sql/.libs# nm
> rlm_sql.so | grep sql_get_socket
> 000047f0 T sql_get_socket
> ---------
>
> I don't know how to force it to be loaded... any hint?

I have not seen this error before. Alan? Any ideas?

Cheers
-- 

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20061019/b2927984/attachment.pgp>


More information about the Freeradius-Users mailing list