Hi Maria,
Can I use /var/opt/oracle/oratab to specify listener information?

    Requires Free Membership to View

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 was first published in May 2007

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.