SQLNET.INBOUND_CONNECT_TIMEOUT
2015-11-19 09:10
316 查看
关于这个报错是因为上次监听报错TNS-12637
因为在client和server涉及到这个参数,这里重点说明下
表示等待用户认证超时的时间,单位是秒,默认值是60秒
以下是官档参考:
Purpose
Tospecifythetime,inseconds,foraclienttoconnectwiththedatabaseserverandprovidethenecessaryauthenticationinformation.
Iftheclientfailstoestablishaconnectionandcompleteauthenticationinthetimespecified,thenthedatabaseserverterminatestheconnection.Inaddition,thedatabaseserverlogstheIPaddressoftheclientandan
errormessagetothe
Theclientreceiveseitheran
message.
Thedefaultvalueofthisparameterisappropriatefortypicalusagescenarios.However,ifyouneedtoexplicitlysetadifferentvalue,thenOraclerecommendssettingthisparameterincombinationwiththeINBOUND_CONNECT_TIMEOUT_listener_nameparameter
inthe
Whenspecifyingthevaluesfortheseparameters,notethefollowingrecommendations:
Setbothparameterstoaninitiallowvalue.
Setthevalueofthe
toalowervaluethanthe
Forexample,
youcanset
2secondsand
to3seconds.
Ifclientsareunabletocompleteconnectionswithinthespecifiedtimeduetosystemornetworkdelaysthatarenormalfortheparticularenvironment,thenincrementthetimeasneeded.
Default
60seconds
Example
SeeAlso:
"ControlParameters"foradditionalinformationabout
Oracle
NetServicesAdministrator'sGuideforadditionalinformationaboutconfiguringtheseparameters
因为在client和server涉及到这个参数,这里重点说明下
SQLNET.INBOUND_CONNECT_TIMEOUT
表示等待用户认证超时的时间,单位是秒,默认值是60秒以下是官档参考:
Purpose
Tospecifythetime,inseconds,foraclienttoconnectwiththedatabaseserverandprovidethenecessaryauthenticationinformation.
Iftheclientfailstoestablishaconnectionandcompleteauthenticationinthetimespecified,thenthedatabaseserverterminatestheconnection.Inaddition,thedatabaseserverlogstheIPaddressoftheclientandan
ORA-12170:
TNS:Connecttimeoutoccurred
errormessagetothe
sqlnet.logfile.
Theclientreceiveseitheran
ORA-12547:oran
TNS:lostcontact
ORA-12637:Packetreceivefailederror
message.
Thedefaultvalueofthisparameterisappropriatefortypicalusagescenarios.However,ifyouneedtoexplicitlysetadifferentvalue,thenOraclerecommendssettingthisparameterincombinationwiththe
inthe
listener.orafile.
Whenspecifyingthevaluesfortheseparameters,notethefollowingrecommendations:
Setbothparameterstoaninitiallowvalue.
Setthevalueofthe
INBOUND_CONNECT_TIMEOUT_
listener_nameparameter
toalowervaluethanthe
SQLNET.INBOUND_CONNECT_TIMEOUTparameter.
Forexample,
youcanset
INBOUND_CONNECT_TIMEOUT_
listener_nameto
2secondsand
SQLNET.INBOUND_CONNECT_TIMEOUTparameter
to3seconds.
Ifclientsareunabletocompleteconnectionswithinthespecifiedtimeduetosystemornetworkdelaysthatarenormalfortheparticularenvironment,thenincrementthetimeasneeded.
Default
60seconds
Example
SQLNET.INBOUND_CONNECT_TIMEOUT=3
SeeAlso:
INBOUND_CONNECT_TIMEOUT_
listener_name
Oracle
NetServicesAdministrator'sGuideforadditionalinformationaboutconfiguringtheseparameters
相关文章推荐
- 如何通过命令行创建和设置一个MySQL用户
- 如何通过命令行创建和设置一个MySQL用户
- MySQL5.6.12源码编译安装详细过程
- java对mongodb的基础操作(1)
- SqlServer中把结果集放到到临时表的方法
- 你真的会玩SQL吗?玩爆你的数据报表之存储过程编写(上)
- sqlite编程心得
- Oracle+struts2实现用户登入并显示访问次数
- mysql的一些基础知识
- [IT学习]sql 入门及实例
- sqlmap post注入
- MySQL常见问题与命令1
- Sql Server来龙去脉系列之四 数据库和文件
- SQL Server中角色与权限管理
- 什么叫做Oracle RAC中的nodename
- 将从SQL2008 r2里备份的数据库还原到SQL2008中
- 通过主从复制机制完成MySQL数据库服务迁移
- tlinux(CentOS)下memcached 安装与使用
- SQL注入攻击
- MySQL数据备份与还原