Step by Step Troubleshooting Guide for TDE Error ORA-28374 (Doc ID 1541818.1)
Step by Step Troubleshooting Guide for TDE Error ORA-28374 (Doc ID 1541818.1)
In this Document
Applies to:Advanced Networking Option - Version 11.2.0.3 and laterInformation in this document applies to any platform. Goal
This note investigates potential causes for the ORA-28374 error and the investigation path to address and solve these errors. SolutionGeneric information regarding the master key and the master key changes:The meaning of the error:
28374, 0000, "typed master key not found in wallet"
// *Cause: You attempted to access encrypted tablespace or redo logs with // a typed master key not existing in the wallet. // *Action: Copy the correct Oracle Wallet from the instance where the tablespace // was created.
To understand the potential source of the error, it is important to understand what data is/can be encrypted: What data to collect in case of ORA-28374.Retrieve the master key id from all available locations:
1. tables:
select mkeyid from enc$; 2. tablespaces and temporary encryption (master key ID for temporary tablespaces can be seen in the system tablespace data): set linesize 150 column name format a40 column masterkeyid_base64 format a60 select name,utl_raw.cast_to_varchar2( utl_encode.base64_encode('01'||substr(mkeyid,1,4))) || utl_raw.cast_to_varchar2( utl_encode.base64_encode(substr(mkeyid,5,length(mkeyid)))) masterkeyid_base64 FROM (select t.name, RAWTOHEX(x.mkid) mkeyid from v$tablespace t, x$kcbtek x where t.ts#=x.ts#); 3. control file: select utl_raw.cast_to_varchar2( utl_encode.base64_encode('01'||substr(mkeyid,1,4))) || utl_raw.cast_to_varchar2( utl_encode.base64_encode(substr(mkeyid,5,length(mkeyid)))) masterkeyid_base64 FROM (select RAWTOHEX(mkid) mkeyid from x$kcbdbk); 4. master key id as it is within the wallet: mkstore -wrl
|
|
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1365370/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Step by Step Guide on How to Create Logical Standby [ID 738643.1]GUIIDE
- Step By Step Guide To Create Physical Standby Database Using RMAN [ID 469493.1]GUIIDEDatabase
- Step by Step Guide on converting a database from Windows to AIX-1373780.1GUIIDEDatabaseWindowsAI
- BAPI Step by step GuidanceAPIGUI
- Step-By-Step Guide To Create Physical Standby On Normal File System For ASM Primary using RMANGUIIDEORMASM
- Step By Step Guide On Creating Physical Standby Using RMAN Duplicate In ASM Filesystem For ASM PrimaGUIIDEASM
- Linux Software RAID step by stepLinuxAI
- Step by Step Guide on Creating Physical Standby Using RMAN DUPLICATE...FROM ACTIVE DATABASE WithoutGUIIDEDatabase
- TIDB DM資料同步step by stepTiDB
- React Step by StepReact
- Command 模式 Step by Step模式
- Step by Step TimesTen --- ttIsqlSQL
- Promise的實現(step by step)Promise
- Learn c++ step by step (轉)C++
- Sitecore10 Demo演示環境Azure一鍵部署(Step By Step Guide to installing Sitecore10 in Azure Paas)GUIIDE
- Git Step by Step (3):Git物件模型Git物件模型
- Oracle高階複製Step by StepOracle
- 安裝linux(step by step)(轉)Linux
- Learn C++ step by step(2) (轉)C++
- 單步除錯 step into/step out/step over 區別詳解除錯
- ABP應用開發(Step by Step)-下篇
- ABP應用開發(Step by Step)-上篇
- Git Step by Step (4):探索.git目錄Git
- ClearCase使用入門--step by step(序) (轉)
- Checkpoint Tuning and Troubleshooting GuideGUIIDE
- 實時 Linux 抖動分析 Step by stepLinux
- Git Step by Step (6):Git遠端倉庫Git
- STEP BY STEP INSTALL SSH ON AIX5.3(6.1)AI
- install 11G ASM on RedHat step by stepASMRedhat
- oracle10g simpe AQ step by step(二)Oracle
- oracle10g simpe AQ step by step(一)Oracle
- linux中配置NFS服務step by stepLinuxNFS
- step by step install netbackup client 6.5 on aixclientAI
- Step by Step Data Replication Using Oracle GoldenGateOracleGo
- MongoDB server returned error on SASL authentication step: BSON field 'saslCoMongoDBServerError
- Step by Step 安裝 BizTalk Server 2009Server
- Baby-Step-Gaint-Step演算法詳解AI演算法
- Step-by-step,打造屬於自己的vue ssrVue