Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

not able to open the database after duplicating the db

user13364377Aug 28 2012 — edited Aug 25 2013
Hi,

I am trying to duplicate a database using a bmc tool. All the datafiles and control files are restored and the database is in mount state.

When I try open reset logs, I am getting the below error.

SQL> alter database open resetlogs;
alter database open resetlogs
*
ERROR at line 1:
ORA-00392: log 3 of thread 1 is being cleared, operation not allowed
ORA-00312: online log 3 thread 1: '/u03/oradata/pricperf/redo03.log'

And I tried clearing the log and got the below error.

SQL> alter database clear logfile group 3;
alter database clear logfile group 3
*
ERROR at line 1:
ORA-00336: log file size 200 blocks is less than minimum 8192 blocks

So I tried dropping the logfile and recreate it with a bigger size and got the below error.

SQL> alter database drop logfile group 3;
alter database drop logfile group 3
*
ERROR at line 1:
ORA-01623: log 3 is current log for instance pricperf (thread 1) - cannot drop
ORA-00312: online log 3 thread 1: '/u03/oradata/pricperf/redo03.log'

How can we resolve this, the db is in mount state and db version is 11.2.0.2 and OS is AIX 6.1

Current log file status as below

SQL> select group#, status from v$log;

GROUP# STATUS
---------- ----------------
1 UNUSED
3 CLEARING_CURRENT
2 UNUSED
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 22 2013
Added on Aug 28 2012
6 comments
21,555 views