Код ошибки 3136

At times, some users complained about connection timeout, and you saw error messages ORA-3136 in sqlnet.log as such:

Fatal NI connect error 12170.
    ns main err code: 12535
    ns secondary err code: 12606
    nt OS err code: 0
VERSION INFORMATION:
...
TNS-12535 TNS:operation timed out
  Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=X.X.X.X)(PORT=XXX))
    nt secondary err code: 0
  Tracing not turned on.
WARNING: inbound connection timed out (ORA-3136)

If you got the ORA-3136 accompanied with TNS-12535 and ORA-12170. It’s possibly caused by two factors, one is network traffic, the other is database heavy loading.

Luckily, the sqlnet.log logged the client connection data containing IP address for you to trace back the network condition at that time. Then, you can compare network response time during peak windows and off-peak windows to judge whether the network condition was normal or not.

Solution to ORA-3136

Heavy loading of a database cannot be easily solved in one second, but we can mitigate the complaining by increase INBOUND_CONNECT_TIMEOUT_LISTENER, the inbound timeout limit (in seconds).

Here are the steps:

Add Parameter to listener.ora

The default value of INBOUND_CONNECT_TIMEOUT_LISTENER is 60 seconds, we can raise the value to 160 seconds.

Single-instance Databases

We should add the parameter at oracle-level.

$ echo "INBOUND_CONNECT_TIMEOUT_LISTENER = 160" >> $ORACLE_HOME/network/admin/listener.ora

RAC Database

We should add the parameter at grid-level on all nodes.

$ echo "INBOUND_CONNECT_TIMEOUT_LISTENER = 160" >> $GRID_HOME/network/admin/listener.ora

Add Parameter to sqlnet.ora

$ echo "SQLNET.INBOUND_CONNECT_TIMEOUT = 180" >> $ORACLE_HOME/network/admin/sqlnet.ora

The value in sqlnet.ora should be slightly larger than the value in listener.ora, because database authentication needs extra time to do.

Restart the listener

$ lsnrctl stop
$ lsnrctl start

RAC Database

$ srvctl stop listener
$ srvctl start listener

Validate the Result

Then, we can validate the new setting by using telnet, the telnet connection will test open port 1521 and be timed out after 160 seconds, which is 2 minutes and 40 seconds:

$ date; telnet 10.10.10.10 1521; date
Thu Oct 11 11:06:20 CST 2012
Trying 192.168.0.21...
Connected to primary01.example.com (10.10.10.10).
Escape character is '^]'.
Connection closed by foreign host.
Thu Oct 11 11:09:00 CST 2012

The IP address above can be replaced with yours.

Notice that, the higher value you set, the higher security risk you take, it may be taken as a possible leak to DOS (Denial of Service) attack.

20180626 2018-06-26 11:18 [серьезно] имя хоста: zjhz-bjpaasb3, имя экземпляра: bjpaasb3, ожидая события: библиотека блокировки кэша, среднее число на второе: 1257, инвентаризационные данные

День база данных SMS оповещения, вдруг смотрите есть так много библиотека блокировки кэша, а затем в базу данных, просмотреть базу данных журнала.

После нахождения журнала, то Baidu нашел общий обложку блога, проблема та же, что охватывает следующий общий блог.

Недавно новая онлайн-база данных Oracle10Gr2 продолжала после ошибки в файле б / у Alert (Alert.log):

Tue Jul 18 23:09:22 2006
WARNING: inbound connection timed out (ORA-3136)
Tue Jul 18 23:09:23 2006
WARNING: inbound connection timed out (ORA-3136)
Tue Jul 18 23:09:25 2006
WARNING: inbound connection timed out (ORA-3136)
Tue Jul 18 23:09:30 2006
WARNING: inbound connection timed out (ORA-3136)
Tue Jul 18 23:12:15 2006
WARNING: inbound connection timed out (ORA-3136)

В то же время в SQLNet.log записывается следующая ошибка:

Fatal NI connect error 12170.

VERSION INFORMATION:
TNS for Linux: Version 10.2.0.2.0 — Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 10.2.0.2.0 — Production
TCP/IP NT Protocol Adapter for Linux: Version 10.2.0.2.0 — Production
Time: 19-JUL-2006 11:25:26
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12606
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.123)(PORT=58147))

Это ошибка, связанная с сетевым соединением, и на металлике приведено следующее решение:

1.set INBOUND_CONNECT_TIMEOUT_<listenername>=0 in listener.ora 
2. set SQLNET.INBOUND_CONNECT_TIMEOUT = 0 in sqlnet.ora of server.
3. stop and start both listener and database.
4. Now try to connect to DB and observe the behaviour

