I have installed freeradius via apt-get and can’t stop freeradius daemon.
# freeradius -v
freeradius: FreeRADIUS Version 2.1.12, for host x86_64-pc-linux-gnu, built on Feb 24 2014 at 15:09:01
# /etc/init.d/freeradius stop
|
radius.log.
# tail -f /var/log/freeradius/radius.log
Tue Apr 15 00:36:08 2014 : Info: Ready to process requests.
Tue Apr 15 00:22:47 2014 : Info: Signalled to terminate <- terminate
Tue Apr 15 00:22:47 2014 : Info: Exiting normally.
Tue Apr 15 00:22:47 2014 : Info: Loaded virtual server <default> <- start up again
Tue Apr 15 00:22:47 2014 : Info: Loaded virtual server inner-tunnel
Tue Apr 15 00:22:47 2014 : Info: ... adding new socket proxy address * port 361
|
This seems to be caused by that there is no PID file /var/log/freeradius/freeradius.pid.
After creating the pid file for radiusd, I was able to shut down the daemon.
create a PID file and change an owner.
# touch /var/run/freeradius/freeradius.pid
# chown freerad.freerad /var/run/freeradius/freeradius.pid
|
I was able to shut down the daemon.
# /etc/init.d/freeradius stop
# tail -f /var/log/freeradius/radius.log
Tue Apr 15 00:41:09 2014 : Info: Signalled to terminate
Tue Apr 15 00:41:09 2014 : Info: Exiting normally.
# lsof -ni:1812
#
|
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.