Reload Freeradius server without Restart
Hello, is there any method to reload freeradius after update configuration files ( clients.conf, radiusd.conf, defaults, ...) without restarting server i have tested this after adding new client on clients.conf but it doesn't work for me: kill -HUP $(cat var/run/radiusd.pid) Thanks Bassem
On 30.07.21 13:33, Bassem Mettichi wrote:
Hello,
is there any method to reload freeradius after update configuration files ( clients.conf, radiusd.conf, defaults, ...) without restarting server i have tested this after adding new client on clients.conf but it doesn't work for me:
kill -HUP $(cat var/run/radiusd.pid)
Thanks Bassem - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
It you set up the control socket server you can use the radmin command: # radmin hup for more information see man radmin. Mit freundlichen Grüßen, -- [*] sys4 AG https://sys4.de, +49 (89) 30 90 46 64 Schleißheimer Straße 26/MG,80333 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief Aufsichtsratsvorsitzender: Florian Kirstein
Hello, I have set up the control socket server and i have used radmin but this doesn't have any effect on clients.conf file, i must restart the server to let freeradius take effect on changes. Thanks Bassem Le ven. 30 juil. 2021 à 12:46, Michael Schwartzkopff <ms@sys4.de> a écrit :
On 30.07.21 13:33, Bassem Mettichi wrote:
Hello,
is there any method to reload freeradius after update configuration files ( clients.conf, radiusd.conf, defaults, ...) without restarting server i have tested this after adding new client on clients.conf but it doesn't work for me:
kill -HUP $(cat var/run/radiusd.pid)
Thanks Bassem - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
It you set up the control socket server you can use the radmin command:
# radmin hup
for more information see man radmin.
Mit freundlichen Grüßen,
--
[*] sys4 AG
https://sys4.de, +49 (89) 30 90 46 64 Schleißheimer Straße 26/MG,80333 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief Aufsichtsratsvorsitzender: Florian Kirstein
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Jul 30, 2021, at 8:50 AM, Bassem Mettichi <mettichi@gmail.com> wrote:
I have set up the control socket server and i have used radmin but this doesn't have any effect on clients.conf file, i must restart the server to let freeradius take effect on changes.
You can't reload clients.conf via a HUP. If you want dynamic clients, see sites-available/dynamic-clients. This is documented. Alan DeKok.
participants (3)
-
Alan DeKok -
Bassem Mettichi -
Michael Schwartzkopff