Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Encrypted Tablespace Error: ORA-28374: typed master key

Posted on 2014-01-15
7
Medium Priority
?
3,993 Views
Last Modified: 2014-06-06
Hi -

I have recently inherited an database that was previously copied from a system that has since been retired.  The wallet that was used on the previous system was not copied to the new server, I have no way of retrieving, after creating a new wallet I recieved the ORA-28374 error, logically the error is due to keys not matching.  I am trying to create a new encrypted tablespace so the objects can be copied to the new tables.  But when trying to create the tables I get the same error.  Is anyone of a solution for this issue?



SQL> CREATE TABLESPACE ENC_TLGP01_NEW DATAFILE
  2    '/opt/app/TSSIDB02/oradata01/dbf/enc_tlgp01TSSIDB02_01.dbf' SIZE 1024M AUTOEXTEND OFF
  3  LOGGING
  4  ONLINE
  5  PERMANENT
  6  EXTENT MANAGEMENT LOCAL UNIFORM SIZE 256K
  7  BLOCKSIZE 8K
  8  SEGMENT SPACE MANAGEMENT AUTO
  9  FLASHBACK ON
 10  ENCRYPTION
 11  DEFAULT STORAGE(ENCRYPT);
CREATE TABLESPACE ENC_TLGP01_NEW DATAFILE
*
ERROR at line 1:
ORA-28374: typed master key not found in wallet
0
Comment
Question by:artaydates
  • 3
  • 2
7 Comments
 
LVL 78

Expert Comment

by:slightwv (䄆 Netminder)
ID: 39783239
I've not done much with Oracle encryption but think about what you are asking to do:
I want to copy and encrypted database from one machine to another not having the encryption key.  I then want to force a way of reading the data.

Doesn't seem like it should be possible.  Does it?
0
 

Author Comment

by:artaydates
ID: 39783490
Unfortunately no - but I was trying to avoid the lost of data.
0
 
LVL 78

Expert Comment

by:slightwv (䄆 Netminder)
ID: 39783519
If it were possible then anyone that steals your data files would be able to un-encrypt them.  

That sort of defeats the purpose of encrypting them to start with.

If there is absolutely no way to ever recover the wallet, if there is a way I think it would be Oracle Support that would know it but I wouldn't put any money on being able to do it given my first statement.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Accepted Solution

by:
artaydates earned 0 total points
ID: 39783959
Contacteded Oracle only wayis to drop the tablespace and recreate new one.
0
 
LVL 78

Expert Comment

by:slightwv (䄆 Netminder)
ID: 39785208
That's the only thing that would make sense.  Don't forget to close out the question.
0
 
LVL 23

Expert Comment

by:Steve Wales
ID: 40116735
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question