recommended restart-wrapper for freeradius
hi - we're having the freeradius 1.0.2 daemon dying occasionally for mysterious reasons - we're still investuigating the cause. however - when it dies the radiusd.pid file is not removed. this causes problems for most restart-wrappers ... running in the foreground in an infinite loop is also not ideal as this means the daemon doesn't run in threaded mode. can anyone recommend a good way to monitor/restart the daemon. tariq
Tariq Rashid wrote:
hi - we're having the freeradius 1.0.2 daemon dying occasionally for mysterious reasons - we're still investuigating the cause.
You should upgrade to 1.0.5. http://freeradius.org/security.html
running in the foreground in an infinite loop is also not ideal as this means the daemon doesn't run in threaded mode.
I don't understand. This shouldn't be a problem.
can anyone recommend a good way to monitor/restart the daemon.
You could look at scripts/radwatch in the FreeRADIUS source tree. -- Nicolas Baradakis
try using radiusd from inittab: r1:35:respawn:/usr/sbin/radiusd -f and do not forget to remove radiusd from /etc/rc.d/***
hi - we're having the freeradius 1.0.2 daemon dying occasionally for mysterious reasons - we're still investuigating the cause.
however - when it dies the radiusd.pid file is not removed. this causes problems for most restart-wrappers ...
running in the foreground in an infinite loop is also not ideal as this means the daemon doesn't run in threaded mode.
can anyone recommend a good way to monitor/restart the daemon.
tariq
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (3)
-
Ilia Chipitsine -
Nicolas Baradakis -
Tariq Rashid