Figuring out location of tnsnames.ora and listener.ora file.
557564Jul 14 2008 — edited Jul 14 2008Hello.
Is there a way to figure out what my oracle instance is reading in terms of tnsnames.ora and/or listener.ora file? According to the 10g docs, they can be found in a few places:
1. $ORACLE_HOME/network/admin
2. $TNS_ADMIN
3. in a global configuration directory, on solaris it is /var/opt/oracle.
How would I know which one my instance/lsnrctl is reading, aside from checking out differences in behavior?
Plus, how would I change where to look for the file?
thanks.