Здесь база данных и слушатель я думаю, что не нужна, и наша перезарядка — это лист.

[[email protected] admin]$ lsnrctl

LSNRCTL for Linux: Version 10.2.0.2.0 — Production on 19-JUL-2006 15:26:33

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

Welcome to LSNRCTL, type «help» for information.

LSNRCTL> reload 
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.16.9.11)(PORT=1521)))
The command completed successfully
LSNRCTL> services
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.16.9.11)(PORT=1521)))
Services Summary…
Service «order» has 2 instance(s).
Instance «order», status UNKNOWN, has 1 handler(s) for this service…
Handler(s):
«DEDICATED» established:0 refused:0
LOCAL SERVER
Instance «order», status READY, has 1 handler(s) for this service…
Handler(s):
«DEDICATED» established:0 refused:0 state:ready
LOCAL SERVER
The command completed successfully

LSNRCTL> show inbound_connect_timeout
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.16.9.11)(PORT=1521)))
LISTENER parameter «inbound_connect_timeout» set to 0
The command completed successfully
LSNRCTL> exit

После модификации он наблюдался некоторое время, в настоящее время это нормально.

О параметрах SQLNET.INBOUND_CONNECT_TIMEOUT, Oracle предложил изменить параметры, чтобы избежать отказа в обслуживании.

Цитировать абзац Oracle Documentation Описание следующим образом:

SQLNET.INBOUND_CONNECT_TIMEOUT Purpose
Use the SQLNET.INBOUND_CONNECT_TIMEOUT parameter to specify the time, in seconds, for a client to connect with the database server and provide the necessary authentication information.

If the client fails to establish a connection and complete authentication in the time specified, then the database server terminates the connection. In addition, the database server logs the IP address of the client and an ORA-12170: TNS:Connect timeout occurred error message to the sqlnet.log file. The client receives either an ORA-12547: TNS:lost contact or an ORA-12637: Packet receive failed error message.

Without this parameter, a client connection to the database server can stay open indefinitely without authentication. Connections without authentication can introduce possible denial-of-service attacks, whereby malicious clients attempt to flood database servers with connect requests that consume resources.

To protect both the database server and the listener, Oracle Corporation recommends setting this parameter in combination with the INBOUND_CONNECT_TIMEOUT_listener_name parameter in the listener.ora file. When specifying values for these parameters, consider the following recommendations:

Set both parameters to an initial low value. 
Set the value of the INBOUND_CONNECT_TIMEOUT_listener_name parameter to a lower value than the SQLNET.INBOUND_CONNECT_TIMEOUT parameter. 
For example, you can set INBOUND_CONNECT_TIMEOUT_listener_name to 2 seconds and INBOUND_CONNECT_TIMEOUT parameter to 3 seconds. If clients are unable to complete connections within the specified time due to system or network delays that are normal for the particular environment, then increment the time as needed.

See Also: 
Oracle9i Net Services Administrator’s Guide for information about configuring these parameters

Default
None

Example
SQLNET.INBOUND_CONNECT_TIMEOUT=3

Ниже вы восстановите эту ошибку в тестовой среде.

О SQLNET.INBOUND_CONNECT_TIMEOUT SQLNET.ORA параметр, который представляет ожидания для времени тайм-аута аутентификации пользователя в секундах, значение по умолчанию составляет 60 секунд, если тайм-аут аутентификации пользователя, журнал сервера alert.log дисплей сообщение об ошибке «ВНИМАНИЕ: входящее подключение истекло из (ORA-3136)», которые появляются sqlnet.log TNS-12535: TNS: операции истекло сообщение об ошибке.

Просмотреть значение inbound_connect_timeout

Просмотр настроек SQLNET.INBOUND_CONNECT_TIMEOUT, как правило, следующий $ ORACLE_HOME администратора, файл / сеть / вид sqlnet.ora параметр.

LSNRCTL> show

The following operations are available after show

An asterisk (*) denotes a modifier or extended command:

rawmode                              displaymode                          

rules                                trc_file                             

trc_directory                        trc_level                            

log_file                             log_directory                        

log_status                           current_listener                     

inbound_connect_timeout              startup_waittime                     

snmp_visible                         save_config_on_stop                  

dynamic_registration                 enable_global_dynamic_endpoint       

oracle_home                          pid                                  

connection_rate_limit                valid_node_checking_registration     

registration_invited_nodes           registration_excluded_nodes          

LSNRCTL> show inbound_connect_timeout

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))

LISTENER parameter «inbound_connect_timeout» set to 60

The command completed successfully

Установите значение sqlnet.inbound_connect_timeout

Сначала мы устанавливаем SQLNET.INBOUND_CONNECT_TIMEOUT 30 секунд, этот параметр изменяется в силу немедленно, не делать какие-либо другие операции.

[[email protected] trace]$ vi sqlnet.ora

# sqlnet.ora Network Configuration File: /u01/app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora

# Generated by Oracle configuration tools.

NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)

SQLNET.INBOUND_CONNECT_TIMEOUT=30

Теперь имитировать тайм-аут входа пользователя

[[email protected] ~]$ sqlplus /@ORADB

SQL*Plus: Release 11.2.0.4.0 Production on Thu May 24 09:30:25 2018

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

ERROR:

ORA-01017: invalid username/password; logon denied

ENTER-имя пользователя: ……………………………………. 60 секунд

Наблюдается в журнале Oracle Backstage

[[email protected] trace]$ tail -f alert_oradb.log

Thu May 24 09:31:25 2018

***********************************************************************

Fatal NI connect error 12170.

  VERSION INFORMATION:

TNS for Linux: Version 11.2.0.4.0 — Production

Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.4.0 — Production

TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.4.0 — Production

  Time: 24-MAY-2018 09:31:25

  Tracing not turned on.

  Tns error struct:

    ns main err code: 12535

TNS-12535: TNS:operation timed out

    ns secondary err code: 12606

    nt main err code: 0

    nt secondary err code: 0

    nt OS err code: 0

  Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=17263))

WARNING: inbound connection timed out (ORA-3136)

Внутри вы увидите предупреждение о тревоге: ошибка входящего соединения (ORA-3136) (ORA-3136).

подводить итоги:

Oracle 11g Пароль Задержка Аутентификация — это новая функция, привлеченная на 11G

В Oracle 11G, чтобы улучшить безопасность, Oracle представляет новые функции «проверки задержки пароля». Роль этой особенности заключается в том, чтоЕсли пользователь вводит неверный попыток ввода пароля для входа в систему, так и с увеличением числа ошибок авторизации, аутентификации Войти перед каждым будет увеличиваться, для того, чтобы замедлить атаку может попытаться повторить базу паролей.

Но для нормальной системы, поскольку изменения пароля, могут быть некоторые отсутствующие клиенты, повторные попытки, вызывая ожидания библиотеки кэша блокировки внутри базы данных в течение длительного времени, и эта ситуация очень распространена.

Если вы столкнулись с такого рода проблемы, вы можете закрыть эту функцию с помощью Event 28401, устранить этот тип воздействия, следующая команда устанавливает измененные настройки в файле параметров:

ALTER SYSTEM SET EVENT =

 ‘28401 TRACE NAME CONTEXT FOREVER, LEVEL 1’ SCOPE = SPFILE;

Такая проблема очень типичен AWR показал появился следующий отчет, первый в ТОП 5, вы можете увидеть значительное ожидание Библиотека Cache блокировки, следующие примеры из реальной ситуации 11.2.0.3.0 версии:

В таких случаях модель времени — модели времени будут отображаться следующие индикаторы, где соединения Управление вызовами Прошедшее время занимает основную БД Время, которое непосредственно обозначенное создания соединения с базой данных:

Такие проблемы в 11g Oracle, является общей и определяются на MOS можно найти запись: High «библиотеку блокировки кэша» Время ожидания из — за недопустимую попытку входа (1309738.1) В дополнении Oracle 11g открыл случай проверку пароля При обновлении с Oracle 10g, вам нужны специальные вещи, чтобы быть осторожным, и может контролировать эту функцию инициализации параметров sec_case_sensitive_logon.

Hello,

I am applying hourly differential backup to the backup server from production with the following command. This command makes the database on standby server into read only mode.

RESTORE DATABASE ARSYSTEM FROM DISK = ‘E:SQL backup from productionsql_full_backup’

WITH  MOVE ‘arsystem’ TO

‘d:ardataarsystem.mdf’ ,
MOVE ‘arsystem_log’ TO ‘D:ARLOGARsystem’ ,
STANDBY = ‘E:SQL backup from productionSQL daily diff back up’

Now I want to run a command which will put the database in write mode. I have created a job which would make the datbase Write mode. This job runs successfully sometimes and fails sometimes. I need to ensure that the job always succeeds. When it fails, how do I troubleshoot and what is the possible fix?

Thanks in advance.

The error message is

Cannot apply the backup on device ‘E:SQL backup from productionSQL daily diff back up’ to database ‘ARSYSTEM’. [SQLSTATE 42000] (Error 3136)  RESTORE DATABASE is terminating abnormally. [SQLSTATE 42000] (Error 3013).  The step failed.

