ORACLE 10.2.0.5中ORA-3136

来源:互联网 发布:80c51单片机 编辑:程序博客网 时间:2024/06/05 16:21

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。

 

 

0 0
原创粉丝点击