ORA 12592的報錯處理及補丁更新
wzq609發表於2017-10-16
【1】場景說明
最近上線一個系統,需要進行大量資料的匯入。在匯入的時候應用總是報錯:ORA-12592。
【2】解決方法
在metalink上面查詢,到Troubleshooting guide for ORA-12592 / TNS-12592: TNS: bad packet (文件 ID 373431.1) ,進行BUG的更新。
1
In some situations, the Client (possibly an Application or ETL job or Imp/EXp/SqlLoader) will fail intermittently with an ORA-12592 while the Database reports no errors or issues.
2
This can occur after an upgrade of the Database Server to 11.2.0.4. (reference Bug 18841764)
3
If you turn on tracing, you might not be able to reproduce the error (indicating a timing issue with communication).
【3】詳細更新的步驟
如果是第一次進行opatch的更新,且系統很重要的情況下,補丁包解壓後又個README.TXT的檔案,該檔案有說明補丁更新的條件、步驟和回退的方法
3.1 檢視opatch的版本
1
[oracle@joe-b2bimg-01 OPatch]$ ./opatch version
2
OPatch Version: 11.2.0.3.4
3
4
OPatch succeeded.
5
[oracle@joe-b2bimg-01 OPatch]$ ./opatch lsinventory
6
7
Oracle 中間補丁程式安裝程式版本 11.2.0.3.4
8
版權所有 (c) 2012, Oracle Corporation。保留所有權利。
9
10
11
Oracle Home : /u01/app/oracle/product/11.2.0/db_1
12
Central Inventory : /u01/app/oraInventory
13
from : /u01/app/oracle/product/11.2.0/db_1/oraInst.loc
14
OPatch version : 11.2.0.3.4
15
OUI version : 11.2.0.4.0
16
Log file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2017-10-16_11-00-39上午_1.log
17
18
Lsinventory Output file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2017-10-16_11-00-39上午.txt
19
20
--------------------------------------------------------------------------------
21
已安裝的頂級產品 (1):
22
23
Oracle Database 11g 11.2.0.4.0
24
此 Oracle 主目錄中已安裝 1 個產品。
3.2 關閉資料庫和監聽
1
SQL> shutdown immediate
2
3
Database closed.
4
5
Database dismounted.
6
7
ORACLE instance shut down.
8
[oracle@localhost OPatch]$ lsnrctl stop
9
10
LSNRCTL for Linux: Version 11.2.0.4.0 -Production on 22-SEP-2015 20:51:15
11
12
Copyright (c) 1991, 2013, Oracle. All rights reserved.
13
14
Connecting to(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1528)))
15
16
The command completed successfully
3.3 進行補丁的更新
1
1、先進行補丁包的解壓
2
unzip p18841764_112040_Linux-x86-64.zip
3
4
2、進行補丁檢查
5
[oracle@localhost 18841764]$ $ORACLE_HOME/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir /tmp/18841764
6
7
Oracle 中間補丁程式安裝程式版本 11.2.0.3.4
8
版權所有 (c) 2012, Oracle Corporation。保留所有權利。
9
10
PREREQ session
11
12
Oracle Home : /u01/app/oracle/product/11.2.0/db_1
13
Central Inventory : /u01/app/oraInventory
14
from : /u01/app/oracle/product/11.2.0/db_1/oraInst.loc
15
OPatch version : 11.2.0.3.4
16
OUI version : 11.2.0.4.0
17
Log file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2017-10-16_11-29-02上午_1.log
18
19
Invoking prereq "checkconflictagainstohwithdetail"
20
21
Prereq "checkConflictAgainstOHWithDetail" passed.
22
23
OPatch succeeded.
24
25
3、進行補丁更新
26
[oracle@joe-b2bimg-01 18841764]$ cd /tmp/18841764/
27
[oracle@joe-b2bimg-01 18841764]$ /u01/app/oracle/product/11.2.0/db_1/OPatch/opatch apply
28
29
Oracle 中間補丁程式安裝程式版本 11.2.0.3.4
30
版權所有 (c) 2012, Oracle Corporation。保留所有權利。
31
32
33
Oracle Home : /u01/app/oracle/product/11.2.0/db_1
34
Central Inventory : /u01/app/oraInventory
35
from : /u01/app/oracle/product/11.2.0/db_1/oraInst.loc
36
OPatch version : 11.2.0.3.4
37
OUI version : 11.2.0.4.0
38
Log file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/18841764_Oct_16_2017_11_31_00/apply2017-10-16_11-31-00上午_1.log
39
40
Applying interim patch '18841764' to OH '/u01/app/oracle/product/11.2.0/db_1'
41
Verifying environment and performing prerequisite checks...
3.4 啟動資料庫,執行補丁更新指令碼
1
[oracle@localhost ]$ sqlplus / as sysdba
2
SQL> startup
3
SQL>@?/rdbms/admin/catbundle.sql psu apply
4
5
SQL> select action_time,action,namespace,version,id from dba_registry_history;
6
ACTION_TIME ACTION NAMESPACE VERSION ID
7
---------------------------- ----------- ----------- ---------- ---
8
13-OCT-17 05.51.54.155186 PM APPLY SERVER 11.2.0.4 0
9
10
SQL> select action,comments from registry$history;
11
ACTION MMENTS APPLY
12
Patchset 11.2.0.2.0
13
14
[oracle@joe-b2bimg-01 OPatch]$ ./opatch lsinventory
15
16
Oracle 中間補丁程式安裝程式版本 11.2.0.3.4
17
版權所有 (c) 2012, Oracle Corporation。保留所有權利。
18
19
20
Oracle Home : /u01/app/oracle/product/11.2.0/db_1
21
Central Inventory : /u01/app/oraInventory
22
from : /u01/app/oracle/product/11.2.0/db_1/oraInst.loc
23
OPatch version : 11.2.0.3.4
24
OUI version : 11.2.0.4.0
25
Log file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2017-10-16_11-34-36上午_1.log
26
27
Lsinventory Output file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2017-10-16_11-34-36上午.txt
28
29
--------------------------------------------------------------------------------
30
已安裝的頂級產品 (1):
31
32
Oracle Database 11g 11.2.0.4.0
33
此 Oracle 主目錄中已安裝 1 個產品。
34
35
36
中間補丁程式 (1) :
37
38
Patch 18841764 : applied on Fri Oct 13 17:50:38 CST 2017
39
Unique Patch ID: 17779414
40
Created on 26 Jun 2014, 03:07:07 hrs PST8PDT
41
Bugs fixed:
42
18841764
43
44
45
46
--------------------------------------------------------------------------------
【總結】透過更新完該BUG後,使用者便可以繼續進行抽數了。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12679300/viewspace-2146014/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 12C RAC 打31720486補丁 後報錯處理2021-04-14
- oracle 跨小版本dg切換應用補丁報錯處理2023-12-28Oracle
- 批處理打補丁的方法2009-05-06
- ORA-02429 報錯處理2013-12-07
- Oracle的OPatch補丁更新2023-01-13Oracle
- ora-04045和ora-16000報錯處理2022-11-11
- 【補丁】Oracle補丁的知識及術語2020-08-05Oracle
- Oracle RAC更新補丁2019-08-21Oracle
- ORA-1654報錯處理一則2013-11-17
- ORA-00979: not a GROUP BY expression報錯處理2013-09-07Express
- oracle ORA-01940 報錯的處理方法2015-10-26Oracle
- 12. Oracle版本、補丁及升級——12.2. 補丁及補丁集2020-03-18Oracle
- Oracle 12c ORA-29548 報錯處理2020-01-26Oracle
- ADG--Ora-30927報錯處理2017-01-11
- ORA-07445 ORA-00108 報錯處理2011-04-24
- windows10補丁更新失敗怎麼辦_windows10更新補丁安裝錯誤解決方法2020-07-04Windows
- Ora-01555錯誤的模擬及處理2011-09-17
- 【ORACLE】ORA-27102: out of memory報錯的處理2017-07-22Oracle
- PGA引發的ORA-04030報錯的處理思路2018-03-22
- windows10安裝補丁kb失敗怎麼解決_windows10更新安裝補丁kb失敗如何處理2020-07-15Windows
- ORA-39002和ORA-39166報錯處理和探究2016-10-11
- ora-12012 ora-04063 報錯處理2014-04-02
- ORA-32701錯誤原因分析及處理方法2021-09-26
- ORA-600[kqlnrc_1]錯誤分析及處理2015-06-10
- DG報錯的處理2015-04-20
- 基於報警處理的補充2016-08-11
- 【故障處理】ORA-12162 錯誤的處理2015-07-17
- Rman報錯ORA-00234: ORA-00202處理2022-04-15
- ORA-04031錯誤的處理2009-04-09
- [Oracle報錯處理]ORA-00031: session marked for kill2017-09-07OracleSession
- ORA-03001: unimplemented feature 報錯處理2013-12-30
- ORA-00600:[keltnfy-ldmInit], [46]報錯處理2010-03-26
- windows oracle 11201打補丁報錯2020-11-14WindowsOracle
- 打補丁報錯Opatch error : "Unable to lock Central Inventory2016-10-30Error
- IMP過程中報ORA-00907錯誤的處理2009-06-17
- 微軟更新Win10 19H1版:Intel處理器打補丁無損效能2018-10-22微軟Win10Intel
- rails gem報錯的處理2021-09-09AI
- weblogic的版本及打補丁2018-06-27Web