今天遇到:ORA-12537 TNS:连接关闭,监听正常,集群正常,数据库正常,查了一下才发现问题。

LISTENER日志报错

TNS-12546: TNS:permission denied

TNS-12560: TNS:protocol adapter error

TNS-00516: Permission denied

设置限制登录

tcp.validnode_checking=yes

tcp.invited_nodes=(136.3.67.11,136.1.10.11,136.1.10.12,136.1.10.13,136.1.10.14,136.1.10.7,136.1.10.8,136.1.10.6,10.0.1.11,10.0.1.12,10.0.1.6,10.0.1.7,10.0.1.8)

What is Validnode Verification and How to Use It (Doc ID 462933.1)

metalink

In this Document

Goal

Fix

APPLIES TO:

Oracle Net Services - Version 9.2.0.1.0 and later

Information in this document applies to any platform.

GOAL

How to control access to the database and understand validnode checking.

FIX

You can configure the sqlnet.ora file to allow and deny access to the database via the validnode checking parmeters. (Earlier versions of Oracle, 8i and lower used the protocol.ora file)

TCP.VALIDNODE_CHECKING

Use to specify whether to screen access to the database.Value is either YES or ON

TCP.EXCLUDED_NODES

Use to specify which clients using the TCP/IP protocol are denied access to the database. Hostname and ipaddress can be used

TCP.INVITED_NODES

Use to specify which clients using the TCP/IP protocol are allowed access to the database. Hostname and ipadddress can be used.

Example sqlnet.ora file (set where database is running)

TCP.VALIDNODE_CHECKING = YES

TCP.EXCLUDED_NODES= (138.3.33.33)

TCP.INVITED_NODES=(138.4.44.44, hammer)

Would cause the SQL*plus from client "138.3.33.33" to error

sqlplus scott/tiger@orcl

SQL*Plus: Release 10.2.0.1.0 - Production on Tue Oct 16 11:48:40 2007

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

ERROR:

ORA-12537: TNS:connection closed

Level 16 listener trace will show

nttvlser: valid node check on incoming node 138.3.33.33

nttvlser: Denied Entry: 138.3.33.33

nttcon: exit

nserror: entry

nserror: nsres: id=1, p=65, ns=12546, ns2=12560; nt[0]=516, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=

Listener log will show

16-OCT-2007 11:48:40 * 12546

TNS-12546: TNS:permission denied

TNS-12560: TNS:protocol adapter error

TNS-00516: Permission denied

But would allow connections from machines "138.4.44.44" and "hammer" to pass.Please note that without the servers host name or ip address in the invited list, then PMON will not register with the listener.

Any changes to the values requires the TNS listener to be reloaded

All host names must be resolvable or the TNS listener will not start

Invited list takes precedence over excluded listed

All entries must be on one line(Best to add entries via Net Manager)

SCAN and TCP.INVITED_NODES will require the SCAN VIPs and Node Vips to be added to the Grid Infrastructure SQLNET.ORA file.

