SV: Freeradius several segfaults at heavy load and startup ?

Alexander Silveröhrt Alexander.Silverohrt at itux.se
Thu Nov 29 06:34:53 CET 2012


Versions:
Linux version 2.6.32-5-amd64 (Debian 2.6.32-45) (dannf at debian.org) (gcc version 4.3.5 (Debian 4.3.5-4)
freeradius: FreeRADIUS Version 2.1.10, for host i486-pc-linux-gnu, built on Nov 14 2010 at 20:41:03
perl v5.10.1 (*) built for i486-linux-gnu-thread-multi
mysql Server version: 5.5.27-1~dotdeb.0-log (Debian)

And again if not started with LD_PRELOAD then DBI will fail
root at itop1-db1:~# freeradius
Can't load '/usr/local/lib/perl/5.10.1/auto/DBI/DBI.so' for module DBI: /usr/local/lib/perl/5.10.1/auto/DBI/DBI.so: undefined symbol: PL_memory_wrap at /usr/lib/perl/5.10/DynaLoader.pm line 192.
 at /usr/local/lib/perl/5.10.1/DBI.pm line 266
BEGIN failed--compilation aborted at /usr/local/lib/perl/5.10.1/DBI.pm line 266.
Compilation failed in require at /etc/freeradius/customhook.pl line 10.

Just followed the solution from the mailing list and it worked to get DBI working.
http://lists.freeradius.org/pipermail/freeradius-users/2008-September/031333.html

best regards
Alex
-----Ursprungligt meddelande-----
Från: freeradius-users-bounces+alexander.silverohrt=itux.se at lists.freeradius.org [mailto:freeradius-users-bounces+alexander.silverohrt=itux.se at lists.freeradius.org] För Phil Mayers
Skickat: den 28 november 2012 10:50
Till: freeradius-users at lists.freeradius.org
Ämne: Re: Freeradius several segfaults at heavy load and startup ?

On 11/28/2012 04:28 AM, Alexander Silveröhrt wrote:
> Hello,
>
> Wondered if anyone have any idea about below. If started with flag -X
> everything starts up ok but without -X then it crashes with these
> messages in the log.(atleast most of the time if one is persistent then
> it may well start up properly sometimes without the -X flag) As soon as
> it starts ok then there seems to be no problem whatsoever.

Which version?

> It runs perfectly with the same config and perl hooks at a lab machine
> where there are no traffic. Searching through the web doesn't give much
> info?
>
>
> Any ideas would be appreciated.
>
> Thank you.
> Alex
>
> root at itop0-db0:/scripts# LD_PRELOAD=/usr/lib/libperl.so.5.10

Why are you fiddling with LD_PRELOAD?

Presumably the perl module is the problem, but you shouldn't need to
PRELOAD anything (and in fact, shouldn't, as the ABI might have changed).
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

********* DISCLAIMER *********

This message and any attachment are confidential and may be privileged or otherwise protected from disclosure and may include proprietary information. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person


More information about the Freeradius-Users mailing list