Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle Env vars
On Tue, 21 Dec 2004 10:41:53 -0900, "David E. Grove"
<david_grove_at_correct.state.ak.us> wrote:
>How do processes run via user oracle know the SID and base directory? Are
>they stored in files someplace for user oracle's use?
They simply use oraenv, which is an Oracle provided script relying on
/etc/oratab (All Unixes, except Solaris) or /var/opt/oracle/oratab
(Solaris)
The implication of the advisory is you should use oraenv rather than
hardcode them.
-- Sybrand Bakker, Senior Oracle DBAReceived on Tue Dec 21 2004 - 13:47:25 CST