hi,
thank to Raymond and Artur for answering my earlier questions.
I'm following the "EAP/TLS +windXP howto " to setup freeradius.
on a redhat 7.2 using freeradius 0.8.1 + openssl 0.9.7 stable.
after I compiled and installed openssl and freeradius,
got a "Module instantiation failed" when starting up radiusd.
can somebody please advice what i'm missing.
thanks,
jason
the error messge is follows:
[root@radius2 lib]# /etc/rc.d/init.d/run-radiusd -X -A
+ LD_LIBRARY_PATH=/usr/local/openssl/lib
+ LD_PRELOAD=/usr/local/openssl/lib/libcrypto.so
+ export LD_LIBRARY_PATH LD_PRELOAD
+ /usr/local/sbin/radiusd -X -A
Starting - reading configuration files ...
reread_config: reading radiusd.conf
Config: including file: /etc/raddb/proxy.conf
Config: including file: /etc/raddb/clients.conf
<snip>
main: prefix = "/usr/local"
main: localstatedir = "/usr/local/var"
main: logdir = "/usr/local/var/log/radius"
main: libdir = "/usr/local/lib"
main: radacctdir = "/usr/local/var/log/radius/radacct"
<snip>
Module: Loaded System
unix: cache = no
unix: passwd = "(null)"
unix: group = "(null)"
<snip>
Module: Instantiated unix (unix)
Module: Loaded eap
eap: default_eap_type = "tls"
eap: timer_expire = 60
radiusd.conf[572]: eap: Module instantiation failed.
My system configuration information:
openssl 0.9.7 ( 12-31-2002)
freeradius 0.8.1(12-11-2002) ,and redhat 7.2 ( kernel 2.4.7-10)
openssl was compiled with
./config --prefix=/usr/local/openssl shared
freeradius was compiled with the following Makefile in
src/modules/rlm_eap/types/rlm_eap_tls
# Generated automatically from Makefile.in by configure.
TARGET = rlm_eap_tls
SRCS = rlm_eap_tls.c eap_tls.c cb.c tls.c mppe_keys.c
RLM_CFLAGS = $(INCLTDL) -I../.. -I/usr/local/openssl/include/openssl
-I/usr/kerberos/include
HEADERS = eap_tls.h
RLM_INSTALL =
RLM_LDFLAGS += -L/usr/local/openssl/lib
RLM_LIBS += -lssl -lcrypto
$(STATIC_OBJS): $(HEADERS)
$(DYNAMIC_OBJS): $(HEADERS)
RLM_DIR=../../
include ${RLM_DIR}../rules.mak
# checked library used by rlm_eap_tls
[root@radius2 lib]# ldd /usr/local/lib/rlm_eap_tls-0.8.1.so
libssl.so.0.9.7 => /usr/local/openssl/lib/libssl.so.0.9.7 (0x40008000)
libcrypto.so.0.9.7 => /usr/local/openssl/lib/libcrypto.so.0.9.7 (0x40037000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40139000)
libresolv.so.2 => /lib/libresolv.so.2 (0x4014f000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40161000)
libc.so.6 => /lib/i686/libc.so.6 (0x40176000)
libdl.so.2 => /lib/libdl.so.2 (0x402b2000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html