Robin Gruyters wrote:
> 
> 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)

In general, ALWAYS try kill without the -9 on ANY program. Give the
program a chance to gracefully catch a shutdown signal and clean up. If
you do a kill -9, programs can wind up leaving data files mangled.

I've most often used Radiator set up to run from inittab. In that
config, to restart it, you just do a kill on the radiusd, and it
reappears automatically thanks to inittab.


-- 
-----------------------------------------------------------------
Daniel Senie                                        [EMAIL PROTECTED]
Amaranth Networks Inc.                    http://www.amaranth.com

===
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