Ascend Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (ASCEND) Radius Daemon dies after DEC Unix startup
Here is a radius startup script. We use this on a Solaris X86 2.5.1 server.
It should work with most UNIX based servers. BTW - We are running 96/05
version of the ascend radius. It suits our needs for basic authentication.
Hopes this helps .....
---(snip)
#!/bin/sh
#
# Copyright (c) 1996, by INTOP
#
#
# Use RADIUS = to radiusd.dbm for the database, or radiusd for standard
RADIUS=radiusd.dbm
if [ ! -d /usr/bin ]
then # /usr not mounted
exit
fi
killproc() { # kill the named process(es)
pid=`/usr/bin/ps -ef | /usr/bin/grep $1 |
/usr/bin/grep -v grep | /usr/bin/grep -v /bin/sh |
/usr/bin/awk '{print $2}'`
if [ "${pid}" != "" ] ; then
echo $2
kill -TERM ${pid} > /dev/null 2>&1
fi
}
# Start/stop Radius daemons
case "$1" in
'start')
#
# start Radius
#
if [ -f /YOUR.BIN.HERE/${RADIUS} ] ; then
/YOUR.BIN.HERE/${RADIUS} -A services -a /YOUR.LOG.HERE/radacct \
1>/dev/console 2>&1 &
echo "Radius started"
fi
#
;;
'stop')
killproc ${RADIUS} "Radius Done."
;;
*)
echo "Usage: /etc/init.d/radius { start | stop }"
;;
esac
exit 0
-----(snip)
Ben Duncan Tel: 601-371-1445
Vice President fax: 601-371-1639
Intop 7402 Siwell Road Ste. 120
www.intop.net Jackson, Ms 39212
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
"It all really depends upon your view of reference. If an apple dropped from
the Empire State Building is subjected to the effects of the turning earth, the
turning solar system, the turning gallaxy, the turning universe, the contracting
and expanding of the universe, would not that apple arrive at precisely where
it left off ? "
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
++ Ascend Users Mailing List ++
To unsubscribe: send unsubscribe to ascend-users-request@bungi.com
To get FAQ'd: <http://www.shore.net/~dreaming/ascend-faq>
or <ftp://ftp.shore.net/members/dreaming/ascend-faq.txt>
Follow-Ups:
References: