Hi all,
I am having a strange issue after upgrading my radius servers from
0.9.3 to 1.0.1. I am running on Redhat and as such have the following
init.d script:
---------------------------------
#!/bin/sh
#
# radiusd Start the radius daemon.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
#
# Copyright (C) 2001-2002 The FreeRADIUS Project
http://www.freeradius.org
prefix=/usr/local
exec_prefix=${prefix}
sbindir=${exec_prefix}/sbin
localstatedir=${prefix}/var
logdir=/usr/local/var/log/radius2
rundir=${localstatedir}/run/radiusd
sysconfdir=${prefix}/etc
RADIUSD=$sbindir/radiusd2
RADDBDIR=/usr/local/etc/raddb2
DESC="FreeRADIUS"
#
# See 'man radiusd' for details on command-line options.
#
ARGS="-d /usr/local/etc/raddb2 -p 1822 -A -y"
test -f $RADIUSD || exit 0
test -f $RADDBDIR/radiusd.conf || exit 0
case "$1" in
start)
echo -n "Starting $DESC:"
$RADIUSD $ARGS
echo "radiusd2"
;;
stop)
[ -z "$2" ] && echo -n "Stopping $DESC: "
[ -f $rundir/radiusd2.pid ] && kill -TERM `cat
$rundir/radiusd2.pid`
[ -z "$2" ] && echo "radiusd2."
;;
reload|force-reload)
echo "Reloading $DESC configuration files."
[ -f $rundir/radiusd2.pid ] && kill -HUP `cat $rundir/radiusd2.pid`
;;
restart)
sh $0 stop quiet
sleep 3
sh $0 start
;;
*)
echo "Usage: /etc/init.d/$RADIUS {start|stop|reload|restart}"
exit 1
esac
exit 0
---------------------------------------------
The issue is that this script no longer works as it did in the past. When
running the script I get the following errors in the log:
Tue Feb 1 13:36:03 2005 : Error: Errors reading dictionary: dict_init:
/usr/local/share/freeradius/dictionary.3gpp[29]: invalid type "ipv6addr"
Tue Feb 1 13:36:03 2005 : Error: Errors reading
/usr/local/var/log/radius2/radiusd.conf: For more information, please read
the tail end of /usr/local/var/log/radius2/radius.log
If I run the radius server from the bash prompt with the following,
everything works as expected:
radiusd -d /usr/local/etc/raddb2 -p 1822 -A -y
What am I missing?
Mark Capelle
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html