My Oracle Support Banner

Search Order for TNS files - listener.ora, sqlnet.ora, tnsnames.ora ..etc. (Doc ID 464410.1)

Last updated on JUNE 16, 2022

Applies to:

Oracle Net Services - Version to [Release 9.2 to 12.2]
Generic UNIX
Note that this does not apply to Enterprise Manager which searches ORACLE_HOME/network/admin unless TNS_ADMIN is set.


The goal of this document is to explain how Oracle Net searches for the configuration files listener.ora, sqlnet.ora, tnsnames.ora and cman.ora.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
Search order for the sqlnet.ora
 Search order for the cman.ora, listener.ora, and tnsnames.ora
Search order for ldap.ora

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.