Here's a small excerpt from debug output I have showing this problem: Tue Jul 21 09:32:36 2009 : Error: rlm_perl: perl_embed:: module = /usr/local/etc/raddb/write_log_data.pl , func = post_auth_reject exit status= Undefined subroutine &main::post_auth_reject called. Segmentation fault: 11 (core dumped) Subroutine post_auth_reject definitely exists in write_log_data.pl and this same script/config is working in my Production 2.0.3 and 2.0.5 systems. -----Original Message----- From: freeradius-users-bounces+neal.garber=energyeast.com@lists.freeradius.org [mailto:freeradius-users-bounces+neal.garber=energyeast.com@lists.freeradius.org] On Behalf Of Ivan Kalik Sent: Friday, July 24, 2009 10:43 AM To: FreeRadius users mailing list Subject: Re: rlm_perl problems]
It ends with freeradius crashing. If i disable all other perl calls and leave only dummy.pl works with no problems. Same goes for other way around. Basicaly, any combination that involves only one perl script works without any problems. If i use two perl scripts in any combination freeradius crashes.
Let me see if I understand well: you can run multiple perl module instances as long as they execute same script; if different instances run different scripts - freeradius crashes! I will try to emulate this tonight. I haven't tried this scenario. But I can run perl + radcheck (also perl script, but not called through perl module) without problems. Ivan Kalik Kalik Informatika ISP - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html