ok i start the freeradius with freeradius -x and i have this error:

Can't load '/usr/lib/perl5/auto/DBI/DBI.so' for module DBI:
/usr/lib/perl5/auto/DBI/DBI.so: undefined symbol: PL_memory_wrap at
/usr/lib/perl/5.12/DynaLoader.pm line 192.

I read in another post that is an error because i use dbi of perl... so i
started freeradius with:

LD_PRELOAD=/usr/lib/libperl.so.5.12.4 freeradius -X

in this way freeradius daemon starts but in the freeradius log i have this:
Thu Apr 19 18:27:55 2012 : Info: Loaded virtual server inner-tunnel
Thu Apr 19 18:27:55 2012 : Error: rlm_perl: perl_parse failed:
/etc/freeradius/example.pl not found or has syntax errors.
Thu Apr 19 18:27:55 2012 : Error: /etc/freeradius/modules/perl[7]:
Instantiation failed for module "perl"
Thu Apr 19 18:27:55 2012 : Error:
/etc/freeradius/sites-enabled/default[265]: Failed to load module "perl".
Thu Apr 19 18:27:55 2012 : Error:
/etc/freeradius/sites-enabled/default[265]: Failed to parse "perl" entry.
Thu Apr 19 18:27:55 2012 : Error: Failed to load virtual server <default>

i test the perl script without freeradius variables and it works

El 19 de abril de 2012 10:56, alan buxey <[email protected]> escribió:

> Hi,
>
> >    Hi... I worked in my perl script... i did the conection to the web
> service
> >    and it works... I configure freeradius (add perl and sql) in auth
> section,
> >    I made a debug with freeradius -X but I don�t know if freeradius read
> the
> >    perl script before work with mysql... i have this output:
>
> the logs show the perl being called before the sql...and the sql failing
> with
> usuario userid not being found
>
>
> alan
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>



-- 
Fabricio A. Flores G.
Egresado en Ingeniería en Sistemas

MSN: [email protected]
Google: [email protected]
Twitter: fabricioflores
Skype: fabriciofloresgallardo

Blog Personal <http://fabricioflores.wordpress.com/>
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to