How do I stop RADIUS running in debug mode (radiusd -X)?
I have tried 'radiusd stop' but the process remains up and running. agalnx-srv-01:~ # ps -a PID TTY TIME CMD 22599 pts/1 00:00:00 su 22603 pts/1 00:00:00 bash 22812 pts/2 00:00:00 su 22814 pts/2 00:00:00 bash 23218 pts/2 00:00:00 radiusd 23400 pts/3 00:00:00 su 23402 pts/3 00:00:00 bash 23661 pts/3 00:00:00 ps agalnx-srv-01:~ # radiusd stop agalnx-srv-01:~ # ps -a PID TTY TIME CMD 22599 pts/1 00:00:00 su 22603 pts/1 00:00:00 bash 22812 pts/2 00:00:00 su 22814 pts/2 00:00:00 bash 23218 pts/2 00:00:00 radiusd 23400 pts/3 00:00:00 su 23402 pts/3 00:00:00 bash 23670 pts/3 00:00:00 ps agalnx-srv-01:~ # agalnx-srv-01:/etc/raddb # radiusd -v radiusd: FreeRADIUS Version 2.1.6, for host i686-pc-linux-gnu, built on Oct 27 2009 at 17:05:49 Copyright (C) 1999-2009 The FreeRADIUS server project and contributors. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License. For more information about these matters, see the file named COPYRIGHT. agalnx-srv-01:/etc/raddb # Thank you, --ag
On 12/04/2009 11:30 AM, agalnx77 wrote:
I have tried 'radiusd stop' but the process remains up and running.
That won't do it, perhaps you've confused that with "service radiusd stop", which by the way only works when you've started the server as a service, which isn't the case if you've run it in debug mode. % killall radiusd If it's still running after that ... % killall -sKILL radiusd -- John Dennis <jdennis@redhat.com> Looking to carve out IT costs? www.redhat.com/carveoutcosts/
Got it. Thank you much for the prompt response and clarification. AG On 12/4/09 12:21 PM, "John Dennis" <jdennis@redhat.com> wrote:
On 12/04/2009 11:30 AM, agalnx77 wrote:
I have tried 'radiusd stop' but the process remains up and running.
That won't do it, perhaps you've confused that with "service radiusd stop", which by the way only works when you've started the server as a service, which isn't the case if you've run it in debug mode.
% killall radiusd
If it's still running after that ...
% killall -sKILL radiusd
Cool. Thank you very much. On 12/4/09 1:52 PM, "tnt@kalik.net" <tnt@kalik.net> wrote:
I have tried 'radiusd stop' but the process remains up and running.
While it's running in the foreground: Ctrl+C
If you close the session without exiting the debug - killall as suggested.
Ivan Kalik
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (3)
-
agalnx77 -
John Dennis -
tnt@kalik.net