Re: rlm_perl problems]

2009-07-30 Thread Igor Smitran
. No need to apologize. I am often misunderstood because english is not my native language. I will try to patch 2.1.7 during weekend on my test server. 2.1.6 that i have problems with is on my production server. Recently i wanted to put some extra scripts into it and that's when i ran into rlm_perl

Re: rlm_perl problems]

2009-07-29 Thread Igor Smitran
Ivan Kalik wrote: Why? Alan is not the only developer. Read the copyright for rlm_perl code. I know that Boian is responsible for making our life easier :) I was asking if this patch is going to be included in next release. That is the comment i was expecting. Sorry for misunderstanding. Igor

Re: rlm_perl problems]

2009-07-29 Thread Igor Smitran
Garber, Neal wrote: The error is in rlm_perl and appears related to thread data management, not the O/S and not perl (I run FreeBSD and you run CentOS; we even have different versions of perl). Boian can explain the change far better than I can; but, my interpretation of the change is that

Re: rlm_perl problems]

2009-07-29 Thread Boian Jordanov
On Jul 29, 2009, at 9:32 AM, Igor Smitran wrote: know that Boian is responsible for making our life easier :) I was asking if this patch is going to be included in next release. That is the comment i was expecting. Sorry for misunderstanding. Sure I will pull the changes back to repository.

RE: rlm_perl problems]

2009-07-29 Thread Garber, Neal
I know how to patch. I was just trying to find out what was the error. Igor: I hope you weren't offended by my assumption - I wasn't sure, based upon your comment, and I was just trying to help. If I offended you, I apologize. By the way, out of curiosity, did the patch work for you on 2.1.7

Re: rlm_perl problems]

2009-07-28 Thread Igor Smitran
Boian Jordanov wrote: On Jul 26, 2009, at 12:59 AM, si...@blic.net si...@blic.net wrote: Igor wrote: I have tried 2.1.7 and got same error. I will try to compile it with --enable-developer and see if i can find out anything from gdb output. I realy don't know why would this happen because

Re: rlm_perl problems]

2009-07-28 Thread Ivan Kalik
I didn't try it yet and i am not very good in C. Error that I and Neal had is something regarding OS or...? I don't see anyone else having this problem except me and Neal. Also, i didn't see any comment from Alan. If this is something that was already been discussed here i am sorry for

RE: rlm_perl problems]

2009-07-28 Thread Garber, Neal
I didn't try it yet and i am not very good in C. Error that I and Neal had is something regarding OS or...? I don't see anyone else having this problem except me and Neal. The error is in rlm_perl and appears related to thread data management, not the O/S and not perl (I run FreeBSD and you

Re: rlm_perl problems]

2009-07-27 Thread Boian Jordanov
On Jul 26, 2009, at 12:59 AM, si...@blic.net si...@blic.net wrote: Igor wrote: I have tried 2.1.7 and got same error. I will try to compile it with --enable-developer and see if i can find out anything from gdb output. I realy don't know why would this happen because exactly the same

RE: rlm_perl problems]

2009-07-27 Thread Garber, Neal
] On Behalf Of Boian Jordanov Sent: Monday, July 27, 2009 10:09 AM To: si...@blic.net; FreeRadius users mailing list Cc: Boian Jordanov Subject: Re: rlm_perl problems] On Jul 26, 2009, at 12:59 AM, si...@blic.net si...@blic.net wrote: Igor wrote: I have tried 2.1.7 and got same error. I will try

RE: rlm_perl problems]

2009-07-25 Thread sigor
On Sat, 25 Jul 2009 00:01 , 'Garber, Neal' neal.gar...@energyeast.com sent: Igor: Can you rebuild FR and look at the output of rlm_perl on your system to see if you see similar errors? I will setup testing 2.1.6 freeradius and try the same configuration on it. After that i will setup 2.1.7pre

RE: rlm_perl problems]

2009-07-25 Thread sigor
On Sat, 25 Jul 2009 12:26:42 , si...@blic.net sent: On Sat, 25 Jul 2009 00:01 , 'Garber, Neal' neal.gar...@energyeast.com sent: Igor: Can you rebuild FR and look at the output of rlm_perl on your system to see if you see similar errors? I have tried 2.1.7 and got same error. I will try to