The steps for the job are as follows with the failing step highlighted in bold. 

copy /y «\172.31.9.12Remedy BackupbackupSQL backupsql_full_backup» «E:SQL backup from productionsql_full_backup»

copy /y «\172.31.9.12Remedy BackupbackupSQL backupSQL daily diff back up» «E:SQL backup from productionSQL daily diff back up»

xp_cmdshell ‘net stop «bmc remedy action request system server»‘

exec rp_kill_db_processes ‘ARSYSTEM’

RESTORE DATABASE ARSYSTEM

FROM DISK = ‘E:SQL backup from productionsql_full_backup’

WITH

MOVE ‘arsystem’ TO ‘d:ardataarsystem.mdf’ ,

MOVE ‘arsystem_log’ TO ‘D:ARLOGARsystem’ ,

NORECOVERY

Failing step

RESTORE DATABASE ARSYSTEM

FROM DISK = ‘E:SQL backup from productionSQL daily diff back up’

WITH

MOVE ‘arsystem’ TO ‘d:ardataarsystem.mdf’ ,

MOVE ‘arsystem_log’ TO ‘D:ARLOGARsystem’ ,

RECOVERY

xp_cmdshell ‘del /f «E:SQL backup from productionsql_full_backup»‘

xp_cmdshell ‘del /f «E:SQL backup from productionsql daily diff back up»‘

xp_cmdshell ‘net start «bmc remedy action request system server»‘

I have scheduled the following  hourly diffential restore job too which never fails.

 RESTORE DATABASE ARSYSTEM FROM DISK = ‘E:SQL backup from productionsql_full_backup’

WITH  MOVE ‘arsystem’ TO

‘d:ardataarsystem.mdf’ ,
MOVE ‘arsystem_log’ TO ‘D:ARLOGARsystem’ ,
STANDBY = ‘E:SQL backup from productionSQL daily diff back up’
EXEC MASTER..XP_CMDSHELL ‘del /f «E:SQL backup from productionSQL daily diff back up»‘

Few days back we get an issue Inbound connection timed out (ORA-3136) in alert log. To troubleshoot this we need to dig into sqlnet.ora file and the alert log. 

ora-3136: inbound connection timed out

The following four points are very important to troubleshoot this issue: 

  • Check the alert log file and check from where the connection comes.
  • Check the listener is up & running.
  • Ping the server,make sure tnsping is working.
  • Increase inbound_connect_timeout 

Regarding this we need to checked the value of “inbound_connect_timeout”.

LSNRCTL> show inbound_connect_timeout

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))

LISTENER parameter “inbound_connect_timeout” set to 120

The command completed successfully

Here we can see that time is set to 120 which is ok.

The following would be the most likely reasons for this error :

1.Server gets a connection request from a malicious client which is not supposed to connect to the database.  In this case the error thrown would be the expected and desirable behaviour. You can get the client address for which the error was thrown in the sqlnet.log file that is local to the database.

2.The server receives a valid client connection request but the client takes a long time to authenticate more than the defined timeout.

3.The DB server is heavily loaded due to which it cannot finish the client logon within the timeout specified.

By default, the SQLNET.INBOUND_CONNECT_TIMEOUT is set to 60 seconds.

You can change the setting by adding the parameters SQLNET.INBOUND_CONNECT_TIMEOUT and INBOUND_CONNECT_TIMEOUT_<listener name>  to the $ORACLE_HOME/network/admin/sqlnet.ora file on the database server.

Setting the above parameters to a value of 0 implies an infinite time out.

Alternatively, you can use the lsnrctl command and issue the following:

LSNRCTL> set inbound_connect_timeout=<value>

Before opting for the above parameter changes, confirm that any firewall activity or Network Address Transalation (NAT) that may be occuring beween the client and and the database are not the cause of latency which is exceeding the timeout threshold.

 To identify the listener name and ORACLE_HOME and sqlnet.ora file we can use the below command.

[oracle@racdbq1.dcb.ichotels.com] ps -eaf|grep tns

April 16, 2020

Hi,

Sometimes You can get ” ORA-03135: connection lost contact ” error.

Details of error are as follows.

ORA-03136: inbound connection timed out

Cause: Inbound connection was timed out by the server because user authentication was not completed within the given time specified by SQLNET.INBOUND_CONNECT_TIMEOUT or its default value

Action: 1) Check SQL*NET and RDBMS log for trace of suspicious connections.

2) Configure SQL*NET with a proper inbound connect timeout value if necessary.

TNS-12535 TNS:operation timed out
Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.63.34)(PORT=1453))
nt secondary err code: 0
Tracing not turned on.
WARNING: inbound connection timed out (ORA-3136)

TNS-12535 and ORA-03135: connection lost contact error are related with the Network traffic and High loaded database operations.

To solve this error, add the following parameter to the SQLNET.ORA file ( under $ORACLE_HOME/network/admin/ ).

SQLNET.INBOUND_CONNECT_TIMEOUT = 180

INBOUND_CONNECT_TIMEOUT_LISTENER = 120

then restart the Listener as follows.

$ srvctl stop listener
$ srvctl start listener

or

$ lsnrctl stop listener

$ lsnrctl start listener

Do you want to learn Oracle Database for Beginners, then read the following articles.

https://ittutorial.org/oracle-database-19c-tutorials-for-beginners/

 2,455 views last month,  3 views today

Posted by Pavan DBA on June 16, 2010

Good day friends…

Today when going through regular activities like alert log checking, i found the following warning in one of database

Tue Jun 15 14:44:55 2010
WARNING: inbound connection timed out (ORA-3136)

Also, following entry was there in sqlnet.log file

Fatal NI connect error 12170.

  VERSION INFORMATION:
 TNS for 64-bit Windows: Version 10.2.0.2.0 – Production
 Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 10.2.0.2.0 – Production
 Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 10.2.0.2.0 – Production
  Time: 15-JUN-2010 12:58:20
  Tracing not turned on.
  Tns error struct:
    ns main err code: 12535
    TNS-12535: TNS:operation timed out
    ns secondary err code: 12606
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
  Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=20.60.103.141)(PORT=3741))

To my surprise, in next 2 min i got a ticket stating user is facing problem in connecting to database. After waiting for long time, user is getting error in connection establishment.

After analysis, i found following

user connectivity time bound is 60 sec from 10.2 which means oracle will try to establish connection for 60 seconds, once it crosses that limit, it will send error to user process.

This error you will not see in 10.1 version, because in that version time bound limit in infinite.

I did following which resolved my problem

1) Add following entires in listener.ora file on database server

INBOUND_CONNECT_TIMEOUT_<LISTENER_NAME>=0
DIRECT_HANDOFF_TTC_<LISTENER_NAME>=OFF

alternatively you can also do this

lsnrctl> set inbound_connect_timeout=0

2) add following entries in sqlnet.ora of database server

SQLNET.INBOUND_CONNECT_TIMEOUT=0

we are setting time bound limit to infinite using above parameters. you need to reload the listener after performing above changes using

$ lsnrctl reload

Note : Always take backup of listener.ora or sqlnet.ora files before modifying anything inside

More about this error, you can check in metalink docs 465043.1 and 345197.1

Sometimes, this problem will also occur if you have firewall restrictions. So please check from that end too.

This entry was posted on June 16, 2010 at 2:00 PM and is filed under Networking with Oracle.
Tagged: handling ora-3136, inbound connection timeout, ora-3136. You can follow any responses to this entry through the RSS 2.0 feed.

You can leave a response, or trackback from your own site.

Доброе время суток, у меня нечто похожая проблема. На базе одного из магазинов при расчете товародвижения (руками), при сохранении результатов в базу вылетает диалог с ошибкой и ссылкой на лог файл во временной папочке следующего содержания:

Цитата:

SQL*Loader: Release 10.2.0.4.0 — Production on Вт Июл 20 09:31:55 2010
>
>
> Copyright (c) 1982, 2007, Oracle. All rights reserved.
>
>
> SQL*Loader-128: невозможно начать сеанс
>
> ORA-03113: принят сигнал конца файла по коммуникационному каналу

В остальном все работает нормально, никаких глюков не замечено. Подскажите, в чем может быть дело? Архив с файлами из временной папочки, созданными в результате переноса и расчета товародвижения высылаю. СМ2000 1.27.2, Oracle 10.2.0.4.0.x64. Сервер супермага находится на отделльной машине x32 — c нее и делается расчет. Ранее все было нормально. На всякий слуйчай привожу последние строки alert’та старого, и специально полученного нового:

Старый:

