mk_oracle: search for tnsnames.ora also in the default ORACLE_HOME/network/admin directory

17 votes

By default, the tnsnames.ora file is located in the ORACLE_HOME/network/admin directory.

But mk_oracle uses by default the path from $TNS_ADMIN (if set) or $MK_CONFDIR to search for the tnsnames.ora.

If tnsnames.ora can't be found mk_oracle fails to run. To avoid this, mk_oracle should also look for tnsnames.ora in the default path "ORACLE_HOME/network/admin".

Not planned Checks&Agents Suggested by: Lars Sörensen Upvoted: 07 Feb Comments: 1

Comments: 1