Problem with rlm_perl

Boian Jordanov bjordanov at orbitel.bg
Wed Jul 12 10:08:45 CEST 2006


Hi 
please use mailing list instead of writing to me directly.

Regarding the trouble try reinstalling the Data::Dumper module and check that 
it is linked with correct perl library.
 
On Wednesday 12 July 2006 03:09, you wrote:
> Hello!
>
> I have a problem with rlm_perl.
>
> My Linux box is Debian Sarge (perl 5.8.4-8sarge4 from Debian packages),
> with FreeRADIUS 1.1.2 compiled from source (using debian/rules).
>
> Debug output from freeradius is:
>
> Wed Jul 12 02:07:28 2006 : Debug: Module: Loaded perl
> Wed Jul 12 02:07:28 2006 : Debug:  perl: module = "/root/bin/alfatelkom.pm"
> Wed Jul 12 02:07:28 2006 : Debug:  perl: func_authorize = "authorize"
> Wed Jul 12 02:07:28 2006 : Debug:  perl: func_authenticate = "authenticate"
> Wed Jul 12 02:07:28 2006 : Debug:  perl: func_accounting = "accounting"
> Wed Jul 12 02:07:28 2006 : Debug:  perl: func_preacct = "preacct"
> Wed Jul 12 02:07:28 2006 : Debug:  perl: func_checksimul = "checksimul"
> Wed Jul 12 02:07:28 2006 : Debug:  perl: func_detach = "detach"
> Wed Jul 12 02:07:28 2006 : Debug:  perl: func_xlat = "xlat"
> Wed Jul 12 02:07:28 2006 : Debug:  perl: func_pre_proxy = "pre_proxy"
> Wed Jul 12 02:07:28 2006 : Debug:  perl: func_post_proxy = "post_proxy"
> Wed Jul 12 02:07:28 2006 : Debug:  perl: func_post_auth = "post_auth"
> Wed Jul 12 02:07:28 2006 : Debug:  perl: perl_flags = "(null)"
> Wed Jul 12 02:07:28 2006 : Debug:  perl: func_start_accounting = "(null)"
> Wed Jul 12 02:07:28 2006 : Debug:  perl: func_stop_accounting = "(null)"
> Can't load '/usr/lib/perl/5.8/auto/Data/Dumper/Dumper.so' for module
> Data::Dumper: /usr/lib/perl/5.8/auto/Data/Dumper/Dumper.so: undefined
> symbol: Perl_sv_cmp at /usr/lib/perl/5.8/XSLoader.pm line 68. at
> /usr/lib/perl/5.8/Data/Dumper.pm line 27
> Compilation failed in require at /root/bin/alfatelkom.pm line 30.
> BEGIN failed--compilation aborted at /root/bin/alfatelkom.pm line 30.
> Wed Jul 12 02:07:28 2006 : Error: rlm_perl: perl_parse failed:
> /root/bin/alfatelkom.pm not found or has syntax errors. Wed Jul 12 02:07:28
> 2006 : Error: radiusd.conf[540]: perl: Module instantiation failed. Wed Jul
> 12 02:07:28 2006 : Error: radiusd.conf[1747] Unknown module "perl". Wed Jul
> 12 02:07:28 2006 : Error: radiusd.conf[1746] Failed to parse authenticate
> section.
>
> Thanks in advance,
>    Ivan Rako
>    University Computing Centre, Zagreb

-- 
Best Regards,
Boian Jordanov
SNE
Orbitel - Next Generation Telecom
tel. +359 2 4004 723
tel. +359 2 4004 002



More information about the Freeradius-Users mailing list