ALTER database open resetlogs throw error
Hi allMy db version is 10.2.0.4
Trying to open the database
ALTER database open resetlogs throws error like
ORA-04098: trigger ' APPS. LOGON_TRGR' is invalid and does not re-validation
suggestion?
Thank you
Baskar.l
Unresolved questions 45 / 48?
Tags: Database
Similar Questions
-
ALTER database open resetlog with ora-01666: controlfile is in standby
I have a problem after I have restore / recovered a backup of the source.
On the target, restoration/recovery all finished successfully, but change open resetlog of database with the following errors:
ORA-01666.
My steps are:
(1) make a backup as follows on the source (which is a prod before) complete
Configure controlfile autobackup on;
Configure snapshot controlfile name to ' / oracle_backup/rman/snapf.f'
BACKUP OF DATABASE TAG 'FULL '.
(2) CPC backupsets above the target
(3) in rman, set the dbid as the dbid of source, restored the snapf.f and then added the location.
(4) then restore, recover (everything is fine).
(5) when I alter database open resetlogs, it gives me error ora-01666.
(6) change the database open worked, but the PB is now in sleep mode and readonly.
I checked the settings, the dbname points to the dbname in source and db_unique_name point test on the target name. These two parameters have been reset by RMAN Duplicate.
We do not want a standby db, we need a test copied from the sourc.e environment
How should I proceed from here?
Thank youHello again;
And there is the problem, the only file of control is a watch. Compare your this example of mine:
BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ --------------- 4170117 Full 9.70M DISK 00:00:03 29-NOV-12 BP Key: 4170119 Status: AVAILABLE Compressed: NO Tag: TAG20121129T125327 Piece Name: /u01/oradata/RECOVER2_cold/control_RECOVER2_2821_20121129.bak Control File Included: Ckp SCN: 1307992402301 Ckp time: 29-NOV-12 BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ --------------- 4170127 Full 9.73M DISK 00:00:01 29-NOV-12 BP Key: 4170129 Status: AVAILABLE Compressed: NO Tag: TAG20121129T125332 Piece Name: /u01/app/oracle/flash_recovery_area/RECOVER2/autobackup/2012_11_29/o1_mf_s_800628756_8chcsf10_.bkp Control File Included: Ckp SCN: 1307992402301 Ckp time: 29-NOV-12
Note the version of ".bak" auto backup and y.
I think you need to take another backup. If you use Oracle 11 I have even more options.
For example, I update my test system using this:
http://www.Visi.com/~mseberg/RMAN/diff_database_duplicating.html
Sometimes I save on users, roles etc and replace later to hide.
Subsequently
You may be able to save what you have by creating a trace on the source file and then use it to re-create a control on the copy file.
If you run a backup trace command daily you can probably pull some SQL from your daily trace file like this. CREATE CONTROLFILE REUSE DATABASE "RECOVER2" NORESETLOGS NOARCHIVELOG MAXLOGFILES 16 MAXLOGMEMBERS 3 MAXDATAFILES 100 MAXINSTANCES 8 MAXLOGHISTORY 292 LOGFILE ... ...
You can save as say cf.sql, then:
SQL> startup nomount Run the SQL as shown above SQL> @cf.sql Control file created. SQL> Check the status of the database SQL> select status from v$instance; -- should be mounted If the database is mounted, can it be opened? Open the database SQL> alter database open; Database altered.
Best regards
mseberg
Published by: mseberg on November 29, 2012 19:10
-
ALTER database open resetlog?
Hi all
I have try the database cloning (new name of the database) in my development environment (Oracle 11 g r1 Windows 2003 Server). While creating a new controlfile, we order as this "CREATE CONTROLFILE REUSE SET DATABASE 'ORCL2' RESETLOGS FORCE LOGGING NOARCHIVELOG"
1.i just want to know why we need to use resetlogs, when I place this order, what happens internally in the oracle?
2. when the new name of the database is updated in all the data file during create controlfile or opening of the database?
3 alter database open resetlogs what happens internally in the oracle when I place the order?
Please me tips
Thank you and best regards,
ShanThis will help you
http://Web.NJIT.edu/info/limpid/doc/backup.102/b14191/osrecov009.htm
-
Hello
When we do not control the recovery of files using cold backup apply us redo logs and archive logs.
so here we are going to complete recovery.
and when I try to open the database with > alter database open;
It is said to use the resetlogs or noresetlogs option.
That is why we open the database need with > alter database open resetlogs;
Why > alter database open; does not work.
Please let me know.
Thank youIt has to do with the incarnation of the database which would be affected when retrieving control files is done. It's the OPEN clause will not work.
Aman...
-
"alter database open resetlogs ' not reset one of the data files
I spent the last few weeks and a half, three years recovery of an oracle database (linux 64-bit of 11g) due to a block corrupted in a newspaper online redo (I thought was written at multiple locations). I have restored the files, some of them around displacement in the process; recovered on the last possible point; files moved to their location; has ran "alter database open resetlogs; and one of the files of data (from a bigfile tablespace) does not reset itself. I checked afterwards, and it has been marked offline. I do not remember placing the file in offline mode and can not find such a statement in my last orders 300 sqlplus, that includes orders while I renamed this file and the controls surrounding rename it.
Restore/recovery of the new database will take too long and is a remarkably low option. Even if the database was opened correctly, the affected tablespace not would have been addressed in two or three minutes, that the database has been opened. Is it possible to force the oracle again reset newspapers or the difficulty, otherwise this one file to mark with the same date? Allowing only to the resetlogs option after incomplete recovery seems a poor restriction, in particular, if files gliding through like that. I suspect there is a way to simply set the values of control point for the tablespace, but I don't know where to start. This particular file is < 5% of the database, so if I do a sort of backup/restore with all this, it's probably doable.Thank you for the necessary information, the image would have been much clearer if you would have posted this initially. There was nothing wrong in procedures that you applied.
Unfortunately, it seems you hit a bug, the command to reset everything... is alter database open resetlogs, and there is no other command.
So, Yes, you must go to this door that says more
'Ogni speranza, voi che entrate leave fare' (leave all hope behind you, you happening. It is the inscription of Hades, the underworld, the Monteverdi's Opera "Orfeo"). This gate is called "My Oracle Support" and if your problem will be solved, who knows.
I don't think that this is a generic problem however, or we would have known, so it's probably still a few 64-bit partner. These days at Oracle quality assurance procedures seems to leave much to be desired.
If all goes well, they will be able to reproduce your problem.
Good luck on your trip across the river Styx!
Although they will probably want to upgrade you to 11.1.0.7
------------
Sybrand Bakker
Senior Oracle DBA -
HI during startup of the database of the following errors is. Please help solve the problem.
SQL > alter database open;
change the database open * ERROR at line 1: ORA-03113: end of file on the channel of communication process ID: 10400 Session ID: 418 serial number: 3 -.
============================================================
Please see the alerts log entries
--------------------------------------------------------------------------------------------------------------------------------
Commissioning:
Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
With the options of partitioning, OLAP, Data Mining and Real Application Testing.
Using parameters in spfile D:\APP\ADMINISTRATOR\PRODUCT\11.2.0\DBHOME_1\DATABASE\SPFILEATTNDPRD server-side. ORA
Parameters of the system with default values:
process = 400
sessions = 624
memory_target = 4G
control_files = 'D:\ORACLE\ORADATA\ATTNDPRD\CONTROLFILE\O1_MF_8LRQYB0M_. CTL.
control_files = 'C:\ORACLE\ORADATA\ATTNDPRD\CONTROLFILE\O1_MF_8LRQYB13_. CTL.
DB_BLOCK_SIZE = 8192
compatible = "11.2.0.0.0."
log_archive_format = "ARC%S_%R.%T."
db_create_file_dest = 'D:\oracle\oradata. '
db_create_online_log_dest_1 = "D:\oracle\oradata".
db_create_online_log_dest_2 = "C:\oracle\oradata".
db_recovery_file_dest = 'C:\oracle\oradata\flash_area. '
db_recovery_file_dest_size = 8G
undo_tablespace = 'UNDOTBS1.
Remote_login_passwordfile = "EXCLUSIVE."
db_domain = «»
dispatchers = "(PROTOCOL=TCP) (SERVICE = ATTNDPRDXDB)" "
audit_file_dest = "D:\APP\ADMINISTRATOR\ADMIN\ATTNDPRD\ADUMP".
AUDIT_TRAIL = 'DB '.
db_name = "ATTNDPRD".
open_cursors = 300
diagnostic_dest = "D:\APP\ADMINISTRATOR".
Sun 24 May 13:43:09 2015
PMON started with pid = 2, OS id = 5792
Sun 24 May 13:43:09 2015
VKTM started with pid = 3, OS id = 6500 high priority
VKTM clocked at (10) precision of milliseconds with DBRM quantum (100) ms
Sun 24 May 13:43:09 2015
GEN0 started with pid = 4, OS id = 13072
Sun 24 May 13:43:09 2015
DIAG started with pid = 5, OS id = 1424
Sun 24 May 13:43:09 2015
DBRM started with pid = 6, OS id = 8240
Sun 24 May 13:43:09 2015
PSP0 started with pid = 7, OS id = 2980
Sun 24 May 13:43:09 2015
DIA0 started with pid = 8, OS id = 12956
Sun 24 May 13:43:09 2015
MA started with pid = 9, OS id = 13356
Sun 24 May 13:43:09 2015
DBW0 started with pid = 10, OS id = 14248
Sun 24 May 13:43:09 2015
DBW1 started with pid = 11, OS id = 17900
Sun 24 May 13:43:09 2015
LGWR started with pid = 12, OS id = 5564
Sun 24 May 13:43:09 2015
CKPT started with pid = 13, OS id = 16736
Sun 24 May 13:43:09 2015
SMON started with pid = 14, OS id = 14068
Sun 24 May 13:43:09 2015
RECCE has started with pid = 15, OS id = 16288
Sun 24 May 13:43:09 2015
MMON started with pid = 16, OS id = 10884
commissioning 1 dispatcher (s) for '(ADDRESS =(PARTIAL=YES) (PROTOCOL = TCP))' network address...
commissioning or shared server 1...
Environment ORACLE_BASE = D:\app\Administrator
Sun 24 May 13:43:09 2015
ALTER DATABASE MOUNT
Sun 24 May 13:43:09 2015
MMNL started with pid = 17, OS id = 16128
Mount of redo thread 1, with mount id 3325657453
Database mounted in exclusive Mode
Disabled lost write protect
Completed: ALTER DATABASE MOUNT
Sun 24 May 13:43:23 2015
change the database open
Sun 24 May 13:43:23 2015
LGWR: FROM PROCESS ARCH
Sun 24 May 13:43:23 2015
Arc0 started with pid = 21, OS id = 10084
Arc0: Started archiving
LGWR: FROM PROCESS ARCH COMPLETE
ARC0: FROM PROCESS ARCH
Sun 24 May 13:43:24 2015
Arc1 started with pid = 22, OS id = 18400
Sun 24 May 13:43:24 2015
ARC2 started with pid = 23, OS id = 17280
Arc1: Started archiving
ARC2: Started archiving
Arc1: become the "no FAL' ARCH
Arc1: become the "no SRL" ARCH
ARC2: Become the heartbeat ARCH
Errors in the d:\app\administrator\diag\rdbms\attndprd\attndprd\trace\attndprd_ora_10400.trc file:
ORA-19815: WARNING: db_recovery_file_dest_size 8589934592 bytes is 100.00% used and has 0 bytes remaining available.
************************************************************************
You have choice to free up space in the recovery area:
1 consider changing STRATEGY OF RETENTION of RMAN. If you are using Data Guard
then consider changing POLICY of DELETE ARCHIVELOG RMAN.
2 back up files on a tertiary device such as a tape with RMAN
SAFEGUARDING RECOVERY AREA command.
3. Add space drive and increase the db_recovery_file_dest_size setting to
reflect the new space.
4 remove the unnecessary files using the RMAN DELETE command. If a service
the system control has been used to remove the files, and then use the RMAN DUPLICATION and
Commands DELETE has EXPIRED.
************************************************************************
Errors in the d:\app\administrator\diag\rdbms\attndprd\attndprd\trace\attndprd_ora_10400.trc file:
ORA-19809: limit exceeded for file recovery
ORA-19804: cannot recover disk 44571136 bytes limit 8589934592 space
ARCH: 19809 error creating archive log file to ' C:\ORACLE\ORADATA\FLASH_AREA\ATTNDPRD\ARCHIVELOG\2015_05_24\O1_MF_1_10343_%U_. ARC'
Errors in the d:\app\administrator\diag\rdbms\attndprd\attndprd\trace\attndprd_ora_10400.trc file:
ORA-16038: log 2 # 10343 sequence can be archived
ORA-19809: limit exceeded for file recovery
ORA-00312: wire 2 1 online journal: ' D:\ORACLE\ORADATA\ATTNDPRD\ONLINELOG\O1_MF_2_8LRQYD8B_. JOURNAL"
ORA-00312: wire 2 1 online journal: ' C:\ORACLE\ORADATA\ATTNDPRD\ONLINELOG\O1_MF_2_8LRQYDF6_. JOURNAL"
USER (ospid: 10400): put an end to litigation because of the error 16038
Sun 24 May 13:43:24 2015
ARC3 started with pid = 24, OS id = 2188
Errors in the d:\app\administrator\diag\rdbms\attndprd\attndprd\trace\attndprd_arc2_17280.trc file:
ORA-19815: WARNING: db_recovery_file_dest_size 8589934592 bytes is 100.00% used and has 0 bytes remaining available.
************************************************************************
You have choice to free up space in the recovery area:
1 consider changing STRATEGY OF RETENTION of RMAN. If you are using Data Guard
then consider changing POLICY of DELETE ARCHIVELOG RMAN.
2 back up files on a tertiary device such as a tape with RMAN
SAFEGUARDING RECOVERY AREA command.
3. Add space drive and increase the db_recovery_file_dest_size setting to
reflect the new space.
4 remove the unnecessary files using the RMAN DELETE command. If a service
the system control has been used to remove the files, and then use the RMAN DUPLICATION and
Commands DELETE has EXPIRED.
************************************************************************
Instance of stopped by USER, pid = 10400
--------------------------------------------------------------------------------------------------------------------------
Regarding
Ngoyi
Hello
Now it works very well... with following
--------------------------------------------------
using sqlplus
- Startup mount
- ALTER database noarchivelog;
- ALTER database open;
-------------------------------------------------------------------------------
Concerning
Ngoyi
-------------------------------------------------
-
ORA-1092 marked during: ALTER DATABASE OPEN...
Oracle 11.2.0.1
Running in noarchive mode - so no backup. This is a new test database.
The database was working fine. I used SQL Developer 'data copy' to bring objects of production database for test. The program ran for hours and never finished. So I clicked on the button "Cancel". And "the copy database" program closed cleanly.
I was able to connect to the database, but when I tried to create a db link it hung. So I made an immediate halt and the database closed properly.
But when I tried to put the database in the rear seat... that's when the problem started.
SQL> startup ORACLE instance started. Total System Global Area 1.3495E+10 bytes Fixed Size 2218032 bytes Variable Size 6845106128 bytes Database Buffers 6576668672 bytes Redo Buffers 71471104 bytes Database mounted. ORA-01092: ORACLE instance terminated. Disconnection forced ORA-00704: bootstrap process failure ORA-00604: error occurred at recursive SQL level 1 ORA-00942: table or view does not exist Process ID: 5555 Session ID: 191 Serial number: 3 SQL> shutdown immediate ORA-24324: service handle not initialized ORA-01041: internal error. hostdef extension doesn't exist
Here's what's in the newspaper of the alerts:
<msg time='2014-11-07T07:30:05.326-08:00' org_id='oracle' comp_id='rdbms' msg_id='opiexe:3056:2780954927' client_id='' type='NOTIFICATION' group='admin_ddl' level='16' host_id='dub-ImrORA2.americas.epicor.net' host_addr='10.20.0.88' module='[email protected] (TNS V1-' pid='5555'> <txt>ORA-1092 signalled during: ALTER DATABASE OPEN... </txt> </msg> <msg time='2014-11-07T07:30:05.343-08:00' org_id='oracle' comp_id='rdbms' client_id='' type='UNKNOWN' level='16' host_id='dub-ImrORA2.americas.epicor.net' host_addr='10.20.0.88' module='[email protected] (TNS V1-' pid='5555'> <txt>opiodr aborting process unknown ospid (5555) as a result of ORA-1092 </txt> </msg> <msg time='2014-11-07T07:30:06.531-08:00' org_id='oracle' comp_id='rdbms' type='UNKNOWN' level='16' host_id='dub-ImrORA2.americas.epicor.net' host_addr='10.20.0.88' pid='5555'> <txt>ORA-1092 : opitsk aborting process </txt> </msg>
Please tell me how to recover this database.
It seems that you have corrupted objects "bootstrap", such as access$, which is necessary for the open operation. Only solution is to restore from a backup, or re-create DB.
-
ORA-1113 marked during: alter database open
Help, please!
While in retrospect was backing one of the index file of the database on our server, I started accidentally services and the Oracle database. When trying to connect to SQL, the following error message occurs:
ORA-01033: Oracle initialization or shutting.
I opened the alert log database and the following error message was published at the time, that I started to the Oracle database.
ORA-1113 marked during: alter database open
Is the version of Oracle 8i and the operating system is Windows NT 4.0.
If anyone knows how to fix this problem without having to perform a database recovery, I would appreciate your help.
Thank you in advance.ORa-1113 error means that your application of backup ("retrospective") an ALTER TABLESPACE BEGIN BACKUP and END for each tablespace.
In 8i, you wouldn't have the command "ALTER DATABASE END BACKUP". Neither the "ALTER DATABASE DATAFILE... BACKUP COPY OF THE END. "
What you would do is:
1. start the service.
2. go to the quick Windows command line as administrator or the account of the OS_DBA Group (with the right ORACLE_SID, ORACLE_HOME and path)
3 sqlplus / as sysdba
4 start editing - or ALTER DATABASE MOUNT so it start but not mounted
5 ALTER TABLESPACE (tablespacename_that_was_in_backup_mode) BACKUP end;
(if there were spaces of multiple tablespaces in backup mode, issue the END BACKUP for each other)
6. ALTER DATABASE OPEN;The other option in step 5 is the "RECOVER DATABASE". Oracle can ask any archivelogs to synchronize the files data back.
-
Cannot run 'alter database open"in the file of RRS
Hello
My OS is Sun solaris,
Version of DB - 10.2.0.2.0
I am currently performing an offline backup in the file RRS by RMAN.
but when he reached never to
the code isalter database open;
What is the problem with the script?connect target RMAN/*****@abcd startup force dba; shutdown immediate; startup mount; configure retention policy to recovery window of 31 days; configure controlfile autobackup on; configure default device type to sbt; configure device type sbt parallelism 1; configure channel device type sbt format '%d_%s_%t_%p'; RUN { set command id to 'RMAN off full to nsr'; backup database; } \\===============> full backup is successful here. alter database open; //=================>but never reaches to this line RUN { allocate channel d1 device type disk; copy current controlfile to '/aib-oa/ar/oraA378/backup/copy_A378.ctl'; release channel d1; } allocate channel for maintenance device type disk; RUN { delete noprompt backup of spfile completed before 'sysdate-7'; }
any help in this...
Thank youYou would be able to open the database if you include it in the execution block
C:\Documents and Settings\Administrateur > rman target sys/oracle
Recovery Manager: release 10.2.0.5.0 - Production Fri Jan 13 18:03:40 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: PRIM (DBID = 769308260, is not open)
RMAN > run
2 > {}
3 > alter database open;
{4 >}using the control file of the target instead of recovery catalog database
open databaseRMAN >
-
ALTER DATABASE OPEN NORESETLOGS
Is there a difference between
ALTER DATABASE OPEN NORESETLOGS;
and
ALTER DATABASE OPENhttp://download.Oracle.com/docs/CD/B19306_01/server.102/b14200/statements_1004.htm#i2080129
apparent no difference
-
What are all the scenarios that we open the database opens resetlog mode
What are all the scenarios that we open the database opens resetlog mode... Please adviseIn any case, when an incomplete recovery is made you must open mode resetlog database.
-
ORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS would get below error
Dear all,
While making RMAN cloning we get the error in the trace as file
Trace file E:\ORACLE\TESTDB\11.2.0\ADMIN\TEST_TESTDB\diag\rdbms\hrdev\test\trace\test_pr00_3980.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production
With partitioning, OLAP, Data Mining and Real Application Testing options
Windows Server 2003 V5.2 Service Pack 2 Version
CPU: 2 - type 586, 2 physical cores
Process affinity: 0 x 0 x 00000000
Memory (success/Total): Ph: 15587 M / 16383 M, Ph + FCP: 32981 M / 34549 M, GOES: 708 M / 2047 M
Instance name: hrdev
Redo thread mounted by this instance: 1
Oracle process number: 20
Windows thread ID: 3980, image: ORACLE. EXE (PR00)
2015-07-03 18:30:47.577
Has started the recovery of parallel media
2015-07-03 18:30:47.983
Dumping table incarnation of database:
RESETLOGS 0 Yvert and time: 0x0003.660c2a42 01/09/2014 19:37:43
Incarnation of recovery target = 2, = 0 activation ID
The flow buffer limit = 37200 min (50% x 74400, 100000)
Start the recovery to the thread 1 ckpt SNA 15900955092 logseq 2726 block 469796
Initial size of the buffers: read 1024K, 832K overflow, change 805K
2015-07-03 18:30:48.030
Add a Media Recovery redo thread 1
2015-07-03 18:30:48.827
Fall of Media Recovery redo thread 1
DDE: Key problem "ORA 1110' was the controlled flood (0 x 1) (incident)
ORA-01110: data file 1: ' F:\ORACLE\TESTDATA\SYSTEM01. DBF'
2015-07-03 18:30:49.405
Completed media recovery
ORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS would get below error
ORA-01194: file 1 needs a recovery more match
ORA-01110: data file 1: ' F:\ORACLE\TESTDATA\SYSTEM01. DBF'
Concerning
Villi Kumar
Dear all,
We have fixed this problem.
Solution:
E:\oracle\testdb\11.2.0>sqlplus sys as sysdba
SQL * more: Production of liberation 11.2.0.3.0 Fri Jul 3 19:00:20 2015
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Enter the password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL >
SQL > RECOVER DATABASE UNTIL CANCEL USING BACKUP CONTROLFILE;
ORA-00279: change 15900955092 generated at 02/07/2015 17:30:06 to
thread 1
ORA-00289: suggestion:
E:\ORACLE\TESTDB\11.2.0\RDBMS\ARC0000002726_0836422663.0001
ORA-00280: change 15900955092 thread 1 is in sequence #2726
Specify the log: {
= suggested |} Filename | AUTO | CANCEL} F:\oracle\arch\TEST\ARC0000002726_0836422663.0001
ORA-00279: change 15900962042 generated at 02/07/2015 18:30:06 to
thread 1
ORA-00289: suggestion:
E:\ORACLE\TESTDB\11.2.0\RDBMS\ARC0000002727_0836422663.0001
ORA-00280: change 15900962042 thread 1 is in sequence #2727
ORA-00278: save the file 'F:\oracle\arch\TEST\ARC0000002726_0836422663.0001' not
longer needed for recovery
Specify the log: {
= suggested |} Filename | AUTO | CANCEL} F:\oracle\arch\TEST\ARC0000002727_0836422663.0001
ORA-00279: change 15900962052 generated at 02/07/2015 18:30:16 needed to
thread 1
ORA-00289: suggestion:
E:\ORACLE\TESTDB\11.2.0\RDBMS\ARC0000002728_0836422663.0001
ORA-00280: change 15900962052 thread 1 is in sequence #2728
ORA-00278: save the file 'F:\oracle\arch\TEST\ARC0000002727_0836422663.0001' not
longer needed for recovery
Specify the log: {
= suggested |} Filename | AUTO | CANCEL} F:\oracle\arch\TEST\ARC0000002728_0836422663.0001
ORA-00279: change 15901106577 generated at 03/07/2015 06:23:19 needed to
thread 1
ORA-00289: suggestion:
E:\ORACLE\TESTDB\11.2.0\RDBMS\ARC0000002729_0836422663.0001
ORA-00280: change 15901106577 thread 1 is in sequence #2729
ORA-00278: save the file 'F:\oracle\arch\TEST\ARC0000002728_0836422663.0001' not
longer needed for recovery
Specify the log: {
= suggested |} Filename | AUTO | CANCEL} F:\oracle\arch\TEST\ARC0000002729_0836422663.0001
ORA-00279: change 15901247230 generated at 03/07/2015 06:33:53 required for
thread 1
ORA-00289: suggestion:
E:\ORACLE\TESTDB\11.2.0\RDBMS\ARC0000002730_0836422663.0001
ORA-00280: change 15901247230 thread 1 is in sequence #2730
ORA-00278: save the file 'F:\oracle\arch\TEST\ARC0000002729_0836422663.0001' not
longer needed for recovery
Specify the log: {
= suggested |} Filename | AUTO | CANCEL} F:\oracle\arch\TEST\ARC0000002730_0836422663.0001
ORA-00279: change 15901413113 generated at 03/07/2015 06:45:53 required for
thread 1
ORA-00289: suggestion:
E:\ORACLE\TESTDB\11.2.0\RDBMS\ARC0000002731_0836422663.0001
ORA-00280: change 15901413113 thread 1 is in sequence #2731
ORA-00278: save the file 'F:\oracle\arch\TEST\ARC0000002730_0836422663.0001' not
longer needed for recovery
Specify the log: {
= suggested |} Filename | AUTO | CANCEL} F:\oracle\arch\TEST\ARC0000002731_0836422663.0001
ORA-00279: change 15901578404 generated at 03/07/2015 06:56:49 to
thread 1
ORA-00289: suggestion:
E:\ORACLE\TESTDB\11.2.0\RDBMS\ARC0000002732_0836422663.0001
ORA-00280: change 15901578404 thread 1 is in sequence #2732
ORA-00278: save the file 'F:\oracle\arch\TEST\ARC0000002731_0836422663.0001' not
longer needed for recovery
Specify the log: {
= suggested |} Filename | AUTO | CANCEL} F:\oracle\arch\TEST\ARC0000002732_0836422663.0001
ORA-00279: change 15901715991 generated at 03/07/2015 07:05:32 needed to
thread 1
ORA-00289: suggestion:
E:\ORACLE\TESTDB\11.2.0\RDBMS\ARC0000002733_0836422663.0001
ORA-00280: change 15901715991 thread 1 is in sequence #2733
ORA-00278: save the file 'F:\oracle\arch\TEST\ARC0000002732_0836422663.0001' not
longer needed for recovery
Specify the log: {
= suggested |} Filename | AUTO | CANCEL} Cancel
SQL > alter database open resetlogs;
Concerning
Villi Kumar
-
Effects of the opening of a primary database in resetlogs on the standby database
Hi all
Operating system: Solaris
DB: 11 gR 2
Can anyone throw some light below the explanation is given in case of recovery through the OPEN RESETLOGS Statement oracle documentation
If the database pending... Then... Perform these steps... Not asked to redo data beyond the new resetlogs SCN (after the start of the new branch of data recovery) Redo apply automatically takes the new branch of the roll forward. No manual intervention is required. The MRP automatically resynchronizes the database pending with the new branch of data recovery. Here is the link of the source:
Manage a database of physical standby
Kind regards
Just to give a concrete example, I did a test on one of my VM boxes. The database currently shows:
SQL > select sequence #, the journal of v status $;
SEQUENCE # STATUS
---------- ----------------
34 ACTIVE
CURRENT 35
ACTIVE 33
While on the eve, I stopped the redo apply so the standby status is:
SQL > select sequence #, used from v$ archived_log;
SEQUENCE # APPLIED
---------- ---------
YES 30
31 YES
32 YES
33 NO.
34 NO.
The database ensures in a few newspapers behind the primary.
On the primary, I moved the journal a few sequences, close, the bootable media and restored and recovered 37 sequence:
RMAN > run
2 > {}
3 > restore database;
4 > up 37 sequence;
5 > restore database;
6 > alter database open resetlogs;
{7 >}
During the open resetlogs operation, I have to tail the log of alerts on the standby database and the following output shown:
RFS [11]: identified the type of database such as 'physical' standby: customer is ARCH pid 17192
RFS [11]: new branch archives REDO: 844006029 current: 843649185
RFS [11]: Journal selected 102 for thread 1 1 dbid-204899919 branch of the 844006029 sequence
RFS [11]: new Branch (resetlogs_id) of archive REDO: before 844006029: 843649185
RFS [11]: ID of Activation of archives: current 0xf3d44942: 0xf3cf5ac3
RFS [11]: effect of primary database OPEN RESETLOGS
RFS [11]: entry of Incarnation added to Branch (resetlogs_id): 844006029 (ORCL11PS)
Fri Apr 04 14:07:39 2014
Definition of embodiment of recovery target 2
Fri Apr 04 14:07:39 2014
Archived journal 21 additional for each sequence 1 1 0xf3d44942 dest ID thread entry 1:
So as you can see, the log shows the standby detects the resetlogs on the primary operation and the new branch of the roll forward and received the next archivelog with sequence 1.
Audit on the eve, it shows the status following the archivelogs:
SEQUENCE # APPLIED
---------- ---------
31 YES
32 YES
33 NO.
34 NO.
35 NO.
36 NO.
37 NO.
38 NO.
1 NO.
2 NO.
And after restart the managed recovery process, it now shows:
SEQUENCE # APPLIED
---------- ---------
31 YES
YES 30
YES 19
YES 33
34 YES
35 YES
YES 36
37 NO.
38 NO.
1 YES
2 YES
Archivelogs with sequence 37 and 38 were not implemented because of the CAMILLE on the main sequence until (but not including!) 37 and then properly applied the next archivelogs of the new branch of the roll forward, with sequence 1 and 2.
-
Database ALTER DATABASE RECOVER using backup controlfile with AUTO option
Hello. I was recovering a database today and had a little blip.
I have published the following:
Database ALTER DATABASE RECOVER using backup controlfile
I then chose the AUTO option, allowing Oracle to select all available log files so that it would recover to the last log found in the destination of archive
However... has performed the following:
ORA-00289: suggestion:
/U03/Oracle/stk2proddata/archived_logs/arch1_242449_737547185.dbf
ORA-00280: change 30031145558 thread 1 is in sequence #242449
ORA-00278: log file
' / u03/oracle/stk2proddata/archived_logs/arch1_242448_737547185.dbf' is no longer
necessary for this recovery
ORA-00308: cannot open archived log
' / u03/oracle/stk2proddata/archived_logs/arch1_242449_737547185.dbf'
ORA-27037: unable to get file status
Linux-x86_64 error: 2: no such file or directory
Additional information: 3Two messages above that I expected. However, I made then this:
SQL > alter database open resetlogs;
ALTER database open resetlogs
*
ERROR on line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: ' / u02/oracle/stk2proddata/system01.dbf'
This is not what I expected. What I've done wrong? Should I once received the message "cannot open archived log", launched to CANCEL?
I then recovered again, but used
SQL > restore database using backup controlfile until cancel;
ORA-00279: change 30031145558 generated at 30/04/2014 09:58:34 needed to
thread 1
ORA-00289: suggestion:
/U03/Oracle/stk2proddata/archived_logs/arch1_242449_737547185.dbf
ORA-00280: change 30031145558 thread 1 is in sequence #242449
Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}ORA-00279: change 30031157768 generated at 30/04/2014 10:06:07 needed to
thread 1
ORA-00289: suggestion:
/U03/Oracle/stk2proddata/archived_logs/arch1_242450_737547185.dbf
ORA-00280: change 30031157768 thread 1 is in sequence #242450
ORA-00278: log file
' / u03/oracle/stk2proddata/archived_logs/arch1_242449_737547185.dbf' is no longer
necessary for this recovery
Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}
Cancel
Cancelled media recovery.
SQL > alter database open resetlogs;Database altered.
No problem then here. Could someone please explain what I did wrong the first time and the second time right? Is this a problem with the car and using CANCEL?
Thank you!
DA
11.2.0.2
RHEL 5.5
Bug: 4178579
-
Open resetlogs does not work when creating clone db with online backup
Hi all
I am trying to create a clone database using a database hot backup.
STEPS I FOLLOWED
------------------------------------
LET-> CURRENT_DB NAME = DEV
DATABASE NAME = DEVCLONE CLONE
FORM DEV DB steps
-----------------------------------------------
-put the database in backup mode using 'alter database begin backup'
-Copy all data files to a different folder
-for the copy, I carried a few operations on the DB (creating users, tables, LMD etc...)
-between the copy, I did also order journal
-at the end of the copy, "alter database end backup.
-created a backup control file in a human-readable format (alter database backup controlfile to trace under...)
steps to clone side DB ((DEVCLONE)
-------------------------------------------------------------------
-created a setting for the database file.
-changed the backup control file, so that it indicates the location of the datafiles copied destination
-set the ORACLE_SID
- then "sqlplus / as sysdba"
-starup nomount
-Run the file updated control (created a control file for database clone)
-recover the database using 'recover database using backup controlfile'
I have provided the files to archive that he was asking for (the archive that has been generated in DEV DB logs)
then I cancelled the recovery by typing 'Cancel '.
-recover database using backup controlfile until cancel;
then typed "Cancel".
-then try to open the database with resetlogs open but it showed error below
ALTER database open resetlogs
*
ERROR on line 1:
ORA-01195: online backup of file 1 needs a recovery more match
ORA-01110: data file 1: ' D:\DATA_GUARD\DEVHOT\SYSTEM01. DBF'
Please help me on this...
Thank youWhen the database is in BACKUP mode, it is still actively updated, only the data file headers are frozen.
The data files are all "blurred".
To resynchronize the, you can all do it again that was generated during the BACKUP mode - so the generated archivelogs while in BACKUP mode at least the first captured archivelog BACKUP of the END (and release of the datafile headers) is required.Hemant K Collette
Maybe you are looking for
-
Satellite M30: Impossible to install a wireless LAN
Hello I have a Toshiba Satellite M30, with Windows Xp. I can't install a wireless LAN, and I think that the cause is that I don't have the driver for:In Intel (r) 82801DBM LPC Interface Controller - 24CC I can not found in the web page.Please can som
-
What does the blue half moon?
What is the Blue Moon and how can I get rid of him? Thank you
-
Y580 does not start after the battery indicator reset
Hi fans of Lenovo! 3 months now since I bought a Lenovo y580. A notebook of beast when it comes to games. Recently, I tried to use a preinstalled software from Lenovo to reset my battery indicator because it showed an erroneous accusation. The softwa
-
Photosmart HP 7520: Is a driver for Windows 10 available for printer HP Photosmart 7520?
I think in current and installing Windows 10 but was told that there may be a driver for my printer. I have connected by wire to the tower which is wireless. Please give advice.
-
Football Manager 2011 is compatible with Windows XP