(RADIATOR) radiusd crashes/dies

Barrett (Barry) W Clark mgronduty at texoma.net
Mon Oct 27 15:07:48 CST 2003


Hello,

On June 1st we upgraded to the 3.6-1 version of Radiator. (New box with RH 
and added SQL logging)

The box has been running flawlessly up until 1 1/2 weeks ago.

Radiusd just stops and is not listed in "top" or "ps".  We can restart the 
service and it will run fine for about 2 or 3 days and then die again.

The log files do not show anything out of the ordinary and I am currently 
running debug, hoping to catching it when it dies.

Any suggestions or hints on what could be causing this and solutions would 
be appreciated!

I am also looking into restartWrapper as well as contemplating replacing RH 
with FreeBSD.  Any thoughts / suggestions on restartWrapper and/or 
migrating to FreeBSD are welcome and appreciated!

Below is a copy of the current radius.cfg (no secrets)

Thank you!

bwc

~~~start radius.cfg~~~~
LogDir          /usr/local/radius/log
DbDir           /usr/local/etc/raddb
# Use a low trace level in production systems. Increase
# it to 4 or 5 for debugging, or use the -trace flag to radiusd
Trace   4
AuthPort 1645
AcctPort 1646

# Permits only alphanumeric, period, dash, underscore and the (at) sign in 
the username.
UsernameCharset a-zA-Z0-9\._ at -
# Strip realm and domain i.e, making life easier for our customers
RewriteUsername s/^.*\\|@.*$|^\s+|\s+$//g
RewriteUsername s/%//g

# You will probably want to add other Clients to suit your site,
# one for each NAS you want to work with
<Client localhost>
         Secret  XXXXXXX
         DupInterval 0
</Client>

# All of the [town "a"] PM3s are listed here
<Client aax.xxxxx.net>
         Secret xxxxxxxxxxx

         IdenticalClients bax.xxxxx.net cax.xxxxx.net \
         dax.xxxxx.net eax.xxxxx.net fax.xxxxx.net \
         gax.xxxxx.net hax.xxxxx.net iax.xxxxx.net \
         jax.xxxxx.net kax.xxxxx.net lax.xxxxx.net \
         max.xxxxx.net nax.xxxxx.net nax.xxxxx.net
</Client>

# All of the [town "b"] PM3s are listed here
<Client abx.xxxxx.net>
         Secret xxxxxxxxxxx

         IdenticalClients bbx.xxxxx.net cbx.xxxxx.net \
         dbx.xxxxx.net ebx.xxxxx.net fbx.xxxxx.net \
         gbx.xxxxx.net
</Client>

# All of the [town "c"] PM3s are listed here
<Client acx.xxxxx.net>
         Secret xxxxxxxxxxxx

         IdenticalClients bcx.xxxxx.net ccx.xxxxx.net \
         dcx.xxxxx.net
</Client>

# All of the [town "d"] PM3s are listed here
<Client adx.xxxxx.net>
         Secret xxxxxxxxxxx

         IdenticalClients bdx.xxxxx.net cdx.xxxxx.net \
         ddx.xxxxx.net edx.xxxxx.net
</Client>

# All of the [town "e"] HiperARCs are listed here
<Client aaa.bbb.ccc.aaa>
         Secret xxxxxxxxxxx
         IgnoreAcctSignature

         IdenticalClients  aaa.bbb.ccc.bbb aaa.bbb.ccc.ccc aaa.bbb.ccc.ddd
</Client>

# All of the misc. devices are listed here
<Client afx.xxxxx.net>
         Secret xxxxxxxxxxxx
</Client>

# WiFi Gateway/AccessPoint
<Client aaa.bbb.ccc.eee>
         Secret xxxxxxxxxxx
</Client>

<AuthBy SQL>
         Identifier      SQLAccounting
         DBSource        dbi:Pg:dbname=[databasename];host=zzz.yyy.xxx.www
         DBUsername      XXXXXXXXXXX
         DBAuth  xxxxxxxxxxxxx

         # Just accounting, no auth

         IgnoreAuthentication
         AuthSelect

         AccountingTable RadiatorAccounting
         AcctColumnDef   USERNAME,User-Name
         AcctColumnDef   TIME_STAMP,Timestamp,integer
         AcctColumnDef   ACCTSTATUSTYPE,Acct-Status-Type
         AcctColumnDef   ACCTDELAYTIME,Acct-Delay-Time,integer
         AcctColumnDef   ACCTINPUTOCTETS,Acct-Input-Octets,integer
         AcctColumnDef   ACCTOUTPUTOCTETS,Acct-Output-Octets,integer
         AcctColumnDef   ACCTSESSIONID,Acct-Session-Id
         AcctColumnDef   ACCTSESSIONTIME,Acct-Session-Time,integer
         AcctColumnDef   ACCTTERMINATECAUSE,Acct-Terminate-Cause
         AcctColumnDef   NASIDENTIFIER,NAS-IP-Address
         AcctColumnDef   NASPORT,NAS-Port,integer
         AcctColumnDef   NASPORTTYPE,NAS-Port-Type
         AcctColumnDef   FRAMEDIPADDRESS,Framed-IP-Address
         AcctColumnDef   CALLEDSTATIONID,Called-Station-Id
         AcctColumnDef   CALLINGSTATIONID,Calling-Station-Id

</AuthBy>

<AuthBy FILE>
         Identifier      CheckFile
         Filename        %D/users
</AuthBy>

<AuthBy GROUP>
         Identifier CheckUser
         AuthByPolicy ContinueUntilAccept
         AuthBy CheckFile
         AddToReplyIfNotExist Framed-Filter = "serial"
</AuthBy>

<Realm DEFAULT>
         AuthByPolicy ContinueAlways
         AuthBy SQLAccounting
         AuthBy CheckUser

         # Log accounting to a detail file
         AcctLogFileName %L/cd-%Y%m%d
</Realm>

<SessionDatabase DBM>
         # The name of the DBM file. Defaults on %D/online
         Filename %D/online
</SessionDatabase>
~~~stop radius.cfg~~~ 


===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list