rlm_sql Segmentation Fault

Christopher Carver ccarver at pennswoods.net
Fri May 12 16:42:11 CEST 2006


Shawn Hamman wrote:
> Ok, I am going insane.
>
> This is the story:
>
> I have two IDENTICAL servers, HP DL320, Intel P4
>
> I have Fedora Core 5 installed on both with IDENTICAL packages.
>
> I downloaded, extracted the freeradius-1.1.1.tar.gz and proceeded to 
> configure with the exact same configure statement.
>
> I installed IDENTICAL perl modules on both servers.
>
> I use IDENTICAL radius.conf, sql.conf etc. configuration files.
>
> Server 1 works fine. No problems what so ever.
>
> Server 2 throws a seg fault when loading the rlm_sql module.
>
> I have:
> - enabled and disabled shared modules and packages
> - make clean, make distclean, manually remove every freeradius file
> - re-loaded the server from scratch
> - changed the processor from a P4 to a XEON to a P4
>
> FreeRadius works just fine, right up until I load the rlm_sql module.
>
> Setup:
>
> Linux rad2. .net 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 
> 2006 i686 i686 i386 GNU/Linux
> mysql-5.0.18-2.1
>
> ./configure --with-logdir=/var/log --with-radacctdir=/var/log 
> --with-raddbdir=/etc/raddb --enable-developer

I just saw this.  Do --with-mysql



More information about the Freeradius-Users mailing list