Цитата:

Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
processes = 150
__shared_pool_size = 989855744
__large_pool_size = 16777216
__java_pool_size = 16777216
__streams_pool_size = 0
nls_language = RUSSIAN
nls_territory = RUSSIA
sga_target = 1610612736
control_files = D:ORACLEORADATAPRIVOZRDCONTROL01.CTL, D:ORACLEORADATAPRIVOZRDCONTROL02.CTL, D:ORACLEORADATAPRIVOZRDCONTROL03.CTL
db_block_size = 8192
__db_cache_size = 570425344
compatible = 10.2.0.3.0
db_file_multiblock_read_count= 16
db_recovery_file_dest = D:oracleproduct10.2.0flash_recovery_area
db_recovery_file_dest_size= 2147483648
undo_management = AUTO
undo_tablespace = UNDOTBS1
O7_DICTIONARY_ACCESSIBILITY= TRUE
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=PRIVOZRDXDB)
job_queue_processes = 10
audit_file_dest = D:ORACLEPRODUCT10.2.0ADMINPRIVOZRDADUMP
background_dump_dest = D:ORACLEPRODUCT10.2.0ADMINPRIVOZRDBDUMP
user_dump_dest = D:ORACLEPRODUCT10.2.0ADMINPRIVOZRDUDUMP
core_dump_dest = D:ORACLEPRODUCT10.2.0ADMINPRIVOZRDCDUMP
db_name = PRIVOZRD
open_cursors = 300
pga_aggregate_target = 847249408
PMON started with pid=2, OS id=940
PSP0 started with pid=3, OS id=1072
MMAN started with pid=4, OS id=1140
DBW0 started with pid=5, OS id=1308
LGWR started with pid=6, OS id=1388
CKPT started with pid=7, OS id=1616
SMON started with pid=8, OS id=1648
RECO started with pid=9, OS id=1480
CJQ0 started with pid=10, OS id=1828
MMON started with pid=11, OS id=1784
Mon Jul 19 20:44:59 2010
starting up 1 dispatcher(s) for network address ‘(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))’…
MMNL started with pid=12, OS id=1780
Mon Jul 19 20:44:59 2010
starting up 1 shared server(s) …
Mon Jul 19 20:45:00 2010
alter database mount exclusive
Mon Jul 19 20:45:05 2010
Setting recovery target incarnation to 1
Mon Jul 19 20:45:05 2010
Successful mount of redo thread 1, with mount id 1784895436
Mon Jul 19 20:45:05 2010
Database mounted in Exclusive Mode
Completed: alter database mount exclusive
Mon Jul 19 20:45:05 2010
alter database open
Mon Jul 19 20:45:05 2010
Beginning crash recovery of 1 threads
parallel recovery started with 7 processes
Mon Jul 19 20:45:06 2010
Started redo scan
Mon Jul 19 20:45:07 2010
Completed redo scan
428 redo blocks read, 116 data blocks need recovery
Mon Jul 19 20:45:07 2010
Started redo application at
Thread 1: logseq 1157, block 43236
Mon Jul 19 20:45:07 2010
Recovery of Online Redo Log: Thread 1 Group 2 Seq 1157 Reading mem 0
Mem# 0: D:ORACLEORADATAPRIVOZRDREDO02.LOG
Mon Jul 19 20:45:07 2010
Completed redo application
Mon Jul 19 20:45:07 2010
Completed crash recovery at
Thread 1: logseq 1157, block 43664, scn 30776272
116 data blocks read, 116 data blocks written, 428 redo blocks read
Mon Jul 19 20:45:08 2010
Thread 1 advanced to log sequence 1158 (thread open)
Thread 1 opened at log sequence 1158
Current log# 3 seq# 1158 mem# 0: D:ORACLEORADATAPRIVOZRDREDO03.LOG
Successful open of redo thread 1
Mon Jul 19 20:45:08 2010
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Mon Jul 19 20:45:08 2010
SMON: enabling cache recovery
Mon Jul 19 20:45:09 2010
Successfully onlined Undo Tablespace 1.
Mon Jul 19 20:45:09 2010
SMON: enabling tx recovery
Mon Jul 19 20:45:09 2010
Database Characterset is CL8MSWIN1251
Opening with internal Resource Manager plan
where NUMA PG = 1, CPUs = 8
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=24, OS id=2032
Mon Jul 19 20:45:15 2010
Completed: alter database open
Mon Jul 19 20:45:15 2010
db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Mon Jul 19 20:49:32 2010
WARNING: inbound connection timed out (ORA-3136)
Mon Jul 19 20:54:25 2010
WARNING: inbound connection timed out (ORA-3136)
Mon Jul 19 20:54:26 2010
WARNING: inbound connection timed out (ORA-3136)
Mon Jul 19 20:55:38 2010
WARNING: inbound connection timed out (ORA-3136)
Mon Jul 19 20:55:40 2010
WARNING: inbound connection timed out (ORA-3136)
Mon Jul 19 20:59:04 2010
WARNING: inbound connection timed out (ORA-3136)
Mon Jul 19 23:13:57 2010
Thread 1 advanced to log sequence 1159 (LGWR switch)
Current log# 1 seq# 1159 mem# 0: D:ORACLEORADATAPRIVOZRDREDO01.LOG
Tue Jul 20 00:00:19 2010
Thread 1 advanced to log sequence 1160 (LGWR switch)
Current log# 2 seq# 1160 mem# 0: D:ORACLEORADATAPRIVOZRDREDO02.LOG
Tue Jul 20 00:01:09 2010
Thread 1 advanced to log sequence 1161 (LGWR switch)
Current log# 3 seq# 1161 mem# 0: D:ORACLEORADATAPRIVOZRDREDO03.LOG
Tue Jul 20 01:00:55 2010
Thread 1 advanced to log sequence 1162 (LGWR switch)
Current log# 1 seq# 1162 mem# 0: D:ORACLEORADATAPRIVOZRDREDO01.LOG
Tue Jul 20 01:02:23 2010
Thread 1 advanced to log sequence 1163 (LGWR switch)
Current log# 2 seq# 1163 mem# 0: D:ORACLEORADATAPRIVOZRDREDO02.LOG
Tue Jul 20 01:03:08 2010
Thread 1 cannot allocate new log, sequence 1164
Checkpoint not complete
Current log# 2 seq# 1163 mem# 0: D:ORACLEORADATAPRIVOZRDREDO02.LOG
Tue Jul 20 01:03:11 2010
Thread 1 advanced to log sequence 1164 (LGWR switch)
Current log# 3 seq# 1164 mem# 0: D:ORACLEORADATAPRIVOZRDREDO03.LOG
Tue Jul 20 01:30:18 2010
Thread 1 advanced to log sequence 1165 (LGWR switch)
Current log# 1 seq# 1165 mem# 0: D:ORACLEORADATAPRIVOZRDREDO01.LOG
Tue Jul 20 05:01:45 2010
Thread 1 advanced to log sequence 1166 (LGWR switch)
Current log# 2 seq# 1166 mem# 0: D:ORACLEORADATAPRIVOZRDREDO02.LOG
Tue Jul 20 05:02:26 2010
Thread 1 advanced to log sequence 1167 (LGWR switch)
Current log# 3 seq# 1167 mem# 0: D:ORACLEORADATAPRIVOZRDREDO03.LOG
Tue Jul 20 05:03:21 2010
Thread 1 cannot allocate new log, sequence 1168
Checkpoint not complete
Current log# 3 seq# 1167 mem# 0: D:ORACLEORADATAPRIVOZRDREDO03.LOG
Tue Jul 20 05:03:21 2010
Thread 1 advanced to log sequence 1168 (LGWR switch)
Current log# 1 seq# 1168 mem# 0: D:ORACLEORADATAPRIVOZRDREDO01.LOG
Tue Jul 20 05:04:26 2010
Thread 1 cannot allocate new log, sequence 1169
Checkpoint not complete
Current log# 1 seq# 1168 mem# 0: D:ORACLEORADATAPRIVOZRDREDO01.LOG
Tue Jul 20 05:04:27 2010
Thread 1 advanced to log sequence 1169 (LGWR switch)
Current log# 2 seq# 1169 mem# 0: D:ORACLEORADATAPRIVOZRDREDO02.LOG
Tue Jul 20 07:50:10 2010
Thread 1 advanced to log sequence 1170 (LGWR switch)
Current log# 3 seq# 1170 mem# 0: D:ORACLEORADATAPRIVOZRDREDO03.LOG
Tue Jul 20 09:28:12 2010
Thread 1 advanced to log sequence 1171 (LGWR switch)
Current log# 1 seq# 1171 mem# 0: D:ORACLEORADATAPRIVOZRDREDO01.LOG
Tue Jul 20 09:32:56 2010
WARNING: inbound connection timed out (ORA-3136)

