rlm_perl - dbi - freetds works on radiusd -X but fails to sql connect in background

2009-01-07 Thread nes pa
I've changed the example.pl perl script so it 'use DBI;' to query a Sybase server via freetds. It works fine when running in foreground radiusd -X while testing. However, if ran in background, the perl script gets triggered, but the dbi connect fails: my $dbh =

Re: rlm_perl - dbi - freetds works on radiusd -X but fails to sql connect in background

2009-01-07 Thread A . L . M . Buxey
hi, do you have eg SELINUX running on this system? if so, then it may be blocking access between the processes. check your selinux log (or change the mode to permissive and check logs!) and then edit the selinux config to allow operation alan - List info/subscribe/unsubscribe? See

Re: rlm_perl - dbi - freetds works on radiusd -X but fails to sql connect in background

2009-01-07 Thread nes pa
selinux was the culprit, thank you very much! On Wed, Jan 7, 2009 at 2:22 PM, nes pa nesp...@gmail.com wrote: I've changed the example.pl perl script so it 'use DBI;' to query a Sybase server via freetds. Any hints welcome for solution or better tools to debug/strace into the perl script.