ITPub博客

首页 > Linux操作系统 > Linux操作系统 > unix/linux搜寻tnsnames.ora规则

unix/linux搜寻tnsnames.ora规则

原创 Linux操作系统 作者:myownstars 时间:2012-06-19 12:59:34 0 删除 编辑

Oracle Net Services configuration files are typically, but not always, located in the $ORACLE_HOME/network/admin directory. Depending on the type of file, Oracle Net uses a different search order to locate the file.

The search order for the sqlnet.ora and ldap.ora files is as follows:

1.    The directory specified by the TNS_ADMIN environment variable, if this environment variable is set

2.    The $ORACLE_HOME/network/admin directory

The search order for the cman.ora, listener.ora, and tnsnames.ora files is as follows:

1.    The directory specified by the TNS_ADMIN environment variable, if this environment variable is set

2.    One of the following directories:

o    On Solaris:

o    /var/opt/oracle

o    On other platforms:

o    /etc

3.    The $ORACLE_HOME/network/admin directory

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/15480802/viewspace-733245/,如需转载,请注明出处,否则将追究法律责任。

上一篇: ora-1555小结
请登录后发表评论 登录
全部评论

注册时间:2010-03-18

  • 博文量
    375
  • 访问量
    3095733