简体   繁体   English

Linux 中的 TNS 条目

[英]TNS entries in Linux

I have to update TNS entries in a Linux server.我必须在 Linux 服务器中更新 TNS 条目。 I am trying to search tnsname.ora file but unable to.我正在尝试搜索 tnsname.ora 文件,但无法搜索。 "locate tnsname.ora" is not giving me any result."find $ORACLE_HOME -name tnsnames.ora" is also not giving any result. “locate tnsname.ora”没有给我任何结果。“find $ORACLE_HOME -name tnsnames.ora”也没有给出任何结果。 I went to the path /usr/lib and then did ls , but I do not have any "oracle" dir under it, Result of "/u01/app/oracle/product/10.2.0/db_1/NETWORK/ADMIN" -bash: /u01/app/oracle/product/10.2.0/db_1/NETWORK/ADMIN: No such file or directory我去了路径 /usr/lib 然后做了 ls ,但我在它下面没有任何“oracle”目录,“/u01/app/oracle/product/10.2.0/db_1/NETWORK/ADMIN”的结果 - bash: /u01/app/oracle/product/10.2.0/db_1/NETWORK/ADMIN: 没有那个文件或目录

And where can I update the TNS entries?我在哪里可以更新 TNS 条目?

Try with netca or netmgr executables (if available).尝试使用 netca 或 netmgr 可执行文件(如果可用)。 Be sure to know TNS_ADMIN environment variable - if set.一定要知道 TNS_ADMIN 环境变量 - 如果设置。 network/admin is lowercase on *nix (if my memory is good) *nix 上的 network/admin 是小写的(如果我记性好的话)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM