Robin,

You appear to have just saved the day. Thanks very much!

To offer something that may be helpful back to y'all, check this out:

Rather than maintaining two config files (which I've been avoiding like
the plague), I got the command line syntax to work by using blank quotes
for the unneeded port:

perl /usr/bin/radiusd -auth_port 1812 -acct_port '' \
  -config_file /usr/nc.cfg \
  -pid_file /usr/nc_auth.pid &

perl /usr/bin/radiusd -auth_port '' -acct_port 1813 \
  -config_file /usr/nc.cfg \
  -pid_file /usr/nc_acct.pid &

Dave

> -----Original Message-----
> From: Robin Gruyters [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 12, 2000 1:16 PM
> To: Dave Kitabjian
> Subject: Re: [(RADIATOR) Multithreaded radiator.]
> 
> 
> On Mon, Jun 12, 2000 at 01:03:41PM -0400, Dave Kitabjian wrote:
> > Thanks, all, for your suggestions.
> > 
> > This looks like it will be exactly what we need. Only problem is, I
> > can't get it to work. The only difference I see is that we are using
> > ports 1812/1813, not 1645/1646. 
> > 
> > I changed my config file to:
> >   AuthPort  1812
> >   AcctPort  
> > 
> > Then I HUPped radiator. According to the logfile, it did, 
> indeed, appear
> > to ignore accounting requests. However, it showed the 
> following in the
> > log file right after the HUP:
> > 
> >     Mon Jun 12 12:47:43 2000: WARNING: Unknown service name
> > 
> > Furthermore, when I attempt to start a second instance of 
> Radiator with:
> >   AuthPort  
> >   AcctPort  1813
> > 
> > it fails to start with a message: 
> > 
> >     # perl /usr/bin/radiusd -config_file /usr/nc_acct.cfg
> > Could not bind accounting socket: Address already in use at
> > /usr/bin/radiusd line 386.  
> > 
> > Can someone offer further assistance? This IS supposed to 
> work on the
> > same server, correct? Do I need to wait a while for the 
> Accounting port
> > to free up?
> > 
> > Thanks.
> > 
> > Dave
> What i had found out is that you can't HUP it. you have to 
> kill the process to
> get the correct port binds working...
> 
> (kill -9 <pid of old radius program> && /usr/bin/radiusd 
> -config_file /usr/nc_acct.cfg)
> 
> -- 
> Regards,
> 
>  Robin Gruyters - [EMAIL PROTECTED] - WISH BV - nic-hdl: RG3771-RIPE
>  http://www.wish.net - tel: +31(0)413242500 - fax. +31(0)208762628
>  PGP key ID DEB8C991 - Head Engineering / Web Designer / B.O.F.H.
>  BOFH excuse: Failure to adjust for daylight savings time.
> 

===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to