update NAS

Alan DeKok aland at deployingradius.com
Fri Apr 4 00:38:15 CEST 2014


Benoit wrote:
> I've been looking up how to reload my SQL NAS list without having to
> restart the service,

  You don't.

  Read raddb/sites-available/dynamic-clients

> and found this command:
> 
> kill -1 `cat /var/run/freeradius/freeradius.pid`
> 
> I checked and the freeradius.pid file is there, and if I run the command
> it seems to work since no error returns. But it does not seem to affect
> the freeradius process and my updated clients list is still not recognized.

  Because the clients aren't reloaded on HUP.

> Anyways I was wondering, if I restart the freeradius service, will the
> current connections (and/or their accounting) be lost or affected?

 FreeRADIUS isn't a NAS.  Once the user is online, FreeRADIUS can stop
completely, and the user won't notice.

> Or is
> it just a problem if someone tries to connect exactly when the service
> restarts?

  Yes.  And the server should restart in about 1/10 second.

  Alan DeKok.


More information about the Freeradius-Users mailing list