Re: Freeradius 1.1.0 crash on FreeBSD 6

2006-01-22 Thread bishal

Ok I followed the step in bug #98 and compiled with "./configure
--disable-shared" Now when I tried to run the radiusd -X " it shows "

/libexec/ld-elf.so.1: Shared object "libperl.so" not found, required by
"radiusd"

while searching the "libperl.so" it was located in
"/usr/local/lib/perl5/5.8.7/mach/CORE/libperl.so " so I linked it with
command "# ln -s /usr/local/lib/perl5/5.8.7/mach/CORE/libperl.so
/libexec/ld-elf.so.1" but it still shows same error ?




On 1/22/2006, "Nicolas Baradakis" <[EMAIL PROTECTED]> wrote:

>[EMAIL PROTECTED] wrote:
>
>> #0  0x280ba250 in lt_dlsym (handle=0x811a800, symbol=0xbfbfd8f0
>> "rlm_counter") at ltdl.c:3330
>> 3330  lensym = LT_STRLEN (symbol) + LT_STRLEN
>> (handle->loader->sym_prefix)
>> [New LWP 100191]
>> (gdb) bt
>> #0  0x280ba250 in lt_dlsym (handle=0x811a800, symbol=0xbfbfd8f0
>> "rlm_counter") at ltdl.c:3330
>> #1  0x080544e7 in find_module_instance ()
>> #2  0x08054a64 in setup_modules ()
>> #3  0x0804c79e in main ()
>
>It's bug #98.
>http://bugs.freeradius.org/show_bug.cgi?id=98
>
>--
>Nicolas Baradakis
>
>-
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Freeradius 1.1.0 crash on FreeBSD 6

2006-01-22 Thread Nicolas Baradakis
[EMAIL PROTECTED] wrote:

> #0  0x280ba250 in lt_dlsym (handle=0x811a800, symbol=0xbfbfd8f0
> "rlm_counter") at ltdl.c:3330
> 3330  lensym = LT_STRLEN (symbol) + LT_STRLEN
> (handle->loader->sym_prefix)
> [New LWP 100191]
> (gdb) bt
> #0  0x280ba250 in lt_dlsym (handle=0x811a800, symbol=0xbfbfd8f0
> "rlm_counter") at ltdl.c:3330
> #1  0x080544e7 in find_module_instance ()
> #2  0x08054a64 in setup_modules ()
> #3  0x0804c79e in main ()

It's bug #98.
http://bugs.freeradius.org/show_bug.cgi?id=98

-- 
Nicolas Baradakis

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Freeradius 1.1.0 crash on FreeBSD 6

2006-01-22 Thread bishal

Dear all,


   I have installed Freeradius 1.1.0 in FreeBSD with Mysql
5.0.17. Authenticaiton an authorization works fine. But when I enable
the "Max-Daily-Session" module it crashes with segmentation fault. and
"radiusd.core" file is created. Below is the dumped file of
radiusd.core file:
==
bw-proj# gdb /usr/local/sbin/radiusd radiusd.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-marcel-freebsd"...(no debugging
symbols found)...
Core was generated by `radiusd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.3...(no debugging symbols
found)...done.
Loaded symbols for /lib/libcrypt.so.3
Reading symbols from /usr/local/lib/libradius-1.1.0.so...done.
Loaded symbols for /usr/local/lib/libradius-1.1.0.so
Reading symbols from /usr/local/lib/libltdl.so.4...done.
Loaded symbols for /usr/local/lib/libltdl.so.4
Reading symbols from /usr/lib/libssl.so.4...done.
Loaded symbols for /usr/lib/libssl.so.4
Reading symbols from /lib/libcrypto.so.4...done.
Loaded symbols for /lib/libcrypto.so.4
Reading symbols from /usr/lib/libpthread.so.2...done.
Loaded symbols for /usr/lib/libpthread.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/local/lib/rlm_exec-1.1.0.so...done.
Loaded symbols for /usr/local/lib/rlm_exec-1.1.0.so
Reading symbols from /usr/local/lib/rlm_expr-1.1.0.so...done.
Loaded symbols for /usr/local/lib/rlm_expr-1.1.0.so
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x280ba250 in lt_dlsym (handle=0x811a800, symbol=0xbfbfd8f0
"rlm_counter") at ltdl.c:3330
3330  lensym = LT_STRLEN (symbol) + LT_STRLEN
(handle->loader->sym_prefix)
[New LWP 100191]
(gdb) bt
#0  0x280ba250 in lt_dlsym (handle=0x811a800, symbol=0xbfbfd8f0
"rlm_counter") at ltdl.c:3330
#1  0x080544e7 in find_module_instance ()
#2  0x08054a64 in setup_modules ()
#3  0x0804c79e in main ()
=

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html