Hey Ram,<br><br>Check what versions of the freeradius rlm perl you have and the<br>versions of your installed perl packages.<br><br><br>Regards,<br>Liran Tal.<br><br><div class="gmail_quote">On Dec 27, 2007 9:37 AM, Ram Akuka <
<a href="mailto:ramakuka@gmail.com">ramakuka@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>i trying to configure mac-address authentication system with FreeRadius
<br>and FreeNAC.<br>after installing the FreeRadius and FreeNAC (ubuntu 7.10) i added the<br>following to the Radius configuration:<br><br>modules:<br><br>perl check_mac {<br> module = "/opt/nac/bin/rad2vmps"
<br>}<br>authorize:<br><br># Enable MAC lookup via VMPS: collect request data from radius<br>check_mac<br>authenticate:<br><br>Auth-Type MAC-Auth-Bypass {<br> check_mac<br>}<br><br>post-auth<br><br># Enable MAC lookup via VMPS: query vmps and assign vlan or deny
<br>check_mac<br><br><br>when trying to start the radius server i get the following error:<br># /etc/init.d/freeradius start<br>* Starting FreeRADIUS daemon<br>freeradius<br>Thu Dec 27 10:28:34 2007 : Info: Starting - reading configuration files ...
<br>/usr/sbin/freeradius: symbol lookup error:<br>/usr/lib/perl/5.8/auto/Fcntl/Fcntl.so: undefined symbol: Perl_Tstack_sp_ptr<br><br>[ OK ]<br>when trying to run the rad2vmps script independently is working fine,<br><br>heres some details :
<br><br># freeradius -version<br>freeradius: FreeRADIUS Version 1.1.6, for host i486-pc-linux-gnu, built<br>on Jun 8 2007 at 17:17:46<br>Copyright (C) 2000-2007 The FreeRADIUS server project.<br><br>perl -V<br>Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
<br> Platform:<br> osname=linux, osvers=<a href="http://2.6.15.7" target="_blank">2.6.15.7</a>, archname=i486-linux-gnu-thread-multi<br> uname='linux terranova <a href="http://2.6.15.7" target="_blank">2.6.15.7</a>
#1 smp thu jul 12 14:27:56 utc 2007<br>i686 gnulinux '<br> config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN<br>-Dcccdlflags=-fPIC -Darchname=i486-linux-gnu -Dprefix=/usr<br>-Dprivlib=/usr/share/perl/5.8 -Darchlib=/usr/lib/perl/5.8
<br>-Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5<br>-Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local<br>-Dsitelib=/usr/local/share/perl/5.8.8<br>-Dsitearch=/usr/local/lib/perl/5.8.8 -Dman1dir=/usr/share/man/man1<br>
-Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1<br>-Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl<br>-Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Uusenm<br>-Duseshrplib -Dlibperl=
libperl.so.5.8.8 -Dd_dosuid -des'<br> hint=recommended, useposix=true, d_sigaction=define<br> usethreads=define use5005threads=undef useithreads=define<br>usemultiplicity=define<br> useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
<br> use64bitint=undef use64bitall=undef uselongdouble=undef<br> usemymalloc=n, bincompat5005=undef<br> Compiler:<br> cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS<br>-DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include
<br>-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',<br> optimize='-O2',<br> cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN<br>-fno-strict-aliasing -pipe -I/usr/local/include'<br> ccversion='', gccversion='
4.1.3 20070929 (prerelease) (Ubuntu<br>4.1.2-16ubuntu2)', gccosandvers=''<br> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234<br> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
<br> ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',<br>lseeksize=8<br> alignbytes=4, prototype=define<br> Linker and Libraries:<br> ld='cc', ldflags =' -L/usr/local/lib'
<br> libpth=/usr/local/lib /lib /usr/lib<br> libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt<br> perllibs=-ldl -lm -lpthread -lc -lcrypt<br> libc=/lib/libc-<a href="http://2.6.1.so" target="_blank">2.6.1.so
</a>, so=so, useshrplib=true,<br>libperl=libperl.so.5.8.8<br> gnulibc_version='2.6.1'<br> Dynamic Linking:<br> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'<br> cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'
<br><br><br>Characteristics of this binary (from libperl):<br> Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT<br> PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_ITHREADS<br> USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
<br> Built under linux<br> Compiled at Sep 29 2007 05:57:38<br> @INC:<br> /etc/perl<br> /usr/local/lib/perl/5.8.8<br> /usr/local/share/perl/5.8.8<br> /usr/lib/perl5<br> /usr/share/perl5<br> /usr/lib/perl/5.8<br>
/usr/share/perl/5.8<br> /usr/local/lib/site_perl<br><br><br>uname -a<br>Linux XXXXXX 2.6.22-14-generic #1 SMP Tue Dec 18 08:02:57 UTC 2007 i686<br>GNU/Linx<br><br><br>any ideas how can i fix this ?<br><br><br>thanks in advance
<br><font color="#888888"><br><br>--<br>Ram<br>-<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><br></font></blockquote>
</div><br>