Freeradius and NFS
Wulf Kaiser
wkaiser at mpimf-heidelberg.mpg.de
Sat Oct 1 13:03:06 CEST 2005
Hi,
after several problems, i managed it to install Freeradius on our NFS Server
(running Solaris 9). The NFS Server exports a part of his '/usr/local' -
including freeradius - to our main LDAP Server and to the Failover Machine.
Starting Freeradius on the main LDAP Server works - it authenticates our
WLAN and VPN Users. But now i want it running on both directory servers to
have a real Failover for Freeradius, too.
So i modified the startscript (also exported via NFS on both machines) and
added:
RAD_CONF=$RADDBDIR/`/usr/bin/uname -n`_radiusd.conf
RAD_PID=$rundir/`/usr/bin/uname -n`_radius.pid
I have also copied the radiusd.conf to ldap_radiusd.conf and
ldapFailover_radiusd.conf and modified both to call machine specific log and
pid files.
Recently, i have done the same with the Apache Web Server, and it works with
the following lines in the start section of apachectl:
$HTTPD -k $ARGV -f $HTTPD_CONF
But how do i tell the radiusd to read another conf than the original
radiusd.conf? Whatever i tried, the output was
root at ldap<80> /etc/init.d/radius.server start
-n Starting FreeRADIUS:
Sat Oct 1 12:30:52 2005 : Info: Starting - reading configuration files ...
Sat Oct 1 12:30:52 2005 : Error: Unable to open file
"/usr/local/freeradius/etc/radiusd.conf": No such file or directory
Sat Oct 1 12:30:52 2005 : Error: Errors reading radiusd.conf
The uname works, here are some debug outputs:
Reading configuration from /usr/local/freeradius/etc/ldap_radiusd.conf...
Generating PID in /usr/local/freeradius/var/run/radiusd/ldap_radius.pid...
Any Ideas or tipps?
mit freundlichem Gruss,
Wulf Kaiser
IT Services
Web Development | Database Administration
Webmaster www.mpimf-heidelberg.mpg.de
Zentrale Hard- und Softwarebeschaffung
Max-Planck-Institut für medizinische Forschung
Jahnstrasse 29
69120 Heidelberg
Fon +49 6221 486560
Fax +49 6221 486561
Mobil +49 172 6235901
More information about the Freeradius-Users
mailing list