On UNIX systems, if you do not specify the Oracle home directory during installation, the installer attempts to obtain it from information contained in the Oracle installation's oratab file, which it locates using the environment variable ORATAB_LOCATION
. If ORATAB_LOCATION
does not exist, the installer then attempts to find the file using the standard pathnames
/etc/oratab
and
/var/opt/oracle/oratab.
If the installer cannot locate the oratab file using either of these methods, it cannot determine the Oracle_home directory. In this case, you must specify the Oracle home directory and oratab file by setting the OracleHome
and OratabLocation
inivars manually by using the set inivar
configuration command or by editing their definitions in the init.cfg file.
Hope it helps.
You give the path to the file, then say that you can't find it. What exactly is the issue? Is $ORACLE_HOME defined correctly? – Gnoupi – 2012-08-21T08:45:57.557
I can not find $ORACLE_HOME – hamed2 – 2012-08-21T08:51:12.150