My Oracle Support Banner

OEM13C: DB_CLONE_MANAGEMENT : createFullClonePDB Fails In Pre-process Step With Error "ORA-28354: Encryption wallet, auto login wallet, or HSM is already open" (Doc ID 2746364.1)

Last updated on JULY 27, 2022

Applies to:

Enterprise Manager for Oracle Database - Version 13.4.1.0.0 and later
Information in this document applies to any platform.

Symptoms

In Cloud Control Enterprise Manager using db_clone_management.
Running the createFullClonePDB command in standalone environment fails in the pre-process step with the following error:

Command Snippet:

$ emcli db_clone_management -createFullClonePDB -target_name="<SOURCE_DBNAME>" -target_type="oracle_database" -input_file="data:/home/oracle/clone.properties"

clone.properties :

SRC_DB_CRED=<SOURCE_DB_CRED>
SRC_HOST_CRED=<SOURCE_DB_HOST_CRED>
DEST_PDB_NAME=<PDBNAME>
DEST_CDB_TARGET_NAME=<DEST_CONTAINER_NAME>
DEST_CDB_TARGET_TYPE=<DEST_CONTAINER_TYPE>
DEST_CDB_CRED=<TARGET_DB_CRED>
DEST_HOST_CRED=<TARGET_DB_HOST_CRED>
DEST_PDB_ADMIN_NAME=<PDB ADMIN NAME>
DEST_PDB_ADMIN_PWD=<PDB ADMIN PASSWORD>
SRC_WALLET_PWD=<SOURCE WALLET PASSWORD>
DEST_WALLET_PWD=<DESTINATION WALLET PASSWORD>

Job Steps Log :

Job Steps Log for Job :Pre-process

1:Evaluate expression:evaluateExpression
=========== Creating a temporary DB Link ===========
=========== Validating the DB Link ===========
=========== Generating the SQL for DB clone as PDB ===========
=========== Staging the SQL script on destination host ===========
=========== Preparing noncdb_to_pdb.sql ===========
=========== Staging the noncdb_to_pdb SQL script on destination host ===========
=========== Checking if Hot Clone is applicable ===========
=========== Handling TDE configuration ===========
Source wallet details:
----------------------
DB Target: oracle.sysman.emInternalSDK.db.security.WalletBean@7ec7209f
Wallet Type: UNKNOWN
Wallet Status: OPEN_NO_MASTER_KEY

Source DB wallet not open. Trying to open it...
ExpressionEvaluationException: Below error message was returned while executing this Computational step.
----------------------------------------------------------
28354-ORA-28354: Encryption wallet, auto login wallet, or HSM is already open
ORA-06512: at line 1

----------------------------------------------------------
28354-ORA-28354: Encryption wallet, auto login wallet, or HSM is already open
ORA-06512: at line 1
------------------------------------------------------------

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.