On Tue, Jan 11, 2000 at 10:41:59AM +0300, Anand Buddhdev wrote:

This is a follow on to the problem I was experiencing, whereby Radiator
was hanging. Below, I've attached my config file (minus secrets), a
level 4 debug just before than hang, and a truss output (from Solaris
2.7 and perl 5.005_02). When the radiator had hung, I attached a truss
to it, and it looks like the radiator was stuck in some sort of loop.

> I'm attaching my config file here. I've turned up the debugging on
> radiator to level 4, so as soon as the hang occurs again, I'll be able
> to send the relevant section of that too.
> 
> > Could you also send us your configuration file (no secrets) together with a
> > trace 4 debug showing where Radiator stops?

Config File:

LogDir          /usr/local/radiator
DbDir           /usr/local/radiator/raddb
Trace           4
LogFile         %L/logfile.%Y%m%d
PmwhoProg       /usr/local/sbin/offline-nswho

<SessionDatabase DBM>
</SessionDatabase DBM>

# AFOL clients, including POPs

# netserver 1
<Client 199.103.176.30>
        Secret  ********
        DefaultRealm    africaonline.co.ke
        IgnoreAcctSignature
        NasType TotalControl
</Client>

# netserver 2 (mombasa)
<Client 199.103.176.130>
        Secret  ********
        DefaultRealm    africaonline.co.ke
        IgnoreAcctSignature
        NasType TotalControl
</Client>

# netserver 3 (reuters POP)
<Client 199.103.177.125>
        Secret  ********
        DefaultRealm    africaonline.co.ke
        IgnoreAcctSignature
        NasType TotalControl
</Client>

# netserver 4
<Client 199.103.220.125>
        Secret  ********
        DefaultRealm    africaonline.co.ke
        IgnoreAcctSignature
        NasType TotalControl
</Client>

# netserver 5 (mombasa)
<Client 212.49.79.129>
        Secret  ********
        DefaultRealm    africaonline.co.ke
        IgnoreAcctSignature
        NasType TotalControl
</Client>

# netserver 6
<Client 10.176.2.253>
        Secret  ********
        DefaultRealm    africaonline.co.ke
        IgnoreAcctSignature
        NasType ignore
</Client>

# malindi netserver
<Client 216.252.189.65>
        Secret ********
        DefaultRealm africaonline.co.ke
</Client>

# kisumu portmaster 1
<Client 192.168.4.1>
        Secret  ********
        DefaultRealm    africaonline.co.ke
        NasType TotalControl
</Client>

# eldoret portmaster 1
<Client 192.168.5.1>
        Secret  ********
        DefaultRealm    africaonline.co.ke
        NasType TotalControl
</Client>

# nakuru portmaster 1
<Client 192.168.6.1>
        Secret  ********
        DefaultRealm    africaonline.co.ke
        NasType TotalControl
</Client>

# netserver (Jamhuri)
<Client 10.176.5.253>
        Secret  ********
        DefaultRealm    africaonline.co.ke
        IgnoreAcctSignature
        NasType TotalControl
</Client>

# netserver (westlands)
<Client 10.176.6.253>
        Secret  ********
        DefaultRealm    africaonline.co.ke
        IgnoreAcctSignature
        NasType TotalControl
</Client>

# netserver (Uganda)
<Client 10.176.0.30>
        Secret  ********
        DefaultRealm    africaonline.co.ke
        IgnoreAcctSignature
        #NasType TotalControl
</Client>

# Our Pan-African offices
# Inter-AFOL auth can bypass GRIC, and it means free
# access for all AFOL users who roam in another AFOL
# country

<Client ci2.africaonline.co.ci>
        Secret  ********
        DefaultRealm    africaonline.co.ke
</Client>

<Client gh2.africaonline.com.gh>
        Secret  ********
        DefaultRealm    africaonline.co.ke
</Client>

<Client mail.africaonline.co.zw>
        Secret  ********
        DefaultRealm    africaonline.co.ke
</Client>

<Client mail.africaonline.co.tz>
        Secret  ********
        DefaultRealm    africaonline.co.ke
</Client>

<Client radius.pipex-sz.net>
        Secret  ********
        DefaultRealm    africaonline.co.ke
</Client>

# Testing from pasha
<Client 199.103.176.41>
        Secret  ********
        DefaultRealm    anand.org
</Client>

