|
Hello all...
I'm having quite a significant problem with my
Radius server. It seems to hang and simply stop responding to auth requests. A
radpwtst simply gets you a No Reply and when checking the log there is nothing
unusual in there, it seems to stop logging altogether when the hang occurs. I am
pretty sure the problem is not with the machine, its a custom build PII-400, 256
megs SDRAM, SCSI drives, the works. We're running RH6.0 with the 2.2.11-ac3
kernel. I am running Perl version 5.00503 and have gotten the latest DBI and DBD
drivers. We are authenticating off of a mySQL database running mySQL version
3.22.25. The amount of time that the server stays up is quite random it seems.
It will run fine for several hours, sometimes as long as 12 or so, and then
simply quit. Sometimes however, it will die within 20 mins or so of restarting
the daemon. At first I thought it might be Perl giving us problems so we
upgraded on Saturday. However, it did not seem to fix the problem. Here is my
config file and the output of a perl -V. Please let me know if you need any more
info than what I have posted here.
---
Radius CFG File
---
Foreground
LogStdout Trace 4
PidFile /var/run/radiusd.pid
AuthPort radius
AcctPort radacct LogDir /usr/local/radiator LogFile %L/radius.log DbDir
/usr/local/radiator
DictionaryFile %D/dictionary # Pensacola (MAX4048 #1) <Client 63.66.64.11> Secret xxxxxxx DupInterval 0 </Client> # Pensacola (MAX4048 #2)
<Client 63.66.64.12> Secret xxxxxxx DupInterval 0 </Client> # Pensacola (MAX4048 #3)
<Client 63.66.64.13> Secret xxxxxxx DupInterval 0 </Client> # Pensacola (MAX4048 #4)
<Client 63.66.64.14> Secret xxxxxxx DupInterval 0 </Client> # Crestview (MAX4048 #1)
<Client 63.66.67.2> Secret xxxxxxx DupInterval 0 </Client> # Fort Walton Beach (TNT01)
<Client 63.66.66.150> Secret xxxxxxx DupInterval 0 </Client> # Localhost Client for Testing
<Client 127.0.0.1> Secret mysecret DupInterval 0 </Client> <Realm DEFAULT>
<AuthBy SQL> # Adjust DBSource, DBUsername, DBAuth to suit your DB DBSource dbi:mysql:radius DBUsername xxxxxxx DBAuth xxxxxxx AuthSelect select password, checkattr,
replyattr from users where username='%n'
# Use this if encrypted
passwords
#EncryptedPassword #AuthSelect select encpasswd, checkattr, replyattr from users where username='%n' AccountingTable accounting AcctColumnDef username,User-Name AcctColumnDef time_stamp,Timestamp,integer AcctColumnDef astatustype,Acct-Status-Type AcctColumnDef adelaytime,Acct-Delay-Time,integer AcctColumnDef ainputoctets,Acct-Input-Octets,integer AcctColumnDef aoutputoctets,Acct-Output-Octets,integer AcctColumnDef asessionid,Acct-Session-Id AcctColumnDef asessiontime,Acct-Session-Time,integer AcctColumnDef aterminatesause,Acct-Terminate-Cause AcctColumnDef nasidentifier,NAS-Identifier AcctColumnDef nasport,NAS-Port,integer AcctColumnDef framedip,Framed-IP-Address </AuthBy> </Realm> --- Perl -V output
---
Summary of my perl5 (5.0 patchlevel 5 subversion
3) configuration:
Platform: osname=linux, osvers=2.2.11-ac3, archname=i686-linux uname='linux pavel.ksinc.net 2.2.11-ac3 #1 mon aug 16 19:12:22 cdt 1999 i686 unknown ' hint=previous, useposix=true, d_sigaction=define usethreads=undef useperlio=undef d_sfio=undef Compiler: cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include' ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include' stdchar='char', d_stdstdio=undef, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt libc=, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Built under linux Compiled at Sep 11 1999 17:39:32 @INC: /usr/bin/lib/perl5/5.00503/i686-linux /usr/bin/lib/perl5/5.00503 /usr/bin/lib/perl5/site_perl/5.005/i686-linux /usr/bin/lib/perl5/site_perl/5.005 . --- If anyone has any suggestions I would greatly
appreciate it. Thank you very much.
Sincerely,
---
Jeff Ragan
Network Operations
ADIS, Inc.
Ft. Walton Beach, FL
Ph: 850-473-0888 Fx:
850-479-3882
|
- Re: (RADIATOR) Problem with server 'freezing' Jeff Ragan
- Re: (RADIATOR) Problem with server 'freezing' Stuart Henderson
