Home  >  Article  >  Database  >  Oracle中tnsping命令解析

Oracle中tnsping命令解析

WBOY
WBOYOriginal
2016-06-07 17:32:241450browse

Oracle Net 工具(命令)tnsping,是一个OSI会话层的工具,它用来:验证名字解析(name resolution,是oracle自己的网络服务名)

Oracle Net 工具(命令)tnsping,是一个OSI会话层的工具,它用来:

1)验证名字解析(name resolution,,是oracle自己的网络服务名)

2)远程的listener是否启动

1.远程tnsping

Oracle中tnsping命令解析

2.关闭监听

Oracle中tnsping命令解析

3.启动监听,重新验证

Oracle中tnsping命令解析

总结:

1.tnsping 命令可以检查tcp协议是否已同,俗称我们说的网络通不通

2.tnsping命令监听服务器上的监听是否已开启

3.tnsping命令不检测服务器上的监听的服务名,所以tnsping通,不代表就能连通。

推荐阅读:

不同用户下使用tnsping+客户端服务名,结果不同

Oracle数据库中listener.ora sqlnet.ora tnsnames.ora的区别

Oracle RAC 下非缺省端口监听配置(listener.ora tnsnames.ora)

Oracle RAC 监听配置 (listener.ora tnsnames.ora)

Oracle: listener.ora 、sqlnet.ora 、tnsnames.ora的配置及例子

Oracle本地命名服务tnsnames.ora配置

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn