Duplicate from active database raises ORA-01194 if one thread is closed (Doc ID 1059699.1)

Last updated on DECEMBER 19, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.

Symptoms


RMAN duplicate of RAC database into single instance using FROM ACTIVE DATABASE fails after recovery with:

ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/d13dwh/oradata1/d13dwh/datafile/system.2990.703705425'


Inspection of duplicate log shows:

RMAN-08161: contents of Memory Script:
{
set until scn 42092895854;
recover
clone database
delete archivelog
;
}


Inspection of file headers in auxilliary database shows the checkpoint scn of all the restored files is AHEAD of the untilscn calculated by duplicate:

STATUS TO_CHAR(CHECKPOINT_CHANGE#) CHECKPOINT_TIME COUNT(*)
------- ---------------------------------------- -------------------- ----------
ONLINE 42375119996 27-JAN-2010 19:06:03 1
ONLINE 42375695392 27-JAN-2010 19:24:20 1
ONLINE 42376080410 27-JAN-2010 19:38:15 1
...etc



If an attempt is made to complete recovery manually, the following error is raised:

ORA-00600: internal error code, arguments: [kcvhvdf_1], [], [], [], [], [], [], [], [], [], [], []

The trace file generated shows:

----- Current SQL Statement for this session (sql_id=agzpkm7s74893) -----
ALTER DATABASE RECOVER database using backup controlfile

----- Call Stack Trace -----

Kgeasnmierr Kcvhvdf Krdsmr adbdrv

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms