error of segmentation during the implementation of eap2
arnauld ndefo
ndefo2002 at yahoo.fr
Tue Sep 18 14:42:34 CEST 2012
Thank you for your reply Alan.
I am working on a project which is based on EAP_PSK and implement this is the first part.
As you have recommend, i have used the gdb to debug and see the problem. The output that i have is below
# gdb radiusd
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/sbin/radiusd...done.
(gdb) set logging file gdb-radiusd.log
(gdb) set logging on
Copying output to gdb-radiusd.log.
(gdb) set args -f
(gdb) run
Starting program: /usr/local/sbin/radiusd -f
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
0x080529d3 in cf_log_err (ci=0x0,
fmt=0x8085210 "\"%s\" modules aren't allowed in '%s' sections -- they have no such method.") at conffile.c:2641
2641radlog(L_ERR, "%s[%d]: %s", ci->filename, ci->lineno, buffer);
Seems that in some part of a code, the eap2 module is not allowed.
Do you have an idea about this error please.
Thank you for your help.
________________________________
De : Alan DeKok <aland at deployingradius.com>
À : arnauld ndefo <ndefo2002 at yahoo.fr>; FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Envoyé le : Mardi 18 septembre 2012 11h47
Objet : Re: error of segmentation during the implementation of eap2
arnauld ndefo wrote:
> i want to implement the freeradius with eap-psk. In many forum it is
> recommend to read the experimental.conf for configure the module eap2.
> After reading the experimental.conf, i have created the file eap2.conf
> which is attached to my email.
> Also, in the radius.conf, i have put in module section $INCLUDE
> eap2.conf. In the default file, i have put in the authenticate section
> eap2 { ok = return}; replace in that file, all the eap by eap2.
OK.
> When i launch the radius with export
> LD_PRELOAD=/home/dibus/hostap-06/eap_example/libeap.so && radiusd -X ; i
> have the output which is in file sortie_freerad_ubuntu. At the end, you
> will see and error of segmentation when it starts to load the module files
See doc/bugs
> Someone can help me to find the issue please??? It is very urgent for me.
It's nice that it's urgent for you. It's not urgent for us.
*Why* is it urgent? Are you a student doing an assignment? Or
someone whose job requires EAP-PSK?
Please explain.
Alan DeKok.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120918/b5b0b75c/attachment.html>
More information about the Freeradius-Users
mailing list