ok i start the freeradius with freeradius -x and i have this error:<div><div><br></div><div>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.</div>
<div><br></div><div>I read in another post that is an error because i use dbi of perl... so i started freeradius with:</div><div><div><br></div><div>LD_PRELOAD=/usr/lib/libperl.so.5.12.4 freeradius -X</div></div><div><br>
</div><div>in this way freeradius daemon starts but in the freeradius log i have this:</div><div><div>Thu Apr 19 18:27:55 2012 : Info: Loaded virtual server inner-tunnel</div><div>Thu Apr 19 18:27:55 2012 : Error: rlm_perl: perl_parse failed: /etc/freeradius/<a href="http://example.pl">example.pl</a> not found or has syntax errors. </div>
<div>Thu Apr 19 18:27:55 2012 : Error: /etc/freeradius/modules/perl[7]: Instantiation failed for module "perl"</div><div>Thu Apr 19 18:27:55 2012 : Error: /etc/freeradius/sites-enabled/default[265]: Failed to load module "perl".</div>
<div>Thu Apr 19 18:27:55 2012 : Error: /etc/freeradius/sites-enabled/default[265]: Failed to parse "perl" entry.</div><div>Thu Apr 19 18:27:55 2012 : Error: Failed to load virtual server <default></div></div>
<div><br></div><div>i test the perl script without freeradius variables and it works</div><br><div class="gmail_quote">El 19 de abril de 2012 10:56, alan buxey <span dir="ltr"><<a href="mailto:A.L.M.Buxey@lboro.ac.uk">A.L.M.Buxey@lboro.ac.uk</a>></span> escribió:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<div class="im"><br>
> Hi... I worked in my perl script... i did the conection to the web service<br>
> and it works... I configure freeradius (add perl and sql) in auth section,<br>
> I made a debug with freeradius -X but I don�t know if freeradius read the<br>
> perl script before work with mysql... i have this output:<br>
<br>
</div>the logs show the perl being called before the sql...and the sql failing with<br>
usuario userid not being found<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
alan<br>
</font></span><div class="HOEnZb"><div class="h5">-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>
Fabricio A. Flores G.<br>Egresado en Ingeniería en Sistemas<br><br>MSN: <a href="mailto:fabri_floresg@hotmail.com" target="_blank">fabri_floresg@hotmail.com</a><br>Google: <a href="mailto:fabrifloresg@gmail.com" target="_blank">fabrifloresg@gmail.com</a><br>
Twitter: fabricioflores<br>Skype: fabriciofloresgallardo<br><br><a href="http://fabricioflores.wordpress.com/" target="_blank">Blog Personal</a><br><br>
</div>