Hi Daryl,

Thanks very much for your help! We found out that the environment was being
reset somehow by freeradius and managed to call a wrapper unix shell script
(like you suggested) that first sets the environment variables (in exactly
the same way as .profile) before calling the program. It all works nicely
now!

Thanks,
Sally Fetouh

> I'd call a wrapper script around your program, with a printenv command
> dumping the output to a file in /tmp.
>
> Is this the same _unix_ user ID, or Oracle user id?
>
> Are you manually (or automatically, through .profile) calling oraenv
> to set your environment (ORACLE_SID, etc)?  Does your program (which
> I haven't seen a lot of detail on) require these variables, like
> sqlplus typically does?  Does it use OCI?
>
> It will inherit the environment of its parent process - if it's started
> as a typical Unix daemon, then that isn't a lot (I don't know whether it
> scrubs the environment it passes on to sub-processes, either).
>


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

Reply via email to