Can I use /var/opt/oracle/oratab to specify listener information?
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).
This Content Component encountered an error
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.