Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: [Q] How does UNIX know where $ORACLE_HOME is?
Hi,
There is a small script called "oraenv" which uses another script called "orahome" which looks in the "oratab" file for the appropriate ORACLE_HOME for your ORACLE_SID. "Oraenv" is probably executed in your .profile or in /etc/profile.
Regards,
Zeth
JOC <oconnorj_at_freenet.co.uk> wrote in message news:385e148c.8347087_at_NEWS...
> Hi,
>
> This came up at work today and is pure curiosity. We all use
> $ORACLE_HOME (HP-UX server), but we don't have it in our .profiles.
> I've looked it up in the handbook, and it seems to be a mixture of
> /etc/oratab and the listener, but I still can't work out how the OS
> knows where ORACLE_HOME is.
>
> Please help - it's going to niggle me until I find out.
>
> Yours in anticipation
>
> Jo
>
>
> *************************************************
>
> The usual - anything I say reflects on me, and not upon my current
employer.
>
> *************************************************
Received on Mon Dec 20 1999 - 07:32:02 CST
![]() |
![]() |