Location of Networking Files in a Read-Only Oracle Home
Learn about the search order and location of networking files like sqlnet.ora, tnsnames.ora, or listener.ora in a read-only Oracle home.
The networking directories network/admin, network/trace, and network/log are located in the ORACLE_BASE_HOME directory. In a read/write ORACLE_HOME the networking directories appear to be in ORACLE_HOME because ORACLE_BASE_HOME is co-located with ORACLE_HOME, whereas in a read-only ORACLE_HOME the networking directories are located in ORACLE_BASE/homes/HOME_NAME.
tnsnames.ora
The order for checking the tnsnames.ora file in a read-only Oracle home is:
- The directory specified by the
TNS_ADMINenvironment variable. - The
/var/opt/oracledirectory on Oracle Solaris and the/etcdirectory on other UNIX platforms. - The
ORACLE_BASE_HOME/network/admindirectory. - The
ORACLE_HOME/network/admindirectory.
sqlnet.ora
The order for checking the sqlnet.ora file in a read-only Oracle home is:
- The directory specified by the
TNS_ADMINenvironment variable. - The
ORACLE_BASE_HOME/network/admindirectory. - The
ORACLE_HOME/network/admindirectory.
Password Files
The search order for password files in a read-only Oracle home is ORACLE_BASE_HOME/dbs followed by ORACLE_HOME/dbs.
Related Topics
Parent topic: Evolution of Oracle Homes