И новый:

Цитата:

Tue Jul 20 10:31:33 2010
WARNING: inbound connection timed out (ORA-3136)
Tue Jul 20 10:31:35 2010
WARNING: inbound connection timed out (ORA-3136)
Tue Jul 20 11:00:06 2010
Thread 1 advanced to log sequence 1172 (LGWR switch)
Current log# 2 seq# 1172 mem# 0: D:ORACLEORADATAPRIVOZRDREDO02.LOG

Troubleshooting Guide ORA-3136: WARNING Inbound Connection Timed Out

Troubleshooting guide for «ORA-3136  WARNING inbound connection timed out» seen in the alert log.

Troubleshooting Tips:

The «WARNING: inbound connection timed out (ORA-3136)» in the alert log indicates that the client was not able to complete  the  authentication process within the period of time specified by the parameter SQLNET.INBOUND_CONNECT_TIMEOUT.

You might also see the errors ORA-12170 or TNS-12535 in the sqlnet.log that is generated on the server.
Check $ORACLE_HOME/network/log for this file.  This entry should contain client address from which the timeout originated and may be helpful in determining how to troubleshoot the issue.  Some applications or JDBC thin driver applications may not have these details.  The sqlnet.log file is not generated  by default in 11g and newer.

From 10.2.0.1 onwards the default setting for the parameter SQLNET.INBOUND_CONNECT_TIMEOUT is 60 seconds.  If the client is not able to authenticate within 60 seconds, the warning would appear in the alert log and the client connection will be terminated.

