ORACLE 10.2.0.5中ORA-3136

os环境:CentOS release 5.9

应用环境:10.2.0.1 -> 10.2.0.5

 

错误摘要:

 

    大概11:20-11:30期间,发现oracle用户被lock,为找原因,查看了一下listener.log和alert.log,在alert.log中发现了这个warning.

    首先,ora-3136,在大部分情况下我们是可以忽略的,因为这个报错一般是由于客户端由于密码错误,连接超时导致。

    举个很简单的例子,我们用sqlplus user/password@tnsname,但是输入的密码是错误的,oracle提示:ORA-01017: invalid username/password; logon denied,之后,什么都别做,连接挂在那里,等一分钟之后,就可以在alertlog中看到这个报错了。

    因此,ora-3136报错的一种可能性是客户端使用率错误的密码登录,但是之后没有退出连接。

 

查看sqlnet日志,可以了解一下具体报错信息:

后来发现是一个做开发的同事,连续错误密码访问该数据库,导致ora出现并用户被锁定。

 

metalink信息:

There can be three main reasons for this error -
 
   1. Server gets a connection request from a malicious client which is not supposed to connect to the database , in which case the error thrown is the correct behavior. You can get the client address for which the error was thrown via sqlnet log file.
   2. The server receives a valid client connection request but the client takes a long time to authenticate more than the default 60 seconds.
   3. The DB server is heavily loaded due to which it cannot finish the client logon within the timeout specified.
 
   除了看各个logfile了解信息外,如果怀疑是高负载导致的ora-3136,可以做个awr,看下报错时间段的整体负载情况。看看是不是某个事务、sql出了问题,导致负载过高引起的ora-3136。

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值