To continue reading for free, register below or login
To read more you must become a member of SearchOracle.com
');
// -->

The oratab file located in /etc (/var/opt/oracle for Solaris) is used to identify the databases running on a server and their respective ORACLE_HOMEs. The information in this file is used by the dbhome script (which is called by running oraenv) to set your ORACLE_HOME, PATH and other variables. If you're curious about how this all works, I would recommend stepping through both the oraenv and dbhome scripts. You cannot keep listener information in this file. The listener.ora file located in $ORACLE_HOME/network/admin (unless you set $TNS_ADMIN to point elsewhere) is where you would configure your listener(s).
|