Problem in time through RMAN recovery
Salute to seniors,I'm trying to recover a table that has been deleted by mistake at 22:25:11 (2 October 2010). I put the settings nls_date_format = DD - MM - YYYY:HH24:MI:SS, nls_lang = AMERICAN in the settings file used by the instance. When I try to run the following command at the RMAN prompt:
* RMAN > run {*}
* 2 > set until that time ='02-10 - 2010:22:25:00'; *
* 3 > restore database; *
* 4 > restore database ;} *
I get the following error:
executing command: SET until clause
RMAN-00571: ====================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ====================================================
RMAN-03002: failure of the set command in the 02/10/2010 22:29:24
ORA-01843: not one month valid
Help, please!
Kadamabari,
India.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL > select current_timestamp to double;
CURRENT_TIMESTAMP
---------------------------------------------------------------------------
OCTOBER 3, 10 10.37.42.839000 + 03:00 AM
SQL > select systimestamp from double;
SYSTIMESTAMP
---------------------------------------------------------------------------
OCTOBER 3, 10 10.38.22.950000 + 03:00 AM
SQL > drop table employee;
Deleted table.
SQL > commit;
Validation complete.
SQL > shutdown immediate
The database is closed.
The database is dismounted.
ORACLE instance stops.
SQL > startup pfile='D:\TEST\initow.ora' mount;
ORACLE instance started.
Total System Global Area 535662592 bytes
Bytes of size 1375792 fixed
188744144 variable size bytes
339738624 of database buffers bytes
Redo buffers 5804032 bytes
Mounted database.
C:\Users\mazar>RMAN target.
Recovery Manager: release 11.2.0.1.0 - Production on Sun 3 Oct 10:44:31 2010
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: OWN (DBID = 1547349083, is not open)
RMAN > run {}
2 > until ' to_date (October 3, 10 10.38.22 ',' DD-MON-RR HH24:MI:SS ') ";
3 > restore database;
4 > restore database;
{5 >}
executing command: SET until clause
From restoration to October 3, 10
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 10 type of device = DISK
flashing rear control SNA 1444750 file
jump datafile 9; already restored to the D:\TEST\TESTSAMPLE01 file. DBF
jump datafile 12; already restored to the D:\TEST\TESTSAMPLE file. DBF
, ,,, ,,,,,,,,
RMAN > alter database open resetlogs;
open database
RMAN > exit
Complete recovery manager.
C:\Users\mazar>sqlplus
SQL * more: Production of release 11.2.0.1.0 Sun 3 Oct 10:49:59 2010
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter the user name: / as sysdba
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL > select * from employee;
EMP
--------------------
Azar
SQL >
Tags: Database
Similar Questions
-
Ive reinstalled my windows xp through the recovery on my computer several times trying to change my language to English... but it keeps French
Hello
1. What is the base language that is installed on the system?
You must install the English language pack.
I advise you to review the eligibility criteria for the below mentioned link:
http://Windows.Microsoft.com/en-us/Windows/language-packs#lptabs=XP
Windows XP has Language Interface Pack provides a version translated from the dialogs used more widely, menu items, and help content. You may be eligible for the same function of the XP license.
After you install the language pack, you will need to change the settings on your computer below:
a. in the menu start standard Windows XP, click Startand then click Control Panel.
In the start menu classic Windows XP, click Start, click settings, and then click Control Panel.
b. double-click regional and Language Options.
c. click the languages tab and then click details under "input languages and text Services.
d. click Add under "installed Services", and then click the language you want to add and the keyboard layout you want to use for that language.
e. to configure the settings for the Language bar, click language under "Preferences" bar
You can also see the following article for more information:
Regional and Language Options Overview:
Configure Windows XP for multiple languages: http://windows.microsoft.com/en-US/windows-xp/help/setup/set-up-multiple-languages-windows-xp
HOW TO: Use the language bar in Windows XP: http://support.microsoft.com/kb/306993
For all windows questions do not hesitate to contact us and we will be happy to help you.
-
Problem sending pictures through texting when the WIFI
I recently move carrier to Cricket wiresless (Yes uses AT & T network) of the Sprint. Since I made the change, I had problems sending pictures through texting when the WIFI. I contacted the Cricket Wireless support and they had me reset the APN settings, he has to work because I also disabled WIFI at the time. Since then, I realized that I don't have the problem, when I cut the WIFI.
Someone at - it similar problems?
I found the resolution on Adroid Central:
Wow! Presented this to the customer service email of Cricket and they responded in 12 minutes confirming:
Billy M. (Cricket Wireless)
16 Dec 08:46Hi Evan,
Please contact the Support of Cricket. I'm sorry to hear about the problems you are having with your MMS then on the WiFi. Our team of network has been aware of this problem and is currently working on a resolution. In the meantime, you can use one of the IP addresses below in your MMS proxy under the APN settings that should solve the problem.
192.168.196.78
192.168.196.79
192.168.196.117
192.168.196.118Thank you
Billy
Looks like the guys from reddit were correct and the IP addresses are legitimate. -
Hi all;
Try to learn the concepts of rman recovery.
RMAN > backup the database archivelog;
From backup 30 July 14
Current archived log
using channel ORA_DISK_1
channel ORA_DISK_1: from archive newspaper backupset
channel ORA_DISK_1: specification of archive log backup set
archive log entry thread = 1 sequence 2 recid = 74 = 854312620 stamp =
channel ORA_DISK_1: starting total, 1 to July 30, 14
channel ORA_DISK_1: finished piece 1 to July 30, 14
piece handle=/u01/app/oracle/flash_recovery_area/TEST/backupset/2014_07_30/o1_mf_annnn_TAG20140730T210340_9xl42oq6_.bkp tag = TAG20140730T210340 comment = NONE
channel ORA_DISK_1: complete set of backups, time: 00:00:02
Backup finished at 30 July 14
From backup 30 July 14
using channel ORA_DISK_1
channel ORA_DISK_1: from full datafile backupset
channel ORA_DISK_1: specifying datafile (s) in backupset
input datafile fno = 00001 name=/u01/app/oracle/oradata/test/system01.dbf
input datafile fno = name=/u01/app/oracle/oradata/test/undotbs01.dbf 00002
input datafile fno = name=/u01/app/oracle/oradata/test/sysaux01.dbf 00003
input datafile fno = name=/u01/app/oracle/oradata/test/users01.dbf 00004
input datafile fno = 00005 name=/u01/app/oracle/oradata/test/example01.dbf
input datafile fno = name=/u01/app/oracle/oradata/test/users02.dbf 00006
input datafile fno = name=/u01/app/oracle/oradata/test/test01.dbf 00007
channel ORA_DISK_1: starting total, 1 to July 30, 14
channel ORA_DISK_1: finished piece 1 to July 30, 14
piece handle=/u01/app/oracle/flash_recovery_area/TEST/backupset/2014_07_30/o1_mf_nnndf_TAG20140730T210342_9xl42s7o_.bkp tag = TAG20140730T210342 comment = NONE
channel ORA_DISK_1: complete set of backups, time: 00:02:16
channel ORA_DISK_1: from full datafile backupset
channel ORA_DISK_1: specifying datafile (s) in backupset
including the current control in backupset file
including current SPFILE in backupset
channel ORA_DISK_1: starting total, 1 to July 30, 14
channel ORA_DISK_1: finished piece 1 to July 30, 14
piece handle=/u01/app/oracle/flash_recovery_area/TEST/backupset/2014_07_30/o1_mf_ncsnf_TAG20140730T210342_9xl4702t_.bkp tag = TAG20140730T210342 comment = NONE
channel ORA_DISK_1: complete set of backups, time: 00:00:02
Backup finished at 30 July 14
SQL > conn / as sysdba
Connected.
SQL > archive logs list;
Database log mode Archive Mode
Active AutoArchive
Destination of archive USE_DB_RECOVERY_FILE_DEST
More old sequence of journal online 2
Log sequence archive 4
Current log sequence 4
SQL > conn gts/gts
Connected.
SQL > create table tab1 (identification number, name varchar2 (15));
Table created.
SQL > insert into tab1 values (1, "sona");
1 line of creation.
SQL > commit;
Validation complete.
SQL > update tab1 set name = "S/n";
1 line update.
SQL > select * v log$;
GROUP # THREAD # SEQUENCE # MEMBERS OF ARC STATUS FIRS BYTES
---------- ---------- ---------- ---------- ---------- --- ---------------- ----
1 1 4 52428800 1 NO CURRENT 30 - J
2 1 2 52428800 1 INACTIVE YES 30-J
3 1 3 52428800 1 ACTIVE YES 30-J
$ rm - rf redo0 *.
$ ls-l again *.
LS: do it again *: no such file or directory
SQL > insert into tab1 values (2, 'sona');
1 line of creation.
SQL > insert into tab1 values (3, 'sona');
1 line of creation.
SQL > commit;
Validation complete.
SQL > startup strength;
ORACLE instance started.
Total System Global Area 465567744 bytes
Bytes of size 1220024 fixed
96469576 variable size bytes
364904448 of database buffers bytes
Redo buffers 2973696 bytes
Mounted database.
ORA-00313: open failed for the members of the group log 1 of thread 1
ORA-00312: thread 1 1 online journal: ' / u01/app/oracle/oradata/test/redo01.log'
ORA-27037: unable to get file status
Linux error: 2: no such file or directory
Additional information: 3
rman target $ /.
Recovery Manager: Release 10.2.0.1.0 - Production Wed Jul 30 21:13:47 2014
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: TEST (DBID = 2152371022, is not open)
RMAN > run
2 > {}
3 > set until sequence 4.
4 > restore database;
5 > restore database;
6 > sql ' alter database open resetlogs;
{7 >}
executing command: SET until clause
using the control file of the target instead of recovery catalog database
From pick up to 30 July 14
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 156 devtype = DISK
starting media recovery
Oracle error:
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: ' / u01/app/oracle/oradata/test/system01.dbf'
media recovery complete, duration: 00:00:02
Finish to recover 30 July 14
From restoration to July 30, 14
using channel ORA_DISK_1
channel ORA_DISK_1: from datafile backupset restoration
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
restoring datafile 00001 to /u01/app/oracle/oradata/test/system01.dbf
restoring datafile 00002 to /u01/app/oracle/oradata/test/undotbs01.dbf
restoring datafile 00003 to /u01/app/oracle/oradata/test/sysaux01.dbf
restoring datafile 00004 in /u01/app/oracle/oradata/test/users01.dbf
restoring datafile 00005 to /u01/app/oracle/oradata/test/example01.dbf
restoring datafile to /u01/app/oracle/oradata/test/users02.dbf 00006
restoring datafile 00007 to /u01/app/oracle/oradata/test/test01.dbf
channel ORA_DISK_1: backup /u01/app/oracle/flash_recovery_area/TEST/backupset/2014_07_30/o1_mf_nnndf_TAG20140730T210342_9xl42s7o_.bkp piece reading
channel ORA_DISK_1: restored the backup part 1
piece handle=/u01/app/oracle/flash_recovery_area/TEST/backupset/2014_07_30/o1_mf_nnndf_TAG20140730T210342_9xl42s7o_.bkp tag = TAG20140730T210342
channel ORA_DISK_1: restore complete, duration: 00:01:37
Restoration finished in 30 July 14
SQL statement: alter database open resetlogs
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03009: failure of the sql command to the default channel on 30/07/2014-21:16:16
RMAN-11003: failure in parsing / execution of the SQL statement: alter database open resetlogs
ORA-01152: 1 no file has been restored from a sufficiently old backup
ORA-01110: data file 1: ' / u01/app/oracle/oradata/test/system01.dbf'
RMAN > exit
SQL > startup strength;
ORACLE instance started.
Total System Global Area 465567744 bytes
Bytes of size 1220024 fixed
96469576 variable size bytes
364904448 of database buffers bytes
Redo buffers 2973696 bytes
Mounted database.
ORA-01589: must use RESETLOGS or NORESETLOGS option of database open
SQL > alter database open resetlogs;
ALTER database open resetlogs
*
ERROR on line 1:
ORA-01152: 1 no file has been restored from a sufficiently old backup
ORA-01110: data file 1: ' / u01/app/oracle/oradata/test/system01.dbf'
Why do you get BACK them before the RESTORATION?
RMAN > run
2 > {}
3 > up to sequence 4.
4 > restore database;
5 > restore database;
6 > sql ' alter database open resetlogs;
{7 >}
To try:
RMAN > run
2 > {}
3 > up to sequence 4.
4 > restore database ;
5 > restore database ;
6 > sql ' alter database open resetlogs;
{7 >}
-
1119: access of possibly property indefinite Timer through a reference with static type class
Hello
I am trying to create a timer event for delaying the instantiation of my clip on the stage, but I get the error message:
1119: access of possibly property indefinite Timer through a reference with static type class
I am confused with how to proceed. I thought that the timer was a term already in the library for AS3, so how can he be undefined? Any help that you could provide to help me understand the problem and how to fix it, would be great.
Thank you
Here's a look at my code:
import flash.display.MovieClip;
import flash.utils.Timer;
import flash.events.Event;
import flash.events.TimerEvent;
var dripTimer:Timer = new Timer (3000)
var blood1:MovieClip = new Blood();
dripTimer.addEventListener (TimerEvent.Timer, bloodDrip)
dripTimer.start ();
function bloodDrip(e:TimerEvent):void {}
trace ("blood flows");
blood1.x = 300;
blood1.y = 100;
addChild (blood1);
}
AS3 is case sensitive.
Thus, the code should be:
dripTimer.addEventListener (TimerEvent.TIMER, bloodDrip) - upper
-
the recovered data is only a row during rman recovery Camille
I tried a point in time for recovery in RMAN, but the table I got contains only 1 row which is supposed to be 2 rows.
Here's what I did:
1 create the table
2 validation;
3 insert the value 1 in the table
4 validation;
5. Insert the value 2 in the table
6 validation;
7 remove the table
8 validation;
9 get sysdate July 28, 2010 07:01
10 make a rman recovery and apply the sysdate recovered, but use on July 28, 2010, 07:0 * 0 *: 00
11. check the table and found that 1 row only recovered.You can use logminer, because no back in 8i
-
Problem of time synchronization in the HP b2600 workstation.
We have three Hp b2600 named rop11, rop12, rop13.
rop11 is active and rop12 is passive and rop13 is autonomous.
ROP's time synchronized with the GPS clock. But we face a problem of time synchronization.
As we sychnisied a day after we saw a drift of about 10 seconds in rop11 and 1-2 second in rop12 & rop13.
ntpq shows according to the attached file.
TW file attached, one is Parallet1 where the existence of the problem and another is PArrallel2 where its not working OK.
PL. suggest the cause and cure.
Thank you
Rajiv Garg
Mr President.
All the vause zero in Parallel1.doc comapring and PAralle2.doc, which indicates how to initialize the same.
Rajiv gelin
-
repTimer = new timer (650, pattern.length);
repTimer.start ();
repTimer.addEventListener (TimerEvent.TIMER, chooseColor);To my knowledge, the above code should run chooseColor all ms 650 as many times as the items in the configuration table.
private var: delay timer = new Timer (650, 1);
public void chooseColor(evt:TimerEvent):void
{
for (var x: Number = 0; x)<>
{
If (model [x] == 0)
{
red.setImage (new red1());
Delay.Start ();
delay.addEventListener (TimerEvent.TIMER, Redoute);
}
If (model [x] == 1)
{
blue.setImage (new blue1());
Delay.Start ();
delay.addEventListener (TimerEvent.TIMER, blueOut);
}}
}
And that the code should go in the table of the model and when the value is 0 or 1, set the image and then run redOut/blueOut all 650 ms.
Essentially what this should do changes an image every 650 ms according to the values stored in the table model.
However, it seems to make them all at once, can any1 point out what I'm doing wrong here?
I don't quite understand what you're trying to do, but here's something that can help:
You create a single instance of "delayed". So whenever repTimer fires (and note that you asked so that he can produce a total of events "pattern.length"), you run through the loop times "pattern.length", and for each passage, you ask that the self-timer starts.
You also add an event listener each time through, although I think adding the same listener for the event even more than once done anything. However, this means that as soon as you saw the two modes 0 and 1, you will have a timer with two attached headphones. All triggering events will trigger redOut both blueOut at that time.
Also, I do not know the behavior of a timer that is already over, but it is possible call. start() on it again will simply trigger the TIMER event once more, immediately. Or maybe it does nothing. It seems to be undefined behaviors, based on reading the documentation. It is certainly not what you want...
You may want to create a new instance of the timer of delay for each pass through the loop.
-
Up to THAT TIME in RMAN clause
DB version: 11.2
Quick question on up to THAT TIME in RMAN clause. The following command removes archivelogs over 2 days or archivelogs generated between now (Sydate) and the last 2 days?
delete noprompt archivelog until ' SYSDATE-2';
Hello
It will remove more than archiving logs sysdate-2 days.
UNTIL_TIME specifies a time as a limit superior, noninclusive
Ivica
-
Lance Muse problems, every time I launch Muse, it crashes, I have re-installed twice with without success.
Hello
It might be because of permissions. If you are on a MAC, you can give permissions ' read & write ' to everyone on the following folders: -.
(1) ~/Library/Application support/Adobe
(2) / Library/Application Support/Adobe
~/Library/preferences/Adobe 3)
On a windows machine, please give all permissions for all on: -.
(1) C:/Program Files(x86) /Adobe
Files(x86) /Common 2) C:/Program Files/Adobe
Kind regards
Neha
-
Expensive of DBA,.
I tried a RMAN recovery... to form a 64-bit server to a 32-bit server 10.2.0.4 10.2.0.3.
After the recoverey DB won't start... I had a lot of posts like this: ORA-06553: PLS-801: Internet Fehler [56319]...
After that, I let start the database in upgrade mode and allow to run the following scripts:
@?\rdbms\admin\utlirp.sql
@?\rdbms\admin\catproc.sql
@?\rdbms\admin\catalog.sql
@?\rdbms\admin\utlrp.sql
After that, everything works fine in 32-bit...
My question is:
It's OK to let flow catproc.sql and catalog.sql again?
Or is it wrong?
What it means exactly by an existing database?
Thanks for all replies!
BR
HerrmannThe easiest way would be wanted to get an export of the database and then import it on the new host. Other than that, you can migrate your db to the 32-bit version and can then move it to the new host. For error, a quick Google search gave this
ORA-06553: PLS-801: internal error [56319]Try it and post your comments.
HTH
Aman... -
Problem of time zone: time zone is not consistent
Problem of time zone: time zone is not consistent
From sqlplus, the time is displayed:
from the Windows command line tool:SQL> SELECT SYSDATE FROM DUAL; SYSDATE -------- 09-11-11
But from the Control Panel, it shows at the present time is 10:40.D:\coherence\lib>DATE The current date is: 11/11/2009 Enter the new date: (dd-mm-yy)
For this reason, a database of programs don normally work.There are two ways that you could do.
Track 1:
Search for a file by the name "glogin.sql" on your client workstation and add the following statementalter session set nls_date_format = 'YYYY-MM-DD HH24:MI:SS';
Make sure that you save the file. This change will apply to all users who will connect to the database using SQL * PLUS to your machine.
Track 2:
Create a shortcut and place it somewhere (for example on the "DESKTOP").
Right-click on the shortcut and choose Properties.
The text corresponding to the box 'Start' to reflect the current location of the shortcut.
Create a file by the name "login.sql" and place it in the same folder that the shortcut.
Edit the file and add the following line.alter session set nls_date_format = 'YYYY-MM-DD HH24:MI:SS';
Make sure that you save the file.
When you double-click the shortcut to launch SQL * more and opening of the session, the "login.sql" script is executed. -
want access to the hacked account
I have tried for a week now going through the process of recovery of many times and received no response. Account trying to come back is * address email is removed from the privacy *. I opened again for you contact I need this back to an old more than a years of contacts and make extremely pissed of unanswered I provided a lot of information and been on the forum all useless as no responses. I have provided with phone and everything that it is to continue to take money from me and do me not answer and account access. I explained to him that, on July 20, I opened by mistake a spam that caused this problem. I just need someone to respond and help and not to ignore me as obviously due to no contact I no longer exist. Please send the answer to * address email is removed from the privacy *.
Hello
Answers is a peer group supported and unfortunately has no real influence on Hotmail.
HotMail has its own Forums, so you can ask your questions there.
Windows Live Solution Center - HotMail - HotMail Forums Solutions
http://windowslivehelp.com/Hotmail - Forums
http://windowslivehelp.com/forums.aspx?ProductID=1Hotmail - Solutions
http://windowslivehelp.com/solutions.aspx?ProductID=1How to contact Windows Live Hotmail Support
http://email.about.com/od/hotmailtips/Qt/et_hotmail_supp.htmWindows Live Hotmail Top issues and Support information
http://support.Microsoft.com/kb/316659/en-usCompromised account - access unauthorized account - how to recover your account
http://windowslivehelp.com/solution.aspx?SolutionID=6ea0c7b3-1473-4176-b03f-145b951dcb41Hotmail hacked? Take these steps
http://blogs.msdn.com/b/securitytipstalk/archive/2010/07/07/Hotmail-hacked-take-these-steps.aspxSorry, we cannot really offer any real help.
I hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">->
-
Problem with different ASM disaster recovery start - new
Hello together,
I had an old net here about it but now will not solve the problem with the points in the old thread. Here's the old: https://community.oracle.com/thread/3608049?start=0 & tstart = 0
I'm doing a disaster recovery with the 'apex11A' on a new server database, which has an another ASM starts. The old man starts is '+ DGA112_1' and '+ FRA112_1', newcomers are called '+ DATA_QUM169' and '+ FRA_QUM169 '. I changed the settings in the spfile restored by writing in a pfile file and creating the spfile from pfile.
I tried in several ways. First lay the new ASM with RMAN to the course:
run { SET NEWNAME FOR DATABASE TO '+DATA_QUM169'; restore database until LOGSEQ 24286; switch datafile all; switch tempfile all; recover database until LOGSEQ 24286; }
Then I tried it in RMAN by defining the new ASM for each data file:
run { SET NEWNAME FOR DATAFILE 1 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 2 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 3 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 4 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 5 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 6 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 7 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 8 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 9 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 10 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 11 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 12 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 13 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 14 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 15 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 16 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 17 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 18 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 19 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 20 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 21 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 22 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 23 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 24 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 25 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 26 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 27 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 28 TO '+DATA_QUM169'; restore database until LOGSEQ 24286; switch datafile all; switch tempfile all; recover database until LOGSEQ 24286; }
Then I tried the bot in one:
run { SET NEWNAME FOR DATABASE TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 1 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 2 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 3 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 4 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 5 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 6 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 7 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 8 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 9 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 10 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 11 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 12 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 13 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 14 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 15 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 16 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 17 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 18 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 19 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 20 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 21 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 22 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 23 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 24 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 25 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 26 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 27 TO '+DATA_QUM169'; SET NEWNAME FOR DATAFILE 28 TO '+DATA_QUM169'; restore database until LOGSEQ 24286; switch datafile all; switch tempfile all; recover database until LOGSEQ 24286; }
Whenever I get one
Starting restore at 03-FEB-16 using channel ORA_DISK_1 creating datafile file number=1 name=+DATA_QUM169 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of restore command at 02/03/2016 16:20:41 ORA-01180: can not create datafile 1 ORA-01110: data file 1: '+DGA112_1/apex11a/datafile/system.1423.788355253'
The backuppiece which I bring are correctly defined with
RMAN> catalog backuppiece '/usr/local/oracle/product/11.2.0.4/dbs/m4qt0mnk_1_1', '/usr/local/oracle/product/11.2.0.4/dbs/m3qt0mi2_1_1'; cataloged backup piece backup piece handle=/usr/local/oracle/product/11.2.0.4/dbs/m4qt0mnk_1_1 RECID=3779 STAMP=902851052 cataloged backup piece backup piece handle=/usr/local/oracle/product/11.2.0.4/dbs/m3qt0mi2_1_1 RECID=3780 STAMP=902851052 RMAN> list backup; List of Backup Sets =================== BS Key Size Device Type Elapsed Time Completion Time ------- ---------- ----------- ------------ --------------- 3779 52.61M DISK 00:00:00 03-FEB-16 BP Key: 3779 Status: AVAILABLE Compressed: YES Tag: TAG20160203T145340 Piece Name: /usr/local/oracle/product/11.2.0.4/dbs/m4qt0mnk_1_1 List of Archived Logs in backup set 3779 Thrd Seq Low SCN Low Time Next SCN Next Time ---- ------- ---------- --------- ---------- --------- 1 24285 11073415926066 03-FEB-16 11073416327345 03-FEB-16 1 24286 11073416327345 03-FEB-16 11073416678326 03-FEB-16 BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ --------------- 3780 Full 813.86M DISK 00:00:00 03-FEB-16 BP Key: 3780 Status: AVAILABLE Compressed: YES Tag: TAG20160203T145042 Piece Name: /usr/local/oracle/product/11.2.0.4/dbs/m3qt0mi2_1_1 List of Datafiles in backup set 3780 File LV Type Ckp SCN Ckp Time Name ---- -- ---- ---------- --------- ---- 1 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/system.1423.788355253 2 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/sysaux.1422.788355259 3 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/undotbs1.1359.788355263 4 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/users.1362.788355273 5 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/apex4.1369.788356305 6 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/apex4_files.1366.788356317 7 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/mms_archiv.1358.788357229 8 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/planwerte.1357.788357243 9 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/btdb_prod.1352.788456613 10 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/mais.1353.788456763 11 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/mms.1354.788456995 12 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/externe_wirk.1355.788457525 13 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/mais2mt.1356.788458151 14 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/btdb_read.1351.788458291 15 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/hwdb2acs.1343.788458329 16 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/hwdb2sccm.1341.788458657 17 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/macmon.1340.788458691 18 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/mais_read.1339.788458725 19 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/mais2srm.266.788458799 20 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/outdating_sap_user.267.788458859 21 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/quickcheck.1338.788458887 22 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/switch.1337.788459139 23 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/veit_r.1333.788459167 24 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/test-btdb.1298.795097725 25 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/apex11dev.986.874230931 26 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/apex11devbt.985.874230963 27 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/hrbew.1083.851007823 28 Full 11073416676796 03-FEB-16 +DGA112_1/apex11a/datafile/optimadata.1032.865951029
I also tried to put the new ASM SQL:
SQL*Plus: Release 11.2.0.4.0 Production on Wed Feb 3 16:04:05 2016 Copyright (c) 1982, 2013, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production With the Partitioning, Automatic Storage Management and OLAP options SYS@apex11A> ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/system.1423.788355253' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/sysaux.1422.788355259' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/undotbs1.1359.788355263' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/users.1362.788355273' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/apex4.1369.788356305' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/system.1423.788355253' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 1 - new file '+DATA_QUM169' not found ORA-01110: data file 1: '+DGA112_1/apex11a/datafile/system.1423.788355253' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form SYS@apex11A> ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/sysaux.1422.788355259' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 2 - new file '+DATA_QUM169' not found ORA-01110: data file 2: '+DGA112_1/apex11a/datafile/sysaux.1422.788355259' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form SYS@apex11A> ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/undotbs1.1359.788355263' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 3 - new file '+DATA_QUM169' not found ORA-01110: data file 3: '+DGA112_1/apex11a/datafile/undotbs1.1359.788355263' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form SYS@apex11A> ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/users.1362.788355273' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 4 - new file '+DATA_QUM169' not found ORA-01110: data file 4: '+DGA112_1/apex11a/datafile/users.1362.788355273' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form SYS@apex11A> ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/apex4.1369.788356305' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 5 - new file '+DATA_QUM169' not found ORA-01110: data file 5: '+DGA112_1/apex11a/datafile/apex4.1369.788356305' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/apex4_files.1366.788356317' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/apex4_files.1366.788356317' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 6 - new file '+DATA_QUM169' not found ORA-01110: data file 6: '+DGA112_1/apex11a/datafile/apex4_files.1366.788356317' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/mms_archiv.1358.788357229' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/mms_archiv.1358.788357229' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 7 - new file '+DATA_QUM169' not found ORA-01110: data file 7: '+DGA112_1/apex11a/datafile/mms_archiv.1358.788357229' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/planwerte.1357.788357243' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/planwerte.1357.788357243' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 8 - new file '+DATA_QUM169' not found ORA-01110: data file 8: '+DGA112_1/apex11a/datafile/planwerte.1357.788357243' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/btdb_prod.1352.788456613' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/btdb_prod.1352.788456613' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 9 - new file '+DATA_QUM169' not found ORA-01110: data file 9: '+DGA112_1/apex11a/datafile/btdb_prod.1352.788456613' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/mais.1353.788456763' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/mais.1353.788456763' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 10 - new file '+DATA_QUM169' not found ORA-01110: data file 10: '+DGA112_1/apex11a/datafile/mais.1353.788456763' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/mms.1354.788456995' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/mms.1354.788456995' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 11 - new file '+DATA_QUM169' not found ORA-01110: data file 11: '+DGA112_1/apex11a/datafile/mms.1354.788456995' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/externe_wirk.1355.788457525' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/externe_wirk.1355.788457525' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 12 - new file '+DATA_QUM169' not found ORA-01110: data file 12: '+DGA112_1/apex11a/datafile/externe_wirk.1355.788457525' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/mais2mt.1356.788458151' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/mais2mt.1356.788458151' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 13 - new file '+DATA_QUM169' not found ORA-01110: data file 13: '+DGA112_1/apex11a/datafile/mais2mt.1356.788458151' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/btdb_read.1351.788458291' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/btdb_read.1351.788458291' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 14 - new file '+DATA_QUM169' not found ORA-01110: data file 14: '+DGA112_1/apex11a/datafile/btdb_read.1351.788458291' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/hwdb2acs.1343.788458329' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/hwdb2acs.1343.788458329' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 15 - new file '+DATA_QUM169' not found ORA-01110: data file 15: '+DGA112_1/apex11a/datafile/hwdb2acs.1343.788458329' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/hwdb2sccm.1341.788458657' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/hwdb2sccm.1341.788458657' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 16 - new file '+DATA_QUM169' not found ORA-01110: data file 16: '+DGA112_1/apex11a/datafile/hwdb2sccm.1341.788458657' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/macmon.1340.788458691' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/macmon.1340.788458691' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 17 - new file '+DATA_QUM169' not found ORA-01110: data file 17: '+DGA112_1/apex11a/datafile/macmon.1340.788458691' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/mais_read.1339.788458725' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/mais_read.1339.788458725' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 18 - new file '+DATA_QUM169' not found ORA-01110: data file 18: '+DGA112_1/apex11a/datafile/mais_read.1339.788458725' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/mais2srm.266.788458799' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/mais2srm.266.788458799' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 19 - new file '+DATA_QUM169' not found ORA-01110: data file 19: '+DGA112_1/apex11a/datafile/mais2srm.266.788458799' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/outdating_sap_user.267.788458859' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/outdating_sap_user.267.788458859' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 20 - new file '+DATA_QUM169' not found ORA-01110: data file 20: '+DGA112_1/apex11a/datafile/outdating_sap_user.267.788458859' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/quickcheck.1338.788458887' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/quickcheck.1338.788458887' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 21 - new file '+DATA_QUM169' not found ORA-01110: data file 21: '+DGA112_1/apex11a/datafile/quickcheck.1338.788458887' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/switch.1337.788459139' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/switch.1337.788459139' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 22 - new file '+DATA_QUM169' not found ORA-01110: data file 22: '+DGA112_1/apex11a/datafile/switch.1337.788459139' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/veit_r.1333.788459167' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/veit_r.1333.788459167' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 23 - new file '+DATA_QUM169' not found ORA-01110: data file 23: '+DGA112_1/apex11a/datafile/veit_r.1333.788459167' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/test-btdb.1298.795097725' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/test-btdb.1298.795097725' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 24 - new file '+DATA_QUM169' not found ORA-01110: data file 24: '+DGA112_1/apex11a/datafile/test-btdb.1298.795097725' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/apex11dev.986.874230931' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/apex11dev.986.874230931' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 25 - new file '+DATA_QUM169' not found ORA-01110: data file 25: '+DGA112_1/apex11a/datafile/apex11dev.986.874230931' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/apex11devbt.985.874230963' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/apex11devbt.985.874230963' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 26 - new file '+DATA_QUM169' not found ORA-01110: data file 26: '+DGA112_1/apex11a/datafile/apex11devbt.985.874230963' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/hrbew.1083.851007823' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/hrbew.1083.851007823' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 27 - new file '+DATA_QUM169' not found ORA-01110: data file 27: '+DGA112_1/apex11a/datafile/hrbew.1083.851007823' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form SYS@apex11A> ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/optimadata.1032.865951029' TO '+DATA_QUM169'; ALTER DATABASE RENAME FILE '+DGA112_1/apex11a/datafile/optimadata.1032.865951029' TO '+DATA_QUM169' * ERROR at line 1: ORA-01511: error in renaming log/data files ORA-01141: error renaming data file 28 - new file '+DATA_QUM169' not found ORA-01110: data file 28: '+DGA112_1/apex11a/datafile/optimadata.1032.865951029' ORA-17503: ksfdopn:2 Failed to open file +DATA_QUM169 ORA-15045: ASM file name '+DATA_QUM169' is not in reference form
But my new database will not set the new ASM and I have no why.
The db_create_file_dest parameter is set correctly, so I think that:
NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ db_create_file_dest string +DATA_QUM169
I forgot something? Would be nice to get help ...
A big thank you and best regards,
David
Your data checkpoint SCN file are in the LOW and HIGH range of the SNA for SEQUENCE 24286.
Therefore, your UNTIL clause should be 24287 SEQUENCE up to THAT.
Hemant K Collette
-
Controlfile autobackup without RMAN recovery
HelloI'm trying to restore a customer database of RMAN backups for the same instance name and DBID but a different server with a different directory structure.
It is a full RMAN backup, but the log shows that the controlfile is supported only through current, not with autobackup backup controlfile.
I have built directories bdump standard and created a directory of data, file a copy of the init.ora in order to take into account locations suitable for the dump file, the archive logs and the controlfiles and also added in the settings db_file_name_convert and log_file_name_convert to map the original directory structure noted in the backup rman to the new locations.
I understand that you cannot restore the backup controlfile, but was under the impression that you can set the format and restore the controlfile but am not having luck with this-
[oracle@el64dev03 dbs] $ echo $ORACLE_SID
EUMSIPSP
rman target $ [oracle@el64dev03 dbs].Recovery Manager: Release 10.2.0.4.0 - Production Wed Aug 28 16:05:37 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to the database target (not started)
RMAN > startup nomount;
Oracle instance started
Total System Global Area 524288000 bytes
Bytes of size 2085256 fixed
285216376 variable size bytes
230686720 of database buffers bytes
Redo buffers 6299648 bytesRMAN > set dbid 1887849233; (this is the ID of database)
executing command: SET DBID
RMAN > restore controlfile to ' / oradata2/10.2.0/CUST-EUMSIPSP/BAK_98723_d3ohkisi. CTL'; (this is the backup piece pointed in the RMAN backup)
From restoration to 28 Aug 13
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 430 devtype = DISKRMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at 28/08/2013 16:06:24
RMAN-06172: no autobackup couldn't find or handle specified is not a valid copy or a pieceRMAN > run {}
2 > affect the disc type channel d1 format ' / oradata2/10.2.0/CUST-EUMSIPSP/BAK_%s_%u.CTL';
3 > restore controlfile to ' / oradata2/10.2.0/EUMSIPSP/' to ' / oradata2/10.2.0/CUST-EUMSIPSP/';
{4 >}output channel: ORA_DISK_1
allocated channel: d1
channel d1: sid = 430 devtype = DISKFrom restoration to 28 Aug 13
output channel: d1
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at 28/08/2013 16:09:01
RMAN-06172: no autobackup couldn't find or handle specified is not a valid copy or a pieceRMAN > exit
RMAN BACKUP log-
...
connected to target database: EUMSIPSP (DBID = 1887849233)
using the control file of the target instead of recovery catalog databaseRMAN > run {}
2 > allocate channel d1 type disk;
3 > setlimit channel d1 readrate 2000;
4 > sql 'alter database backup controlfile to trace. "
5 > backup
6 > filesperset 1
7 > format ' / oracle/RMAN/eumsipsp/backups/full/BAK_%s_%u.CTL'
8 > (current controlfilE);
{9 >}
10 >
allocated channel: d1
channel d1: sid = 425 devtype = DISK
SQL statement: alter database backup controlfile to traceFrom backup 18 August 13
channel d1: from full datafile backupset
channel d1: specifying datafile (s) in backupset
including the current control in backupset file
channel d1: from room 1 to 18 August 13
channel d1: finished piece 1 at 18 August 13
piece handle = / oracle/RMAN/eumsipsp/backups/full/BAK_98723_d3ohkisi. Tag CTL = comment TAG20130818T191425 = NONE
channel d1: complete set of backups, time: 00:00:01
Backup finished on 18 August 13
output channel: d1...
Copied the information from backup files-
[CUST-EUMSIPSP oracle@el64dev03] $ pwd
/oradata2/10.2.0/Cust-EUMSIPSP
[CUST-EUMSIPSP oracle@el64dev03] $ ls - lt * Journal
-rw - r - r - 1 oracle oinstall 22139 23 August at 14:25 rman_full_eumsipsp_20130818190000.log
[CUST-EUMSIPSP oracle@el64dev03] $ ls - lt * CTL
-rw - r - r - 1 oracle oinstall 11927552 28 August at 11:08 BAK_98723_d3ohkisi. CTL
Is it possible to recover the controlfile at all (as in a disaster situation) so that the database can then be recovered.
More welcome advice
Concerning
Lesley
I do not know what operating system, customers use
I need to prove the process works and what I'm looking for is correct, before I can go back to them and ask what they sent.
Yes, but operating systems may be incompatible. For example, if yours is Linux, and one of the clients is AIX, it would not work, and you get the error that you actually get.
Maybe you are looking for
-
Intermittent connectivity device
Hi, I have an Airport Extreme (Zoom modem). We have several wireless devices (computers, IPad, mac, iPhone, PlayStation). Of them connect at some point, but none of them connect all the time. We unplug / restart the modem and the router and can ge
-
Satellite Pro U500 - update the BIOS does not start on Windows 7
Try to update BIOS on Satellite Pro U500 PSU9CA. The download site says there is a new version available, after that download and run the program nothing happens. You can see the Winflash process in the Task Manager but it never appears"". If this ha
-
Can satellite L500-19Z - I play Blitzkrieg?
I know very little about computers and I was just wondering if I could play the 1st game of blitzkrieg on this laptop? I liked the game when it's 1 out but used to playing on a friends with stats supercomputer as much as it stunned me. I apologose fo
-
HP 1050a printer has no action the printer
I use printer 1050A printing fades. I am trying to clean the heads and to see the ink levels, but I have no printer hp "action of the printer. I used the updates but still nothing. No maintenance task, no printertoolbox. What can I do? Is there a dri
-
Select the desktop monitor window
Original title: install DMWmy desktop monitor window is disabled, how do I turn