Good afternoon! Why the radiusd (ver 2.0.3+ cvs) with killall -HUP radiusd is not reload configuration files? Thanks
Dmitry A. Sysoev wrote:
Good afternoon! Why the radiusd (ver 2.0.3+ cvs) with killall -HUP radiusd is not reload configuration files?
Because it doesn't. It's hard to do right. And no, Apache doesn't handle HUP, either. It just *looks* like it handles HUP. It really re-starts itself from scratch. If you need FreeRADIUS to reload the configuration files, then stop && re-start it. Alan DeKok.
Thanks for answers, but why Freeradius version 1.1.0 is can do that? -----Original Message----- From: Alan DeKok [mailto:aland@deployingradius.com] Sent: Tuesday, April 01, 2008 2:20 PM To: snaut@snaut.ru; FreeRadius users mailing list Subject: Re: Signal -HUP Dmitry A. Sysoev wrote:
Good afternoon! Why the radiusd (ver 2.0.3+ cvs) with killall -HUP radiusd is not reload configuration files?
Because it doesn't. It's hard to do right. And no, Apache doesn't handle HUP, either. It just *looks* like it handles HUP. It really re-starts itself from scratch. If you need FreeRADIUS to reload the configuration files, then stop && re-start it. Alan DeKok.
So and what modules then are reload on a signal -HUP? -----Original Message----- From: A.L.M.Buxey@lboro.ac.uk [mailto:A.L.M.Buxey@lboro.ac.uk] Sent: Tuesday, April 01, 2008 3:17 PM To: snaut@snaut.ru; FreeRadius users mailing list Subject: Re: Signal -HUP Hi,
Thanks for answers, but why Freeradius version 1.1.0 is can do that?
ha ha ha. because it LOOKS like it is doing a proper HUP but in fact many many things arent cleared properly. ALWAYS restart the service alan
Thanks! -----Original Message----- From: freeradius-users-bounces+snaut=snaut.ru@lists.freeradius.org [mailto:freeradius-users-bounces+snaut=snaut.ru@lists.freeradius.org] On Behalf Of Alan DeKok Sent: Tuesday, April 01, 2008 4:25 PM To: FreeRadius users mailing list Subject: Re: Signal -HUP Dmitry A. Sysoev wrote:
So and what modules then are reload on a signal -HUP?
Read the "radius.log" file and see. If this isn't sufficient, please supply documentation to help everyone else who has this problem. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Dmitry A. Sysoev wrote:
Thanks for answers, but why Freeradius version 1.1.0 is can do that?
It can't. And don't CC me on messages to the list. As you might have noticed already, I read the list. And DON'T set "return-receipt requested". It's rude, and I NEVER send return receipts. Alan DeKok.
Alan DeKok wrote:
Dmitry A. Sysoev wrote:
Good afternoon! Why the radiusd (ver 2.0.3+ cvs) with killall -HUP radiusd is not reload configuration files?
Because it doesn't. It's hard to do right. And no, Apache doesn't handle HUP, either. It just *looks* like it handles HUP. It really re-starts itself from scratch.
If you need FreeRADIUS to reload the configuration files, then stop && re-start it.
How can I check for syntax errors on configuration files without starting FreeRADIUS? There exists something like ISC DHCPD "-T" option?
Hi,
How can I check for syntax errors on configuration files without starting FreeRADIUS? There exists something like ISC DHCPD "-T" option?
with FreeRADIUS 2.0.2 .... [root@nasa.gov ~]$ radiusd -h Usage: radiusd [-d db_dir] [-l log_dir] [-i address] [-n name] [-fsvXx] Options: -C Check configuration and exit. -d raddb_dir Configuration files are in "raddbdir/*". -f Run as a foreground process, not a daemon. -h Print this help message. -i ipaddr Listen on ipaddr ONLY -n name Read raddb/name.conf instead of raddb/radiusd.conf -p port Listen on port ONLY -s Do not spawn child processes to handle requests. -v Print server version information. -X Turn on full debugging. -x Turn on additional debugging. (-xx gives more debugging). so, -C is the option you want. sure. could've been -T like some other software. but why copy when you can innovate? :-) alan
This is in the release notes: "limited support for HUP. (The configuration for some modules is re-loaded on HUP. Nothing else is reloaded.)" Ivan Kalik Kalik Informatika ISP Dana 1/4/2008, "Dmitry A. Sysoev" <snaut@snaut.ru> piše:
Good afternoon! Why the radiusd (ver 2.0.3+ cvs) with killall -HUP radiusd is not reload configuration files? Thanks
participants (5)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
Dmitry A. Sysoev -
Giovanni Lovato -
Ivan Kalik