TNS-12560: TNS:protocol adapter error

本文涉及的产品
云防火墙,500元 1000GB
简介: <div style="font-family:'lucida Grande',Verdana,'Microsoft YaHei'; font-size:14px; line-height:23px"> <div><span style="color:#3366ff">tnsping自己主机ping得通ping其他机器ping不通<span style="font-family:'lu
tnsping自己主机ping得通ping其他机器ping不通 是防火墙没有关

tnsping jssstr

TNS Ping Utility for Linux: Version 10.2.0.5.0 - Production on 31-JUL-2013 15:10:18

Copyright (c) 1997,  2010, Oracle.  All rights reserved.

Used parameter files:


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.10.37)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = jssstr)))
TNS-12560: TNS:protocol adapter error

tnsping远程主机实例出现tnsping 出现TNS- 12560: TNS:protocol adapter error
两台主机centos5.1 主机,都安装oracle 10.2.0.1版本,一台oracle软件 是从另一台通过tar,然后ftp过去的。
今天从一台主机A tnsping 主机B上的实例,出现如下错误

Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.4.179)(PORT = 1529)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = ora10)))
TNS-12560: TNS:protocol adapter error
主机B上重启监听lsnrctl stop正常

[oracle@jssweb ~]$ tnsping jssstr

TNS Ping Utility for Linux: Version 10.2.0.5.0 - Production on 31-JUL-2013 15:10:18

Copyright (c) 1997,  2010, Oracle.  All rights reserved.

Used parameter files:


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.10.37)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = jssstr)))
TNS-12560: TNS:protocol adapter error

本机B tnsping自己正常,tnsping A也正常,而其他所有主机tnsping 都出现如上错误,tnsname.ora 设置正常,端口修改也不能解决远程主机Atnsping B成功。

最后发现是 主机A服务器防火墙已经关闭,而主机B上防火墙没有关闭进行如下操作

[root@localhost ~]# service iptables stop
Flushing firewall rules: [ OK ]

Setting chains to policy ACCEPT: filter [ OK ]

Unloading iptables modules: [ OK ]

防火墙关闭后一切正常。

目录
相关文章
|
6月前
|
Oracle 关系型数据库 Java
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
1493 0
|
Oracle 关系型数据库 Unix
ORA-12162: TNS:net service name is incorrectly specified
ORA-12162: TNS:net service name is incorrectly specified
195 0
|
Oracle 关系型数据库 Linux
TNS-12541: TNS:no listener TNS-12560 TNS-00511: No listener
为了测试需要,系统管理员帮忙将一台ORACLE数据库服务器克隆到虚拟机上,我上去删除了root、oracle、tomcat账号下的crontab定时作业,然后启动了ORACLE数据库实例,删除了ORACLE下的作业,然后启动监听时报如下错误: [oracle@EGMLNX02 admin]$ lsnrctl stop LSNRCTL for Linux: Version 10.
2218 0
|
SQL Oracle 关系型数据库
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor案例2
今天使用SQL Developer连接一台测试服务器数据库(ORACLE 11g)时,遇到了“ORA-12514, TNS:listener does not currently know of service requested in connect descriptor”错误,具体提示如下所示:...
5399 0
|
网络协议 Oracle 关系型数据库
|
网络协议 关系型数据库 Linux
|
关系型数据库
【MOS】TNSPING TNS-12543: TNS:destination host unreachable (文档 ID 1556918.1)
In this Document Symptoms Cause Solution APPLIES TO: Oracle Net Services - Version 11.
1631 0
|
监控 Oracle 关系型数据库
ORA-12560: TNS: Protocol Adapter Error ORA-00600: [2037] 在WIN上一次处理
database:10.2.0.1 OS WINDOWS SERVER 2008 今天由于朋友的数据的断电重启后,数据库起不来,更蛋疼的是SQLPLUS,LSNRCTL都进不去 要么一直hang住要么报错  ORA-12560: TNS: Protocol A...
1214 0