# Mainly for the radpwtst utility
<Client DEFAULT>
        Secret  ********
        DupInterval 0
        DefaultRealm africaonline.co.ke
</Client>       

<AuthBy SYSTEM>
        Identifier UNIX
        UseGetspnam
</AuthBy>

<Realm africaonline.co.ke>
        # Remove spaces - spaces are generally not allowed
        # but lusers type them anyway, and are a pain
        RewriteUsername s/\s+//g
        # Strip the realm
        RewriteUsername s/\@africaonline\.co\.ke$//
        <AuthBy FILE>
        </AuthBy>
        AcctLogFileName %L/detail.%Y%m%d
        PasswordLogFileName %L/passwords/log.%Y%m%d
        MaxSessions 1
</Realm>

<Realm net2000ke.com>
        RewriteUsername s/\@net2000ke\.com$//
        <AuthBy RADIUS>
                Host 195.202.65.16
                Secret ********
                NoForwardAccounting             
                Fork
        </AuthBy>
        AcctLogFileName %L/net2000/detail.%Y%m%d
</Realm>

# Test realm
<Realm anand.org>
        <AuthBy FILE>
                Filename %D/anand
        </AuthBy>
        AcctLogFileName %L/anand.detail
</Realm>

<Realm africaonline.co.zw>
        <AuthBy RADIUS>
                Host mail.africaonline.co.zw
                Secret ********
                Fork
        </AuthBy>
</Realm>

<Realm africaonline.co.tz>
        <AuthBy RADIUS>
                Host mail.africaonline.co.tz
                Secret ********
                Fork
        </AuthBy>
</Realm>

<Realm africaonline.com.gh>
        <AuthBy RADIUS>
                Host gh2.africaonline.com.gh
                Secret ********
                Fork
        </AuthBy>
</Realm>

<Realm africaonline.co.ci>
        <AuthBy RADIUS>
                Host ci2.africaonline.co.ci
                Secret ********
                Fork
        </AuthBy>
</Realm>

<Realm iafrica.sz>
        <AuthBy RADIUS>
                Host radius.pipex-sz.net
                Secret ********
                Fork
        </AuthBy>
</Realm>

# Default realm to forward data to GRIC servers via a local
# AIM traveller radius server

<Realm DEFAULT>
        <AuthBy RADIUS>
                Host localhost
                Secret ********
                AuthPort 1745
                AcctPort 1746
                Fork
        </AuthBy>
</Realm>


---- End of config file -----------

Logfile at level 4, just before the hang:


*** Received from 199.103.176.30 port 1645 ....
Code:       Access-Request
Identifier: 149
Authentic:  ax<255><28>N<245><15><203>m<254><162><174>*,<138>5
Attributes:
        User-Name = "protea"
        User-Password = ""
        NAS-IP-Address = 199.103.176.30
        NAS-Port = 2563
        Acct-Session-Id = "167903474"
        USR-Unknown-38979 = 3819
        Service-Type = Framed-User
        Framed-Protocol = PPP
        USR-Chassis-Call-Slot = 11
        USR-Chassis-Call-Span = 16
        USR-Chassis-Call-Channel = 3
        Calling-Station-Id = ""
        Called-Station-Id = ""
        NAS-Port-Type = Async

Mon Jan 24 14:55:54 2000: DEBUG: Handling request with Handler 
'Realm=africaonline.co.ke'
Mon Jan 24 14:55:54 2000: DEBUG: Rewrote user name to [EMAIL PROTECTED]
Mon Jan 24 14:55:54 2000: DEBUG: Rewrote user name to protea
Mon Jan 24 14:55:54 2000: DEBUG:  Deleting session for protea, 199.103.176.30, 2563
Mon Jan 24 15:12:10 2000: DEBUG: Reading users file /usr/local/radiator/raddb/users
Mon Jan 24 15:12:10 2000: DEBUG: Reading users file /usr/local/radiator/raddb/anand
Mon Jan 24 15:12:11 2000: INFO: Server started


----- End logfile ------------

And finally, a truss output:

read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752
read(8, "\01203E903AC039503 Y03 D".., 1024)     = 1024
llseek(8, 76800, SEEK_SET)                      = 76800
read(8, "\0\f03EB03B2039F03 f03 Q".., 1024)     = 1024
llseek(8, 74752, SEEK_SET)                      = 74752

===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to