oracle tns 连接关闭,ORA-12537 TNS:连接关闭相关推荐

  1. oracle11 不能连接,oracle11G ora 12514 tns监听程序当前无法识别连接描述符中请求的服务...

    进入 cmd sqlplus / as sysdbaselect status from v$instance ;exit lsnrctl status 给出上面的结果更多追问追答追问追答sql ...

  2. 客户端oracle12537连接关闭,ORA-12537:TNS:连接关闭 和 TNS-12547: TNS: 丢失连接

    客户端连接oracle无服务器提示ORA-12537:TNS:连接关闭 今天有个朋友出现了这么一个情况,在使用pl/sql连接数据库的时候提示ORA-12537:TNS:连接关闭. 查看过程(为了保密 ...

  3. oracle tns测试,在客户端配置TNS测试报错ORA-12170:TNS:连接超时

    在Red Hat Enterprise Linux Server Releae 5.5 成功安装ORACLE 10g 后,在客户端配置TNS后,测试是否可以连接到数据块服务器,结果报错: ORA-12 ...

  4. oracle rac ora 12537,解决11gR2 Rac ORA-12537: TNS:connection closed 一例

    Solaris 10, oracle 11.2.0.3, RAC, 非ASM, 使用SCAN和DNS 状况: # tnsping ISUITE TNS Ping Utility for Solaris ...

  5. oracle12541无法连接,“Oracle 连接报错:ORA-12541: TNS: 无监听程序”解决方案

    环境描述: Oracle数据库部署在远程机器虚拟机上,本地配置Oracle网络配置,通过PL/SQL连接数据库: 本地已经配置了Oracle Net Manager文件,但是测试后,连接不上Oracl ...

  6. oracle连接 无监听程序,“Oracle 连接报错:ORA-12541: TNS: 无监听程序”解决方案 | 学步园...

    环境描述: Oracle数据库部署在远程机器虚拟机上,本地配置Oracle网络配置,通过PL/SQL连接数据库: 本地已经配置了Oracle Net Manager文件,但是测试后,连接不上Oracl ...

  7. .net 连接oracle 无法解析指定的连接标识符,asp.net – Oracle.ManagedDataAccess:TNS:无法解析指定的连接标识符...

    尝试从新的ASP.NET MVC 4应用程序连接到Oracle数据库时出现以下错误:"ORA-12154:TNS:无法解析指定的连接标识符".我正在使用Oracle.Managed ...

  8. plsql无法连接linux下的oracle服务器,提示:ora-12541:TNS 无监听程序

    1 windows上安装Oracle的客户端. 2 确保linux服务器上的1521端口开放. 3 看你的window机器是够能够ping同linux服务器的ip地址 4 在windows中的Orac ...

  9. Linux ora12541无监听程序,plsql无法连接linux下的oracle服务器,提示:ora-12541:TNS 无监听程序...

    1 windows上安装Oracle的客户端. 2 确保linux服务器上的1521端口开放. 3 看你的window机器是够能够ping同linux服务器的ip地址 4 在windows中的Orac ...

  10. Oracle10g安装了11g的ODAC后,PL/SQL连接提示TNS:无法解析指定的连接标识符

    最近刚刚加入了一个新的项目,目前需求已经完成,即将进入详细设计阶段.项目框架要借助其它项目组正在开发的一个多项目系统框架,采用这个主体框架开发咱自己系统的模块,这几天就了解了一下此框架的构成,主要采用 ...

最新文章

  1. ISC 2020技术日丨 网络空间危机四伏,如何发现威胁的蛛丝马迹?
  2. 创建docker用户组并加入
  3. 《Android传感器开发与智能设备案例实战》——第1章,第1.2节Android的巨大优势...
  4. instanceof 是什么意思
  5. vue 组件监听页面切换_vue项目如何监听窗口变化,达到页面自适应?
  6. SpringCloud 搭建项目环境、创建 Dept 微服务、客户端调用微服务
  7. Apache Commons ArrayUtils.toString(Object)与JDK Arrays.toString(Object)
  8. ThinkPHP3.2.3--Linux服务器首页文件index.php路径配置问题
  9. 如何通过IDEA看Java源码
  10. 七彩虹断剑C.A320M-K PRO V14安装PCI-E X4转m.2转接卡,并用m.2固态作为系统盘
  11. onkeyup和onafterpaste键盘输入限制
  12. 平台商家面临“血本无归”风险,你真的了解电商二清吗
  13. 【区块链 | Compound】4.剖析DeFi借贷产品之Compound:清算篇
  14. autojs微信运动自动点赞
  15. Excel怎样恢复科学计数法显示的数据
  16. 苹果手机怎么连接蓝牙耳机_「科技犬」除了苹果AirPods,真无线蓝牙耳机到底怎么选?_蓝牙耳机...
  17. Access-Control-Allow-Origin配置报错
  18. 腾讯文档服务器,腾讯内部培训资料服务器硬件介绍-20210712081429.ppt-原创力文档...
  19. yo : 无法加载文件 D:\MyDev\Nodejs\node_global\yo.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.micros oft.com/fwl
  20. 桌面支持--PLM软件必须右键用管理员账号打开

热门文章

  1. 测试社交软件有哪些,性格测试:测你适合哪个社交平台
  2. mysql注入提取邮件_【sql注入教程】mysql注入直接getshell
  3. python 数据类型之间的转换
  4. 记录6月28日的体验,自己现实的感触
  5. input 输入值的监听 禁止输入特殊字符
  6. Windows 10 IoT Core 17101 for Insider 版本更新
  7. 安装openstack时遇到的错误
  8. JAVA 常用框架和工具
  9. EF for Firebird
  10. c/c++编码规范(2)--作用域