Perl, MySQL & auth

Fabricio Flores fabrifloresg at
Fri Apr 20 02:12:36 CEST 2012

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

Can't load '/usr/lib/perl5/auto/DBI/' for module DBI:
/usr/lib/perl5/auto/DBI/ undefined symbol: PL_memory_wrap at
/usr/lib/perl/5.12/ 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/ 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/ 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 <A.L.M.Buxey at> 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

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

MSN: fabri_floresg at
Google: fabrifloresg at
Twitter: fabricioflores
Skype: fabriciofloresgallardo

Blog Personal <>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list