RE: rlm_perl problems]

2009-07-25 Thread sigor
Igor wrote: I have tried 2.1.7 and got same error. I will try to compile it with --enable-developer and see if i can find out anything from gdb output. I realy don't know why would this happen because exactly the same setup worked on older releases. All i did was to compile the new version

rlm_perl problems]

2009-07-24 Thread Igor Smitran
I am using Freeradius 2.1.6. I have a working setup of freeradius with perl scripts inside authorize and accounting sections. Everything works great when i am using only one script. But. if i add another script to do some other stuff for example in post-auth section i get errors in log and

Re: rlm_perl problems]

2009-07-24 Thread Ivan Kalik
I am using Freeradius 2.1.6. I have a working setup of freeradius with perl scripts inside authorize and accounting sections. Everything works great when i am using only one script. But. if i add another script to do some other stuff for example in post-auth section i get errors in log and

Re: rlm_perl problems]

2009-07-24 Thread Igor Smitran
Ivan Kalik wrote: Have you defined func_post_auth? Ivan Kalik Kalik Informatika ISP Left everything by default. Made script by using example.pl as template. Both scripts are looking exactly the same, except that i don't use default function names for perl_script_1. perl perl_script_1 {

Re: rlm_perl problems]

2009-07-24 Thread Ivan Kalik
Ivan Kalik wrote: Have you defined func_post_auth? Ivan Kalik Kalik Informatika ISP Left everything by default. Made script by using example.pl as template. Both scripts are looking exactly the same, except that i don't use default function names for perl_script_1. perl perl_script_1 {

Re: rlm_perl problems]

2009-07-24 Thread Igor Smitran
Ivan Kalik wrote: perl perl_script_1 { module = ${confdir}/config_dialup/perl_script_1.pl func_authorize = authorize_check_username func_accounting = accounting_check_username } perl perl_script_2 { module = ${confdir}/config_dialup/perl_script_2.pl }

RE: rlm_perl problems

2009-07-24 Thread Garber, Neal
=energyeast@lists.freeradius.org] On Behalf Of Igor Smitran Sent: Friday, July 24, 2009 8:30 AM To: freeradius-users@lists.freeradius.org Subject: rlm_perl problems] I am using Freeradius 2.1.6. I have a working setup of freeradius with perl scripts inside authorize and accounting sections

Re: rlm_perl problems]

2009-07-24 Thread Ivan Kalik
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

RE: rlm_perl problems]

2009-07-24 Thread Garber, Neal
+neal.garber=energyeast@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

Re: rlm_perl problems]

2009-07-24 Thread Igor Smitran
Ivan Kalik wrote: 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

RE: rlm_perl problems]

2009-07-24 Thread Garber, Neal
Igor, What version of perl and what O/S are you using? I'm using FreeBSD 7.2 with perl 5.8.9. The reason I hadn't submitted this sooner is I wanted to rule out an issue with perl (our Productions servers are running an older version of FreeBSD and perl). - List info/subscribe/unsubscribe?

Re: rlm_perl problems]

2009-07-24 Thread Igor Smitran
Garber, Neal wrote: Igor, What version of perl and what O/S are you using? I'm using FreeBSD 7.2 with perl 5.8.9. The reason I hadn't submitted this sooner is I wanted to rule out an issue with perl (our Productions servers are running an older version of FreeBSD and perl). perl, v5.8.8

Re: rlm_perl problems]

2009-07-24 Thread Ivan Kalik
Garber, Neal wrote: Igor, What version of perl and what O/S are you using? I'm using FreeBSD 7.2 with perl 5.8.9. The reason I hadn't submitted this sooner is I wanted to rule out an issue with perl (our Productions servers are running an older version of FreeBSD and perl). perl, v5.8.8

RE: rlm_perl problems]

2009-07-24 Thread Garber, Neal
Two perl instances running different perl scripts! I would suggest following instructions in doc/bugs to find out what is causing the segfault. rlm_perl is acting very strangely on my 2.1.6 test system (beyond what I've already mentioned). I have two instances of a script called