Hi Hugh Running Radiator in the foreground, I see an additional perl related (?) error line:
-- . . . Authentic: CeK<200>XQ<255><142><136>><243><145><172>$x<248> Attributes: Fri Nov 4 10:33:34 2011: ERR: Attribute number 93 is not defined in your dictionary 'x' outside of string in unpack at /usr/local/lib/perl5/site_perl/5.12.3/Radius/Radius.pm line 1931. -- Looking at my 2 dictionaries, attribute 93 seems to have various definitions: (dictionary) --- VENDORATTR 1584 Annex-Rate-Reneg-Req-Rcvd 93 integer VENDORATTR 2352 RB-Remote-Port 93 string VENDORATTR 5535 3GPP2-Acct-Stop-Trigger 93 integer --- (dictionary.acme) --- VENDORATTR 9148 Acme-Flow-In-Src-Addr_FS2_F 93 ipaddr Acme --- I'm not sure which would be the overriding definition ? Additionally, I have another FreeBSD server (8.2-RELEASE-p3 #1) running radiator 4.8 (same source package), using the same dictionaries, with perl version 5.12.4, but it's running fine. I've even upgraded the current perl on this system to 5.12.4, but that incremental change didn't have an effect. I'd be grateful for any additional insights you might have. Thanks, Traiano On 2011/11/03 10:35 PM, "Hugh Irvine" <[email protected]> wrote: > >Hello Traiano - > >I suggest you add the dictionary definition as below, and then run >radiusd by hand from the command line and repeat your tests. > >It looks like Perl itself is crashing and you will see the Perl error >meesages when you run radiusd in a terminal window: > > cd /your/Radiator/source/directory > > perl radiusd -foreground -log_stdout -trace 4 -config_file >/your/Radiator/configuration/file > > ..... > >regards > >Hugh > > >On 4 Nov 2011, at 00:21, Traiano Welcome wrote: > >> (Resent due to attachment size issues) >> >> Hi Hugh >> >> Attached is a sanitised copy of the radius configuration file as well as >> a more complete Trace 4 debug log dump leading up to the crash. >> >> Let me know if there's any more data I can send your way. >> >> Many thanks, >> Traiano >> >> >> >> On 2011/11/02 12:16 PM, "Hugh Irvine" <[email protected]> wrote: >> >>> >>> Hello Traiano - >>> >>> It would be helpful to see a copy of your configuration file (no >>>secrets) >>> together with a more complete trace 4 debug showing what is happening. >>> >>> You can always add a "pseudo" definition for attribute 93 in your >>> dictionary like this, although a missing definition shouldn't cause a >>> crash. >>> >>> Š.. >>> >>> ATTRIBUTE Bogus-Attr-93 93 string >>> >>> Š.. >>> >>> regards >>> >>> Hugh >>> >>> >>> >>> On 2 Nov 2011, at 20:56, Traiano Welcome wrote: >>> >>>> Hi All >>>> >>>> I'm currently running Radiator 4.8 on 8.2-RELEASE FreeBSD (8.2-RELEASE >>>> #0). My Radius system collects radius packets from ACME SBC systems >>>>and >>>> dumps them >>>> into PostgreSQL database (postgres (PostgreSQL) 8.4.8). >>>> >>>> Radiusd runs for a while (on average 30 minutes), successfuly >>>> authenticating, and accounting for the systems sending RADIUS data to >>>> it, and then crashes with the following error: >>>> >>>> "ERR: Attribute number 93 is not defined in your dictionary" >>>> >>>> Lines of context from the radiusd.log, Trace level 4: >>>> >>>> --- >>>> . >>>> . >>>> . >>>> Packet length = 20 >>>> 05 98 00 14 6a e0 57 30 8c be 16 ac b4 3a 5b 85 >>>> ff 74 ba 94 >>>> Code: Accounting-Response >>>> Identifier: 152 >>>> Authentic: j<224>W0<140><190><22><172><180>:[<133><255>t<186><148> >>>> Attributes: >>>> >>>> Wed Nov 2 09:28:32 2011: ERR: Attribute number 93 is not defined in >>>> your dictionary >>>> --- >>>> I am using the the stock radiator dictionary (dictionary,v 1.206 >>>> 2011/04/07 22:39:45 mikem ) and dictionary.acme from ACME systems >>>> (dictionary.acme,v 1.0 2001/11/19) >>>> >>>> Has anyone encountered this issue before, and is there a known root >>>> cause of the error. Alternatively, could anyone suggest an effective >>>> debuggin process >>>> to find the root cause of this error? >>>> >>>> >>>> Here is complete summary of the Perl configuration and version on my >>>> system: >>>> >>>> ---Summary of my perl5 (revision 5 version 12 subversion 3) >>>> configuration: >>>> >>>> Platform: osname=freebsd, osvers=8.2-release, >>>> archname=amd64-freebsd >>>> uname='freebsd x.y.z.o 8.2-release freebsd 8.2-release #0: tue mar >>>> 1 13:14:19 utc 2011 root@:usrobjusrsrcsysgeneric amd64 ' >>>> >>>> uname='freebsd template.za.mtnbusiness.net 8.2-release freebsd >>>> 8.2-release #0: tue mar 1 13:14:19 utc 2011 >>>>root@:usrobjusrsrcsysgeneric >>>> amd64 ' >>>> config_args='-sde -Dprefix=/usr/local >>>> -Darchlib=/usr/local/lib/perl5/5.12.3/mach >>>> -Dprivlib=/usr/local/lib/perl5/5.12.3 >>>> -Dman3dir=/usr/local/lib/perl5/5.12.3/perl/man/man3 >>>> -Dman1dir=/usr/local/man/man1 >>>> -Dsitearch=/usr/local/lib/perl5/site_perl/5.12.3/mach >>>> -Dsitelib=/usr/local/lib/perl5/site_perl/5.12.3 >>>> -Dscriptdir=/usr/local/bin >>>> -Dsiteman3dir=/usr/local/lib/perl5/5.12.3/man/man3 >>>> -Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv >>>> -Uinstallusrbinperl -Dcc=cc -Duseshrplib -Dinc_version_list=none >>>> -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.12.3/BSDPAN" >>>> -Doptimize=-O2 -fno-strict-aliasing -pipe -Ui_gdbm -Dusethreads=n >>>> -Dusemymalloc=n -Duse64bitint' >>>> hint=recommended, useposix=true, d_sigaction=define >>>> useithreads=undef, usemultiplicity=undef >>>> useperlio=define, d_sfio=undef, uselargefiles=define, >>>>usesocks=undef >>>> use64bitint=define, use64bitall=define, uselongdouble=undef >>>> usemymalloc=n, bincompat5005=undef >>>> Compiler: >>>> cc='cc', ccflags >>>> ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.12.3/BSDPAN" -DHAS_FPSETMASK >>>> -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector >>>> -I/usr/local/include', >>>> optimize='-O2 -fno-strict-aliasing -pipe', >>>> cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.12.3/BSDPAN" >>>> -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe >>>> -fstack-protector -I/usr/local/include' >>>> ccversion='', gccversion='4.2.1 20070719 [FreeBSD]', >>>> gccosandvers='' >>>> intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 >>>> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 >>>> ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', >>>> lseeksize=8 >>>> alignbytes=8, prototype=define >>>> Linker and Libraries: >>>> ld='cc', ldflags =' -Wl,-E -fstack-protector -L/usr/local/lib' >>>> libpth=/usr/lib /usr/local/lib >>>> libs=-lm -lcrypt -lutil >>>> perllibs=-lm -lcrypt -lutil >>>> libc=, so=so, useshrplib=true, libperl=libperl.so >>>> gnulibc_version='' >>>> Dynamic Linking: >>>> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' >>>> -Wl,-R/usr/local/lib/perl5/5.12.3/mach/CORE' >>>> cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib >>>> -fstack-protector >>>> Characteristics of this binary (from libperl): >>>> Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP >>>> USE_64_BIT_ALL >>>> USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO >>>> USE_PERL_ATOF >>>> Built under freebsd >>>> Compiled at Sep 13 2011 11:25:37 >>>> @INC: >>>> /usr/local/lib/perl5/5.12.3/BSDPAN >>>> /usr/local/lib/perl5/site_perl/5.12.3/mach >>>> /usr/local/lib/perl5/site_perl/5.12.3 >>>> /usr/local/lib/perl5/5.12.3/mach >>>> /usr/local/lib/perl5/5.12.3 >>>> --- >>>> >>>> >>>> Many thanks in advance, >>>> Traiano Welcome >>>> >>>> _______________________________________________ >>>> radiator mailing list >>>> [email protected] >>>> http://www.open.com.au/mailman/listinfo/radiator >>> >>> >>> -- >>> >>> Hugh Irvine >>> [email protected] >>> >>> Radiator: the most portable, flexible and configurable RADIUS server >>> anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, >>> Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, >>> TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, >>> DIAMETER etc. >>> Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc. >>> >> >> <debug-data.tar.gz> > > >-- > >Hugh Irvine >[email protected] > >Radiator: the most portable, flexible and configurable RADIUS server >anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, >Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, >TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, >DIAMETER etc. >Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc. > _______________________________________________ radiator mailing list [email protected] http://www.open.com.au/mailman/listinfo/radiator
