Re: FreeRADIUS - FreeBSD - Segmentation fault

2005-10-13 Thread Christian Meutes

Hi,

it seems that freeradius has problems with running MySQL with linuxthreads, 
when compiling MySQL with native pthreads then its running.
I dont know why this makes problems only with freeradius, other 
applications are running just fine with MySQL and linuxthreads...



--On Wednesday, October 12, 2005 15:00:10 -0400 Dusty Doris 
[EMAIL PROTECTED] wrote:




Just wondering if you've had any luck?  I just installed freeradius 1.0.5
from the ports tree (it was finally updated) on a freebsd 5.4 jail and
its starting up for me.  I've got to run to a meeting now, but I will be
testing it later with actual data.

-Dusty

- 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 - FreeBSD - Segmentation fault

2005-10-12 Thread Dusty Doris


Just wondering if you've had any luck?  I just installed freeradius 1.0.5 
from the ports tree (it was finally updated) on a freebsd 5.4 jail and its 
starting up for me.  I've got to run to a meeting now, but I will be 
testing it later with actual data.


-Dusty

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


Re: FreeRADIUS - FreeBSD - Segmentation fault

2005-10-04 Thread Dusty Doris

On Mon, 3 Oct 2005, Alan DeKok wrote:


Christian Meutes [EMAIL PROTECTED] wrote:

are there any new findings in context to the problem with
FreeRADIUS(rlm_sql_mysql?)  1.0.4 under FreeBSD?
I have just tested it with FreeBSD5.4-Release and FreeRADIUS out of the ports
and the problem still exists:


 I don't have access to a FreeBSD box, so I can't track down the
problem.

 I did have access to one for a while, and found a bug which is fixed
in 1.0.5.  That *should* have fixed the problem, but it appears to
still be there.

 Alan DeKok.



Just an FYI.  I just put into production late last night, two freeradius 
1.0.5 servers running on freebsd 5.4, which are using rlm_mysql.  They are 
setup only as accounting servers.  I have all my other radius servers 
sending the accounting data over to them.


I have not seen any issues in my testing in the lab or today in production 
with these machines.  I will be setting up another instance of it in our 
lab next week to mirror production, so if I run into any problems I'll let 
you all know and maybe I can get Alan or whomever temporary access to that 
machine to check it out.  But so far, I just haven't seen any problems.


-Dusty Doris

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


Re: FreeRADIUS - FreeBSD - Segmentation fault

2005-10-04 Thread Alan DeKok
Dusty Doris [EMAIL PROTECTED] wrote:
 Just an FYI.  I just put into production late last night, two freeradius 
 1.0.5 servers running on freebsd 5.4, which are using rlm_mysql. 

  The crash was reported on 4.x, so I'll see if I can reproduce it there.

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


Re: FreeRADIUS - FreeBSD - Segmentation fault

2005-10-04 Thread Dusty Doris


a few thing would be nice to know to maybe localize the problem further:
Are you running FreeBSD 5.4-Release or 5.4-Stable?
Which MySQL version are you running and do you have compiled it with native 
threads or with linuxthreads?


I installed freebsd 5.4-release and then updated the source about one week 
ago with the following:


cvsup standard-supfile (tag=RELENG_5_4)
cd /usr/src
make buildworld
make buildkernel KERNCONF=mykernel (didn't change much in the kernel)
 -added options SMP
 -added device CARP
 -removed all cpu accept I686_CPU
 -changed ident
make installkernel KERNCONF=mykernel
reboot
mergemaster -p
make installworld
mergemaster
reboot

I installed everything except freeradius from ports with all the defaults 
(eg: make install clean)


 # pkg_info -Ea
bash-3.0.16_1
cvsup-without-gui-16.1h_2
gdbm-1.8.3_1
gettext-0.14.5
gmake-3.80_2
libiconv-1.9.2_1
libltdl-1.5.20
libtool-1.3.5_2
libtool-1.5.20
mysql-client-4.1.14
mysql-server-4.1.14
openssh-portable-4.2.0.0,1
perl-5.8.6_2

# uname -a
FreeBSD radsql1.soc.int 5.4-RELEASE-p7 FreeBSD 5.4-RELEASE-p7 #0: Tue Sep 27 14:14:11 EDT 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/carp  i386


Installed freeradius last from source simply doing ./configure 
--prefix=/usr/local/freeradius105.


My radiusd.conf is very stripped down.  Basically this machines only 
purpose is to do radius accounting to mysql, so almost everything is 
commented out or blank (such as users).  However, I did test 
authentication with it briefly with an out of the box configuration only 
modifying sql.conf username/password and uncommenting all instances of sql 
in radiusd.conf.


Hope that is helpful.  If you have any more questions, fire away.

-Dusty

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


FreeRADIUS - FreeBSD - Segmentation fault

2005-10-02 Thread Christian Meutes
Hi Alan and others,

are there any new findings in context to the problem with
FreeRADIUS(rlm_sql_mysql?)  1.0.4 under FreeBSD?
I have just tested it with FreeBSD5.4-Release and FreeRADIUS out of the ports
and the problem still exists:
---
rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
rlm_sql (sql): Attempting to connect to [EMAIL PROTECTED]:/radius
rlm_sql (sql): starting 0
rlm_sql (sql): Attempting to connect rlm_sql_mysql #0
Segmentation fault (core dumped)
---
 Thomas Krause (Webmatic) [EMAIL PROTECTED] wrote:
 I tried both, version 1.0.4 (from ports) and 1.0.5 - and both crashed.
 Also I tried with mysql 4.0.26 with the same result.
 
  It looks like the bug exists *only* on FreeBSD.  For the life of me,
 I can't figure out why.
 
  Alan DeKok.
 
 - 
 List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
 

Christian Meutes
systems engineer
-- 
claranet gmbh   internet service provider
tel   +49 (0) 69  - 40 80 18 - 300
email: [EMAIL PROTECTED]  http://www.claranet.de/

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