ORA-01194: file 1 needs a recovery more match
HelloI tested on Linux Redhat 5.4 RMAN / Oracle 11.2.0.2 and had the following problems:
My configuration:
>
RMAN > show all.
Database with db_unique_name TESTDB RMAN configuration parameters are:
CONFIGURE REDUNDANCY 1 RETENTION STRATEGY; # by default
CONFIGURE BACKUP OPTIMIZATION
SET UP DEFAULT DISK DEVICE TYPE; # by default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT for DEVICE TYPE DISK TO ' / opt/BACKUP/11.2.0.2/RMAN/TESTDB/CONTROLFILES/%F';
SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT ' / opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/%U';
CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
CONFIGURE ENCRYPTION OF DATABASE # by default
CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AND 'DEFAULT' LIBERATION OPTIMIZE FOR TRUE LOAD; # by default
CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / opt/BACKUP/11.2.0.2/RMAN/TESTDB/CONTROLFILES/snapcf_TESTDB.f';
>
My 2 backups:
>
RMAN > list backup;
List of backup sets
===================
Time of accomplishment BS key Type LV size device Type elapsed time
------- ---- -- ---------- ----------- ------------ ---------------
* Incr 43 0 M DISK 00:14:17 971,77 2 March 11 *.
BP key: 44 status: AVAILABLE Tablet: NO Tag: TAG20110302T062419
Part name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/01m66ikk_1_1
List of defined backup data files 43
Name of file LV Type cash SNA cash time
---- -- ---- ---------- --------- ----
* 1 0 incr 1001503 /CDATA/TESTDB/system01.dbf* March 2, 11
* 2 0 1001503 /CDATA/TESTDB/sysaux01.dbf* incr 2 March 11
* 3 0 incr 1001503 /CDATA/TESTDB/undotbs01.dbf* March 2, 11
* 4 0 incr 1001503 /CDATA/TESTDB/users01.dbf* March 2, 11
Time of accomplishment BS key Type LV size device Type elapsed time
------- ---- -- ---------- ----------- ------------ ---------------
* 53 full 9.36 M DISK 00:00:11 March 2, 11 *.
BP key: 58 situation: AVAILABLE Tablet: NO Tag: TAG20110302T063849
Part name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/CONTROLFILES/c-2528028017-20110302-00
SPFILE included: Modification Date: March 2, 11
SPFILE db_unique_name: TESTDB
Control file included: cash SNA: 1002272 cash time: March 2, 11
Time of accomplishment BS key Type LV size device Type elapsed time
------- ---- -- ---------- ----------- ------------ ---------------
Incr 78 0 M DISK 00:13:38 970,24 March 2, 11
BP key: 81 situation: AVAILABLE Tablet: NO Tag: TAG20110302T064449
Part name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/03m66jr1_1_1
List of defined backup data files 78
Name of file LV Type cash SNA cash time
---- -- ---- ---------- --------- ----
1 0 incr 1002771 /CDATA/TESTDB/system01.dbf March 2, 11
2 0 1002771 /CDATA/TESTDB/sysaux01.dbf incr 2 March 11
3 0 incr 1002771 /CDATA/TESTDB/undotbs01.dbf March 2, 11
4 0 incr 1002771 /CDATA/TESTDB/users01.dbf March 2, 11
Time of accomplishment BS key Type LV size device Type elapsed time
------- ---- -- ---------- ----------- ------------ ---------------
93 full 9.36 M DISK 00:00:10 March 2, 11
BP key: 98 situation: AVAILABLE Tablet: NO Tag: TAG20110302T065836
Part name: /opt/BACKUP/11.2.0.2/RMAN/TESTDB/CONTROLFILES/c-2528028017-20110302-01
SPFILE included: Modification Date: March 2, 11
SPFILE db_unique_name: TESTDB
Control file included: cash SNA: 1003421 cash time: March 2, 11
RMAN >
>
I want to rebuild the database from the first backup and I always get the error:
>
RMAN > RUN
2 > {}
3 > # STARTUP NOMOUNT;
4 > # RESTORE SPFILE to ' / u01/app/oracle/product/11.2.0.2/db_1/dbs/spfileTESTDB.ora' tag "TAG20110302T063849".
5 > # SHUTDOWN IMMEDIATE;
6 > # STARTUP NOMOUNT;
7 > # RESTORE CONTROLFILE tag "TAG20110302T063849".
8 > # STARTUP MOUNT;
* 9 > SET up to this THAT SNA 1002272. *
10 > RESTORE database;
11 > RECOVER DATABASE;
12 > ALTER DATABASE OPEN RESETLOGS;
{13 >}
executing command: SET until clause
From restoration to March 2, 11
using channel ORA_DISK_1
channel ORA_DISK_1: from the restore backup set data file
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
channel ORA_DISK_1: restore datafile 00001 to /CDATA/TESTDB/system01.dbf
channel ORA_DISK_1: restore datafile 00002 to /CDATA/TESTDB/sysaux01.dbf
channel ORA_DISK_1: restore datafile 00003 to /CDATA/TESTDB/undotbs01.dbf
channel ORA_DISK_1: restore datafile 00004 in /CDATA/TESTDB/users01.dbf
channel ORA_DISK_1: backup /opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/01m66ikk_1_1 piece reading
channel ORA_DISK_1: room handle=/opt/BACKUP/11.2.0.2/RMAN/TESTDB/DATA/01m66ikk_1_1 tag = TAG20110302T062419
channel ORA_DISK_1: restored the backup part 1
channel ORA_DISK_1: restore complete, duration: 00:20:06
Finished restore at March 2, 11
From back to March 2, 11
using channel ORA_DISK_1
starting media recovery
Cannot find the archived log
Archives journal thread = 1 = 3 sequence
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the command recover at 02/03/2011 08:06:37
RMAN-06054: unknown request media recovery log archived for thread 1 with sequence 3 and from the 1001503 SNA
RMAN > * end-of-file *.
RMAN > ALTER DATABASE OPEN RESETLOGS;
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of alter db command at 02/03/2011 08:14:59
ORA-01194: file 1 needs a recovery more match
ORA-01110: data file 1: ' / CDATA/TESTDB/system01.dbf'
>
I don't know since 2 days where it's a mistake? Help, please.
Help, please!
hqt200475
concerning
Hello
Please also visit:
DATAFILE NEEDS MORE RECOVERY TO BE CONSISTENT [ID 417710.1]
Respect of
HELIOS
Tags: Database
Similar Questions
-
ORA-01195: online backup of file 1 needs a recovery more match
Hello
When starting a clone database, I got an error
SQL > alter database open resetlogs;
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: ' / test/oracle/oradata/test/system.dbf'
What should I do to open database
Thanks in advanceHello
Make sure that all data files are present.
This is a SQL and PL/SQL Forum. Please post in the Forum below for the best answers.
{forum: id = 61}
Thank you
Shankar -
Test system update fails on ORA-01113: file 1 needs media recovery
I use Oracle 9.2.0.6 on HP - UX (B.11.11)
I'm refreshing to a test of production on the same server system.
The update fails on...
ALTER DATABASE OPEN RESETLOGS;
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: ' / elltest/system/system_01.dbf'
I do mainly:
-Place prod tablespaces in backup mode
-Copy the files from production to test directories
-Take prod tablespaces out of backup mode
-pass the prod (once for each newspaper group) log files
-copy files from archive prod to test
STARTUP NOMOUNT
Create control file from a copy of the prod trace file
(CREATE CONTROLFILE REUSE SET DATABASE 'ELLTEST' RESETLOGS ARCHIVELOG)
It works
RECOVER DATABASE USING BACKUP CONTROLFILE
-J' I grab the last log archive copied during production.
ALTER DATABASE OPEN RESETLOGS;
ERROR on line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: ' / elltest/system/system_01.dbf'
I think I have I have all required log archiving prod?
Any advice?What you're trying to do is an incomplete recovery of the database. Since the redo logs are not used in your recovery you must explicitly specify the time to stop. If you do not process assumes a complete recovery and will require a request for reinstatement of online recovery log data that you do not.
You can use UNDO based recovery with
RECOVER DATABASE UNTIL CANCEL USING BACKUP CONTROL FILE;
then type CANCEL after the last active log has been applied.
Open with option RESETLOG database. It should work. -
ORA-01033 and ORA-01113: file 1 should support recovery errors
I ORA-01033 and ORA-01113: file 1 needs media recovery errors, I tried using the Recovery Manager to without result I got after a long wait of cataloging files... is ORA-19870: ERROR READING BACKUP PIECE, ORA-19501: READ ERROR ON LINE, ORA-27070: ASYNC READ/WRITE failed, OSD-04016: ERROR QUEUING ASYNCHRONOUS IO YEAR ASKS... then... switch to the previous backup... then RMAN-00571. 00569; 03002; 06026; 9 06023: I've exhausted all the advice that I know... PLS HELPStart rman and connect to the database
rman target /
Once connected, run
list backup;
If you don't find listed backup, you can use the catalog command to manually add information rman backup in the rman repository
http://docs.Oracle.com/CD/E11882_01/backup.112/e10643/rcmsynta008.htm -
ORA-01194 and ORA-00604 when using backup controlfile set #2
Oracle 11.2.0.1 database version
Enterprise Linux 5.4
Database is in archivelog mode.
I'm trying to recover a database according to a backup controlfile to trace #2. Create the controlfile works very well, but recover the database fails.
From what I understand, the recovery fails because it cannot roll forward - 39 sequence is in the online missing redo log file. However, the database opens with the restlogs option and I understand that it should use the archivelogs in order to roll back. Since it is a new controlfile he does not know the archivelogs, but he does not accept to register or use archivelog files.
The recovery as shown in set #2 doesn't seem to work as expected. Any ideas?
Following errors:
Thank youSQL> CREATE CONTROLFILE REUSE DATABASE "RCAT" RESETLOGS ARCHIVELOG etc. Control file created. Tyring to register on of the archivelogs does not work: SQL> ALTER DATABASE REGISTER LOGFILE '/u02/fra/RCAT/archivelog/2010_09_19/o1_mf_1_33_69bfo5tx_.arc'; ALTER DATABASE REGISTER LOGFILE '/u02/fra/RCAT/archivelog/2010_09_19/o1_mf_1_33_69bfo5tx_.arc' * ERROR at line 1: ORA-00604: error occurred at recursive SQL level Applying an existing archivelog during recovery does not work: SQL> recover database using backup controlfile until cancel Specify log: {<RET>=suggested | filename | AUTO | CANCEL} /u02/fra/RCAT/archivelog/2010_09_19/o1_mf_1_33_69bfo5tx_.arc ORA-00310: archived log contains sequence 33; sequence 39 required ORA-00334: archived log: '/u02/fra/RCAT/archivelog/2010_09_19/o1_mf_1_33_69bfo5tx_.arc' 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: '/u02/RCAT/datafile/o1_mf_system_6959kz7l_.dbf' ls -l /u02/fra/RCAT/archivelog/2010_09_19: -rw-r----- 1 oracle dba 49313280 Sep 19 00:01 o1_mf_1_33_69bfo5tx_.arc -rw-r----- 1 oracle dba 312320 Sep 19 00:03 o1_mf_1_34_69bft63b_.arc -rw-r----- 1 oracle dba 20343808 Sep 19 02:10 o1_mf_1_35_69bo6y6j_.arc -rw-r----- 1 oracle dba 40960 Sep 19 02:12 o1_mf_1_36_69boc9t8_.arc -rw-r----- 1 oracle dba 20992 Sep 19 02:13 o1_mf_1_37_69bofng4_.arc -rw-r----- 1 oracle dba 794624 Sep 19 02:15 o1_mf_1_38_69bokwbf_.arc
MarkusMarkus Waldorf wrote:
I think that I am aware and do not suggest to use the hidden setting.What worries me is that the value #2 of the controlfile to trace the contours of the database backup can be recovered even with the lack of recovery online newspapers, but apparently this is not the case. What I also don't understand, is why he simply not restore using the information of the archivelogs. The database was not shut down properly, but isn't always the case when you lose again-online newspapers?
Here is the text of the controlfile.sql
-Set #2. RESETLOGS case
--
-The following commands will create a new control file and use
-to open the database.
-The data used by the Recovery Manager will be lost.
-The content of online newspapers will be lost and all backups
-be invalidated. Use this option only if online newspapers are damaged.Published by: Markus Waldorf Sep 20, 2010 09:34
You are right. But it is especially the case.perform, create the new database and will stop immediately (without demolition) and remove newspapers online OS level. And try to recover the database using backup controlfile until cancel or just recover database until cancel then enter Word Cancel and resetlogs option database open. It will work. Because it actually do not need any recovery operation. But your case you need to recover the database. You consider backup restore las and perform incomplete recovery. I think you can do the first test.
-
ORA-00338: 3 log thread 1 is more recent than the control file
Hello
I met the error ORA-00338 while performing the recovery of incomplete data:
ORA-00283: cool cancelled due to errors
ORA-00338: 3 log thread 1 is more recent than the control file
ORA-00312: wire 3 1 online journal: "+ DG_REDO/dbase/onlinelog/group_3.267.814820795".
Complete recovery manager.
I made this recovery on oracle 10g, database of ASM.
1. What are the possible causes of this error ORA-00338?
2. This error occurs at the beginning of the media recovery, RMAN is applying logs archived. If RMAN does newspapers "Online REDO" after applying "archived" logs required for recovery or in front of them?
3 rman is how this journal in line 3 is more recent than the control file? How can I me SNA of the journal online & file control in my environment?
Here are some details related to checkpoint scn / change # info. I found in my environment:
Before recovery:
view
v$ datafile: 642935
v$ datafile_header: 642935
v database $: 642935
Journal of v$: 640956
After the recovery fails (ORA 338 :()
v$ datafile: 640917
v$ datafile_header: 640056
v$ database: 640906
Journal of v$: 640906You could try the incomplete recovery has to do only the RESTORE DATABASE with RMAN.
Then, using the SQLPLUS command line, issue a RECOVER database with the HELP of BACKUP CONTROLFILE until CANCEL. See which he records guests for and monitor messages in the alert.logHemant K Collette
-
Need to free more RAM to sort and link several very large excel files
HP Pavilion dm1 computer running windows 7 64 bit with Radeon HD graphics card laptop. Recently upgraded to 8 GB with 3.7 GB of usable memory.
I have several very large files with more 150 000 lines in each excel file. Need to combine these 3-4 files and sort. Research to maximize the availability of memory. The Task Manager is total view Mo 3578, available - 1591 MB, cache - 1598. Free 55MO. A single instance of Chrome and Excel 2014 without worksheet are running.Appreciate your help.It's her! It worked... disabled the maximum memory and restarted.
available memory is 7.6 GB to 8 GB. Oh boy, I can't believe it...Thank you guys. Many thanks to hairyfool, Gerry and countless others who have given pointers... -
I use MacBook Pro mid 2012, latest OSX and Word 2016, 15.24, cloud of Document Adobe version 2015:010:20056
Architecture: x86_64
Build: 15.10.20056.167417
AGA: 4.30.61
CoolType: 5.14.5
JP2K: 1.2.2.35592
I'm trying to combine files, dragged two files word to combine-window, hit button combine and acrobats starting word to pdf conversion... but every time process stops due to the need to Word more than access to the files... I have to select each file again from the server to the conversion process... will this security? check for each document means a lot of extra work.
Especially since I've made a few changes in the settings - the path of the server and the research should be trusted in the earlier version, it was possible to drag wordfiles to combine-window, hitting a button combines and conversion started in automatic.
Since I combine the files several times a day, it's really annoying... How can I get rid of document access-windows in secure servers? I already tried to define the servers/search path as "Approved" in DC
/ Nils
Hi Nils,
It seems that this may be the known problem of Microsoft Office: grant access File: cannot open the document: user - Microsoft Community
Have you checked with Microsoft on this issue?
Kind regards
Tariq Dar.
-
OEM Grid allows to detect files that need recovery
From what I can tell there is no metrics out of the box in order to detect when a file needs recovery. I'll probably create a metric of defined user to scan v$ recover_file.
My questions are:
(1) is there a better solution to this? Analyze the alerts may log?
(2) do somebody knows a way to make a file need recovery so I can test the metric?
Thank you
JarredHi, in pot
A way to create a situation of 'need for recovery. "
1 disconnect the tablespace.
2 copy the data file (or one of the df) to * .old.
3. replace the TS online. And for fun, create a table and insert a few lines inside.
4 disconnect the TS.
5 copy the data file *.old what it was
6. put the TS again and bingo online.I think that the verification of existing alerts log triggers an alert.
Eric
-
ORA-19809: limit exceeded for error recovery files
Hello
in 10g R2 I hade the ORA-19809: limit exceeded for error recovery files.
Then I asked:
then I compressed some of the flashback files and this directory was released about 1 GB. But my query always returns the same result.select name , floor(space_limit / 1024 / 1024) "Size MB" , ceil(space_used / 1024 / 1024) "Used MB" from v$recovery_file_dest order by name NAME Size MB Used MB ------------------------------------------------------------ ---------- ---------- P:\oracle\product\10.2.0/flash_recovery_area 2048 2048
What is the problem with my action?
Thank you.>
then I compressed some of the flashback files and this directory was released about 1 GB.
>Orders of the OS (like zip or rm) do not change the recommended amount of space. Only Oracle commands like
RMAN> delete noprompt obsolete;
do this.
Kind regards
Uwehttp://uhesse.WordPress.com
-
recover a file that I save something more?
I accidentally save a file to another file using the same name. Can I retrieve the original file?
Laughing out loud
The "previous versions" tab is not available in Windows XP for 99.999% of home users.
In addition, if you have saved a file with the same name as a previous file, you need more than the software recovery of usual third-party data. You will need costly judicial data recovery.
-
Hello
I'm user managed backup and restore. (Source and target are in different servers (RHEL 4 with Oracle 10.2.0.3) 64-bit.
In the Source
1. change the system switch logfile-> to mark a new beginning
2 alter database backup controlfile to trace
3. copy this file to control for target
4. turn each tablespace in backup mode, copy its data files to target and complete the mode backup tablespace. Repeat this for all areas of storage
5 verified that no data file is in backup mode (all files have given status 'INACTIVE' backup$ v);
In the target
1. changes to the control file to reflect the dbname and paths and all,
2. Since the nomount db and then created the control file using the copy of the source
3. recover database until cancel using backup controlfile;
4. has published the newspaper archive (copied from the source to destination).
I issued alter system switch logfile in source several times (10 times more), copied all logs archived and applied to the target. But still get ORA-01547, ORA-01194 and ORA-01110 in target when I issue cancel.
What should do? What Miss me?
I tried to redo the whole process, and it worked. I'm still not able to understand what the question was. But I made this a hundred times, and it's the first time I had this error.
But I was able to go through this process again and got my dev.
Thank you all for your time.
-
ORA-03297: file contains data beyond the requested value of RESIZING
Hi all
I am trying to increase the size of my space of system tables. The tablespace contains a data size 900MB file and it may increase to 2 GB.
I would like to change this to autoextend I'll operate on the database csscan.
When to change the autoextend and unlimited file I get: ORA-03297: file contains data beyond the requested value of RESIZING
I also tried to increase the data file of 4 GB, but still the same. I see that there is more then enough space on the file system.
Need help.
Oracle Enterprise edt 10.2.0.5
Concerning
933746The first statement is that originally the problem - you try to shrink the file, develops it not.
The autoextend (second statement) should be fine as is.
-
Need a recovery for Satellite A200 - 19K disk
I bought this laptop, but unfortunately I lost my recovery disc.
I need a recovery disk, but I don't know how to buy or download the drive of the appropriate model. If anyone can help me or give me a link to download, I'll be very grateful to her.
This is the specification which is mentioned on the bottom is:
Model name: SATELLITE A200 - 19K
Model No.: PSAECE-01F00JENIf more information is needed, please let me know.
Thank youHello
You can buy the recovery disk using this site:
https://backupmedia.Toshiba.EU/landing.aspxAs much as I know this disc is cheap
See you soon
-
Need of recovery of the Satellite A110-228 DVDs
I need a recovery dvd for this laptop because he won 't longer boot.
Can I order or download?
Thank youYour Satellite is quite old and I think that you can not order more. Recovery image is not downloadable, so this option is also not a solution for you.
You can try to contact the nearest Toshiba service provider and ask them if they have this disc.
What you can do is to install a clean operating system. All the necessary drivers, tools and utilities that you can find on Toshiba download page under http://eu.computers.toshiba-europe.com > download & support.If you have any other questions you are welcome.
Maybe you are looking for
-
failure of migration on wifi. error message: migration quit unexpectedly. Apparently, the migration is yet complete, but with a lot of mistakes. many programs on the new computer do not work. anyone else having the same problems? never had any proble
-
Is it possible to save a pan from one side to the other effect by mixing
Hello is it possible to register an effect of pan to the left speaker right another track has been filed and I mix?
-
The writing on my screen has shrunk, and I do not have which cannot solve this problem.
I did the update and change some settings so have no idea of what caused it. I'm not computers wiyh and ever learning mode. Thank you
-
Defects of scanning of Windows Security Center
When I try 2 download ALL "Internet" program, Windows Security Center it automatically scans, says it has a virus, & removes! I cannot now try 2 download ANY Internet program at all? Can u please inform me, how I can deal with this important issue? I
-
Anyone know how to stop the dial pad when the composition of a number?