Sally Fetouh wrote: > How do we check whether the environment is set correctly or not?
I'd call a wrapper script around your program, with a printenv command dumping the output to a file in /tmp. > The same userid is being used. 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? > Is freeradius using its own internal way of accessing and defining the > environment variables? 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). > I'm thinking maybe freeradius tries to execute > the external program within its own redefined environment? I'm thinking the environment hasn't been set correctly in the first place. -- Regards, Daryl Tester, Software Wrangler and Bit Herder, IOCANE Pty. Ltd. "So Lord I see you grinnin', must be grand always winning, How proud are you being able, to gather faith from fable?" -- God Am, Alice In Chains (R.I.P. Layne Staley). - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