Note: This timeout restriction was introduced to combat Denial of Service (DoS) attack whereby malicious clients attempt to flood database servers with connect requests that consumes resources.

The following are the most likely reasons for this error —

-Server gets a connection request from a malicious client which is not supposed to connect to the database.  In this case the error thrown would be the expected and desirable behavior. You can get the client address for which the error was thrown in the sqlnet.log file that is local to the database.

-The server receives a valid client connection request but the client takes a long time to authenticate more than the default 60 seconds.

-The DB server is heavily loaded due to which it cannot finish the client logon within the timeout specified.

To understand what is causing this issue, following checks can be done:

The default value of 60 seconds is good enough in most conditions for the database server to authenticate a client connection. If it is taking longer, then it’s worth checking the following items before implementing the workaround:

1.Check whether local connection on the database server is successful & quick.
2.If local connections are quick ,then check for underlying network delay with the help of your network administrator.
3.Check whether your Database performance has degraded in anyway.
4.Check alert log for any critical errors for eg, ORA-600 or ORA-7445 and get them  resolved first.
These critical errors might have triggered the slowness of the database server.

It is often necessary to increase the values for INBOUND CONNECT TIMEOUT at  both the listener and the database in order to resolve this issue.    It is usually advisable to set the database (sqlnet.ora) value slightly higher than the listener (listener.ora).    The authentication process is more demanding for the database than the listener.

To set these parameters to use values higher than the default of 60 seconds, follow these instructions and restart the listener.There is no need to restart Oracle:

Edit the server side sqlnet.ora file and add this parameter:

SQLNET.INBOUND_CONNECT_TIMEOUT=<n>  Where <n> is the value in seconds.

E.g.:

SQLNET.INBOUND_CONNECT_TIMEOUT = 120

Edit the listener.ora file and add this parameter:

INBOUND_CONNECT_TIMEOUT_<listenername> = <n>  Again, where <n> is the timeout value in seconds.

For example if the listener name is LISTENER then use:

INBOUND_CONNECT_TIMEOUT_LISTENER = 110

From Oracle version 10.2.0.1 onwards the default value of INBOUND_CONNECT_TIMEOUT_<listenername> is 60 seconds. For previous releases it is zero or OFF by default.

How to check whether inbound timeout is active for the listener and database server:

For example,  INBOUND_CONNECT_TIMEOUT_<listener_name> =110

You can check whether the parameter is active or not by simply doing telnet to the listener port.
$ telnet <database server IP> <listener port>
for eg.

$ telnet 123.23.23.23 1521

The telnet session should disconnect after 110 seconds which indicates that the inbound connection timeout for the listener is active.

Alternatively, check at the LSNRCTL prompt using:

LSNRCTL>set current_listener <listener_name>
LSNRCTL>show inbound_connect_timeout

To check whether database server SQLNET.INBOUND_CONNECT_TIMEOUT is active:
Eg.

SQLNET.INBOUND_CONNECT_TIMEOUT=120

a. For Dedicated server setup, enable the support level sqlnet server tracing will show the timeout value as below:

niotns: Enabling CTO, value=120000 (milliseconds) <== 120 seconds
niotns: Not enabling dead connection detection.
niotns: listener bequeathed shadow coming to life…

b. For shared Server setup,
$ telnet <database server IP> <dispatcher port>
Example.

$ telnet 123.23.23.23  51658

The telnet session should disconnect after 120 seconds which indicates that the sqlnet.inbound_connect_timeout is active.

Reference metalink Doc ID 465043.1

Понравилась статья? Поделить с друзьями:
  • Код ошибки 3119
  • Код ошибки 311 сбербанк
  • Код ошибки 3108
  • Код ошибки 3106 бмв
  • Код ошибки 3101 эвотор маркировка