ORA-16433 The database…
2017-05-02 10:55
323 查看
SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-16433: The database has not been opened in read-write mode
RMAN Duplicate fails to open CLONE with ORA-01139 when the wrong
undo tablespace is specified for the auxiliary [ID 1536368.1]
转到底部
--------------------------------------------------------------------------------
修改时间:2013-3-12类型:PROBLEM状态:MODERATED优先级:3 注释
(0)
In this Document
Symptoms
Cause
Solution
References
--------------------------------------------------------------------------------
This document is being delivered to you via Oracle Support's Rapid
Visibility (RaV) process and therefore has not been subject to an
independent technical review.
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.3 and
later
Information in this document applies to any platform.
Symptoms
RMAN Duplicate fails to open CLONE with ORA-01139 when the wrong
undo tablespace is specified in auxiliary pfile:
contents of Memory Script:
{
Alter clone database open resetlogs;
}
executing Memory Script
}
executing Memory Script
RMAN-00571:
===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS
===============
RMAN-00571:
===========================================================
RMAN-00601: fatal error in recovery manager
RMAN-03004: fatal error during execution of command
RMAN-10041: Could not re-create polling channel context following
failure.
RMAN-10024: error setting up for rpc polling
RMAN-10005: error opening cursor
RMAN-10002: ORACLE error: ORA-03114: not connected to ORACLE
RMAN-03002: failure of Duplicate Db command at 10/10/2012
14:27:10
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-06136: ORACLE error from auxiliary database: ORA-01092: ORACLE
instance ter
minated. Disconnection forced
ORA-30012: undo tablespace 'UNDOTBS1X' does not exist or of wrong
type
All attempts to clear the issue with manual
recovery fail:
Using SQLPlus
SQL> recover database using backup controlfile until
cancel;
ORA-00283: recovery session canceled due to errors
ORA-16433: The database must be opened in read/write mode.
SQL> alter database backup controlfile to trace;
alter database backup controlfile to trace
*
ERROR at line 1:
ORA-16433: The database must be opened in read/write mode.
Using RMAN
RMAN> recover clone database;
RMAN-11003: failure during parse/execution of SQL statement: alter
database
recover if needed
start until cancel using backup controlfile
ORA-00283: recovery session canceled due to errors
ORA-16433: The database must be opened in read/write mode.
Cause
Auxiliary pfile specifies an invalid undo_tablespace name that is
not present in the database that is being duplicated.
This causes the auxiliary to fail immediately after opening
with resetlogs.
<<Bug 14744052>>: AFTER FAILURE OF
DUPICATE COMMAND DURING OPEN RESETLOGS, CLONE RAISES ORA-16433
Closed: Not a Bug
A flag is set in the auxiliary pfile during resetlogs which is
then unset by the dictionary check when resetlog
9e5b
s completes
successfaully. As resetlogs did not complete the
flag is still set causing the ORA-16433 to be
raised whenever the controlfile is subsquently
accessed. There is no way to clear this
flag.
Solution
Recreate the controlfile using an edited version of the create
controlfile script generated from the target: How
to Recreate a Controlfile (Doc ID 735106.1)
The auxiliary alert log shows that a resetlogs was done and will
identify the online log for sequence# 1:
Thread 1 opened at log sequence 1
Current log# 1 seq# 1 mem# 0: C:\APP\DUP\REDO01.LOG
To complete the process :
- correct undo_tablespace parameter in auxiliary pfile
- remount auxiliary with the newly created controlfile
- recover and open with resetlogs
SQL> recover database using backup controlfile;
ORA-00279: change 2023230 generated at 10/10/2012 14:27:01 needed
for thread 1
ORA-00289: suggestion :
C:\APP\FAST_RECOVERY_AREA\DUP\ARCHIVELOG\2012_10_10\O1_MF_1_1_%U_.ARC
ORA-00280: change 2023230 for thread 1 is in sequence #1
Specify log: {=suggested | filename | AUTO | CANCEL}
C:\APP\DUP\REDO01.LOG
Log applied.
Media recovery complete.
SQL> alter database open resetlogs;
Database altered.
ORA-00283: recovery session canceled due to errors
ORA-16433: The database has not been opened in read-write mode
RMAN Duplicate fails to open CLONE with ORA-01139 when the wrong
undo tablespace is specified for the auxiliary [ID 1536368.1]
转到底部
--------------------------------------------------------------------------------
修改时间:2013-3-12类型:PROBLEM状态:MODERATED优先级:3 注释
(0)
In this Document
Symptoms
Cause
Solution
References
--------------------------------------------------------------------------------
This document is being delivered to you via Oracle Support's Rapid
Visibility (RaV) process and therefore has not been subject to an
independent technical review.
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.3 and
later
Information in this document applies to any platform.
Symptoms
RMAN Duplicate fails to open CLONE with ORA-01139 when the wrong
undo tablespace is specified in auxiliary pfile:
contents of Memory Script:
{
Alter clone database open resetlogs;
}
executing Memory Script
}
executing Memory Script
RMAN-00571:
===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS
===============
RMAN-00571:
===========================================================
RMAN-00601: fatal error in recovery manager
RMAN-03004: fatal error during execution of command
RMAN-10041: Could not re-create polling channel context following
failure.
RMAN-10024: error setting up for rpc polling
RMAN-10005: error opening cursor
RMAN-10002: ORACLE error: ORA-03114: not connected to ORACLE
RMAN-03002: failure of Duplicate Db command at 10/10/2012
14:27:10
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-06136: ORACLE error from auxiliary database: ORA-01092: ORACLE
instance ter
minated. Disconnection forced
ORA-30012: undo tablespace 'UNDOTBS1X' does not exist or of wrong
type
All attempts to clear the issue with manual
recovery fail:
Using SQLPlus
SQL> recover database using backup controlfile until
cancel;
ORA-00283: recovery session canceled due to errors
ORA-16433: The database must be opened in read/write mode.
SQL> alter database backup controlfile to trace;
alter database backup controlfile to trace
*
ERROR at line 1:
ORA-16433: The database must be opened in read/write mode.
Using RMAN
RMAN> recover clone database;
RMAN-11003: failure during parse/execution of SQL statement: alter
database
recover if needed
start until cancel using backup controlfile
ORA-00283: recovery session canceled due to errors
ORA-16433: The database must be opened in read/write mode.
Cause
Auxiliary pfile specifies an invalid undo_tablespace name that is
not present in the database that is being duplicated.
This causes the auxiliary to fail immediately after opening
with resetlogs.
<<Bug 14744052>>: AFTER FAILURE OF
DUPICATE COMMAND DURING OPEN RESETLOGS, CLONE RAISES ORA-16433
Closed: Not a Bug
A flag is set in the auxiliary pfile during resetlogs which is
then unset by the dictionary check when resetlog
9e5b
s completes
successfaully. As resetlogs did not complete the
flag is still set causing the ORA-16433 to be
raised whenever the controlfile is subsquently
accessed. There is no way to clear this
flag.
Solution
Recreate the controlfile using an edited version of the create
controlfile script generated from the target: How
to Recreate a Controlfile (Doc ID 735106.1)
The auxiliary alert log shows that a resetlogs was done and will
identify the online log for sequence# 1:
Thread 1 opened at log sequence 1
Current log# 1 seq# 1 mem# 0: C:\APP\DUP\REDO01.LOG
To complete the process :
- correct undo_tablespace parameter in auxiliary pfile
- remount auxiliary with the newly created controlfile
- recover and open with resetlogs
SQL> recover database using backup controlfile;
ORA-00279: change 2023230 generated at 10/10/2012 14:27:01 needed
for thread 1
ORA-00289: suggestion :
C:\APP\FAST_RECOVERY_AREA\DUP\ARCHIVELOG\2012_10_10\O1_MF_1_1_%U_.ARC
ORA-00280: change 2023230 for thread 1 is in sequence #1
Specify log: {=suggested | filename | AUTO | CANCEL}
C:\APP\DUP\REDO01.LOG
Log applied.
Media recovery complete.
SQL> alter database open resetlogs;
Database altered.
相关文章推荐
- ORA-02778 : Name given for the l…
- 错误:ORA-28002:&nbsp;the&nbsp;…
- Atlas Control Toolkit and Source Code for the Build-in Asp.Net 2.0 Providers
- Error while calling the Roles.AddUserToRole (error message: Cannot resolve collation conflict fo
- SQL SERVER 2005恢复数据错误解决:The backup set holds a backup of a database other than the existing 'XXX' database
- VS2010 + Sql Server Express 2008 R2 如何安装(兼谈错误:The database 'XXX' cannot be opened because it is version 661. This server support
- Cannot open database "db1" requested by the login. The login failed.
- ASP.NET 2.0 Localization (Video, Whitepaper, and Database Provider Support)
- sqlpus报错"ORA-01033: ORACLE initialization or shutdown in progress",且数据库状态是"ORA-01507: database not m
- Atlas Control Toolkit and Source Code for the Build-in Asp.Net 2.0 Providers
- 上“海”-Cycle to the sea.
- About the new project.
- ORA-01126 & alter database archivelog
- How do i prevent end users from connecting to the database other than my application?", version 8.1.5
- How to render the " " in dropdownlist
- 上“海”-Cycle to the sea.
- About the new project.
- 使用sqlplus连接数据库时报"ORA-12154:TNS:could not resolve the connect identifier specified"解决办法
- Databases and Information Systems IV: Selected Papers from the Seventh International Conference DB&I
- ORA-16796: one or more properties could not be imported from the database [ID 358040.1]