Reselogs ORA-15005 ORA-00344 after RMAN restore to a different server
After you perform a restore of a database to another server using rman, I issue Alter Database Open Resetlogs not creating the online newspaper.
the following errors appear
ORA-00344: unable to recreate the log line "+ LOG, windc, onlinelog, windcredo01a.
ORA-17502: ksfdcre:4 could not create the file "+ LOG, windc, onlinelog, windcredo01a.
ORA-15005: name '+ LOG, windc, onlinelog, windcredo01a' is already used by an existing alias
I tried with 2 different backups of the source database. between the attempts to restore, I deleted from the database, to remove all the files that don't get deleted and re-created the database asmcmd.
If anyone knows what I can do to perform this restore?
Restore the control of the source database file.
First of all, I have restored the backup of the controlfile from the source database, and then restore
======================================================================================
RMAN
connect target sys/xxxxxx@windc
run
{
Allocate channel c1 device type disk;
Current backup controlfile as ' / path/to/controlfile/backup ';
Output channel c1;
}
change the database editing
run
{
allocate channels c1
up to the time "TO_DATE('10/16/2014:10:00','mm/dd/yyyy:hh24:mi')";
restore the database;
recover the database;
output channel c1
}
ALTER database open resetlogs;
ORA-00344: unable to recreate the log line "+ LOG, windc, onlinelog, windcredo01a.
ORA-17502: ksfdcre:4 could not create the file "+ LOG, windc, onlinelog, windcredo01a.
ORA-15005: name '+ LOG, windc, onlinelog, windcredo01a' is already used by an existing alias
==========================================================================================
Thank you
Who did.
Thank you!
Tags: Database
Similar Questions
-
Server has: 11.2.0.4.0 on Windows Server 2008
Server B: 11.2.0.4.0 on Windows Server 2008
I use RMAN full backup on server A (suppose it's the PROD server) every night. It's the backup script
RUN
{
SQL "alter session set nls_date_format = 'MON-DD-YYYY HH24:MI:SS' ';"
overlap archivelog all;
cross-checking of backup;
# physical file exist, repository knows it; but the retention policy does not need it.
#delete noprompt expired backup;
#delete noprompt expired archivelog all;
# physical file does not not exist while the repository knows.
SQL 'alter system archive log current';
SQL 'alter system archive log current';
backup
(database FORMAT '-bkupsvr\dbbackup\srcsvr\FULLBKUP_%d.DBID%I.%T.%s.%p.rman "")
more archivelog delete the input FORMAT '-bkupsvr\dbbackup\srcsvr\ARCHLOGBKUP_%d.%e.DBID%I.%T.%s.%p.rman';
window recovery obsolete 1-day report;
Remove window recovery obsolete noprompt 1 days;
SPFile backup FORMAT '-bkupsvr\dbbackup\srcsvr\SPFILE_BKUP_%d.DBID%I.%T.%s.%p.rman';
backup current controlfile FORMAT '-bkupsvr\dbbackup\srcsvr\CTLFILE_BKUP_%d.DBID%I.%T.%s.%p.rman';
SQL ' alter database backup controlfile to trace as "------bkupsvr\dbbackup\srcsvr\ctlfileTEST.txt 'REUSE ';
SQL "' create pfile ="-bkupsvr\dbbackup\srcsvr\initORCL9.ora "of spfile"; "}
Scenario of
A server is completely destroyed in a fire of data center; but bkupsvr is in another building. Therefore, backups are safe.
Given this scenario, how can I restore?
Possible solutions?
Group server running server B. I have installed Oracle and created a blank database. The DBID is different. Should I treat this as a restoration or should I treat it as a replica from a backup?
I guess I need advice on the restoration plan.
Thank you!
He now works within the server itself and other servers.
The problem with the desktop connection remains.
Are you sure that you connect the same way? If the error you get is "ORA-01017: invalid username / password; connection refused"it looks like a case sensitivity issue: to check that, try the setting sec_case_sensitive_logon false.
-
Cold DB RMAN backup &; restore on the other server: best procedure?
Hello
A few days ago I did a cold backup of the GR 2 CARS DB 11 with the following commands:
srvctl stop database d DBPOC
RMAN target / < < EOF
bootable media;
run
{
assign the channel c1 type disc format ' / tmp/dump/coldBkp/%T_%d_DBID%I_s%s_p%p.bkp';
backup of database TAG 'BKPCOLDDBPOCC' keep until 'sysdate + 1000';
backup current controlfile TAG 'BKPCOLDDBPOC_CTL' keep until 'sysdate + 1000';
backup spfile TAG 'BKPCOLDDBPOC_SPF' keep until 'sysdate + 1000';
output channel c1;
}
SHUTDOWN IMMEDIATE;
quit smoking;
FO %
srvctl start database-d DBPOC
srvctl start service d DBPOC
Then noticing that I need a copy of controlfile I also did:
backup current controlfile copy format in ' / opt/dump/oracle/coldBkp/currentctlfile.ctl';
He made a set of files in the file/tmp/dump/coldBkp system that I copied to another server, resembling:
20130912_DBPOC_DBID23987234897_s371_p1.BKP... plus my currentctlfile.ctl.
I copied everything on another machine in/tmp/rest, where the same structure of fs and ASM
starts existed; then run the following commands to restore this DB on
This new server:
1 / set some env variables
2 / cp initDBPOC.ora /opt/oracle/app/ora11g/product/11.2.0/db_1/dbs
3 / sqlplus: Startup nomount pfile=/opt/oracle/app/ora11g/product/11.2.0/db_1/dbs/initDBPOC.ora
4 / rman: restoring controlfile to ' / location/of/coldbackup/files/currentctlfile.ctl';
5 / rman: sql 'alter database mount;
6 / rman: catalogue start with "/ location/of/coldbackup/files";
[Type here YES]
7 / rman: restore the database;
8 / sqlplus: recover database using backup controlfile until CANCEL;
[immediately cancelled the first required archive log]
9 / sqlplus: alter database open resetlogs;
The procedure has worked.
But I'm not happy with this, I thought I could have done with RMAN. However, I discovered
e.g. a CONTROLFILE RECOVER with the HELP of BACKUP is not possible with RMAN etc etc.
and I had to swith back to sqlplus, surprisingly.
Am I missing orders RMAN should I used? Y at - it another way - more simple? -of
perform this restore/recovery simple thanks to the RMAN utility only? Or is my error in backup
the first place and I should have used other commands for backup?
Thank you very much in advance for any advice you can give me...
Kind regards
Sébastien
Hello
You can use
RMAN > RECOVER DATABASE;
and for the time being, you can use
Set until clause with TIME/SCN/restore point
HTH
-
Hello world
I'm with RMAN for backup / restore.
The source is an Oracle 10g on a dedicated win2003 x 86, while the target is Oracle 10 g on a virtual win2003 x 64.
I used binaries for the x 64 installation and installed without creating a starter database. I created an instance and a listener and both started well.
When I try to restore a backup of database on my server target I encounter an error concerning the conversion of character sets.
ICH checked the registry on both systems and both show NLS_LANG = AMERICAN_AMERICA. WE8MSWIN1252.
No matter the registry setting I also tried to put the NLS_LANG environment explicitly, that has not changed anything.
I can restore and recover the backup on a third system allright (wind 2003 x 86, dedicated server) and has never encountered problems.
That's what I do:
environment parameter on the command line:
Set oracle_home=D:\oracle\product\10.2.0\db_1
Set oracle_sid = myorasid
Set NLS_LANG = AMERICAN_AMERICA. WE8MSWIN1252
with RMAN I send these commands, all of which have done allright:
the value of dbid 3635071591;
startup nomount;
SPFile to restore backup automatic db_recovery_file_dest='D:\oracle\product\10.2.0\flash_recovery_area' db_name = "mydbname";
stop immediately;
startup nomount;
Restore automatic backup controlfile;
change the editing of the database;
The next step would be the restore process that unfortunately ends in ORA-12703:
RMAN > restore database;
From restoration to February 23, 12
From backup duplication implicit 23 February 12
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 156 devtype = DISK
Cut 6 objects
Backup of implicit overlap finished at 23 February 12
Starting copy of implicit intersection to 23 February 12
using channel ORA_DISK_1
Copy of implicit cross ended up at 23 February 12
the search for all files in the recovery area
cataloging files...
cataloging done
List of cataloged files
=======================
File name: D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORAPDB\AUTOBACKUP\2012_02_22\O1_MF_S_775949888_7NBNKKBF_. BKP
File name: D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORAPDB\BACKUPSET\2010_12_16\O1_MF_NNND1_TAG20101216T210045_6JNVZHCM_. BKP
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 D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORAPDB\SYSTEM01. DBF
restoring datafile 00002 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORAPDB\UNDOTBS01. DBF
restoring datafile 00003 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORAPDB\SYSAUX01. DBF
restoring datafile 00004 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORAPDB\USERS01. DBF
restoring datafile 00005 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORAPDB\TBS01. DBF
restoring datafile 00006 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORAPDB\TBS02. DBF
channel ORA_DISK_1: backup D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORAPDB\BACKUPSET\2012_02_22\O1_MF_NNND1_TAG20120222T210028_7NBLBXBF_ piece reading. BKP
channel ORA_DISK_1: restored the backup part 1
room handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORAPDB\BACKUPSET\2012_02_22\O1_MF_NNND1_TAG20120222T210028_7NBLBXBF_. Tag BKP = TAG20120222T210028
channel ORA_DISK_1: restore complete, duration: 00:32:56
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at 23/02/2012 12:34:01
ORA-12703: this character set conversion is not supported
RMAN >
When I interrogate the NLS_LANG parameter I get the same result on both systems (without "_AMERICA. WE8MSWIN1252 "- is this true?)
SQL > show parameter NLS_LANG
VALUE OF TYPE NAME
****************************************
nls_language string of AMERICA
SQL >
Can someone point me in the right direction so that I can solve this problem?
Thanks in advance!
Dave
Published by: user11136049 on 23.02.2012 04:53Hello
In the original post, you wrote:When I try to restore a backup of database on my server target I encounter an error concerning the conversion of character sets.
ICH checked the registry on both systems and both show NLS_LANG = AMERICAN_AMERICA. WE8MSWIN1252.
No matter the registry setting I also tried to put the NLS_LANG environment explicitly, that has not changed anything.setting environment on commandline: set oracle_home=D:\oracle\product\10.2.0\db_1 set oracle_sid=myorasid set NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252
Have you tried to use the character set AL32UTF8? (IE NLS_LANG = AMERICAN_AMERICA. AL32UTF8)
-
Windows (well Yes...) Sorry)... Server 2008 Enterprise SP1
Oracle 12.1.0.1
I have provided a seller a COLD backup and a BACKUP CONTROLFILE to TRACE file.
When they go to OPEN RESETLOGS ORA-00344, ora-27040, while they receive the operating system support (OSD-04001)
I don't have access to the restoration site... so I'll have the seller try things... my next step is to change the db_block_size to 4096 vs 8192
They are able to build the controlfile: CREATE CONTROLFILE SET DATABASE 'XXXXX' resetlogs noarchivelog
the issue is in the open air
It has even deleted the LOG file groups to let the o/s to build it... still committed an error... ideas?
RESOLVED: redo block size must be a multiple of the db_block_size, which it was (512 k again and 8192 db).
A few internet searches / messages supposed to reduce the db_block_size... we did it... to 4096 and it worked. Don't know why it worked in an o/s to 8 k and had to be reduced to another (same configuration... supposedly)
-
I installed 10.2.0.1 on my laptop and it works normally.
After the upgrade with the acutal (10.2.0.4.0) patch, I get an ora-12514 error, after conneting to sqlplus.
ORA-12514: TNS:listener could not resolve service_name in connect descriptor
At first, I checked the tnsnames.ora, listener.ora, sqlnet.ora.
After that, I checked the local-services
-OracleDBConsoleorcl (underway)
-OracleOraDb10g_home2TNSListener (on the way)
-OracleServiceORCL (underway)
-OracleOraDb10g_home2iSQL * more (on the way)
1 tnsping orcl:... < 30 ms >,.
2 lsnrctl status orcl:... SNMP is DISABLED; Service "PLSExtProc", status UNKNOWN.
3. check the alert_log:
ORA-00704: bootstrap failure process
ORA-39700: database must be opened with the UPGRADE option
4. I connect AS SYSDBA, because I run the CATUPGRD script. SQL
5. starting
ORA-01092: ORACLE instance is complete. Forced logoff.
6. I check again the alert_log:
Instance of stopped by USER, pid = 2732
ORA-1092 marked during: alter database option
...
Starting ORACLE instance (normal)
...
PMON started...
PSP0 has begun...
MA started...
DBW0 started...
LGWR started...
...
Completed: ALTER DATABASE MOUNT
...
ORA-00704: bootstrap failure process
ORA-39700: database must be opened with the UPGRADE option
I have no chance to run the CATUPGRD. SQL script?
Does anyone have an idea?5. starting
ORA-01092: ORACLE instance is complete. Forced logoff.To go through the upgrade docs before you start this process?
After you apply the Group of hotfixes to ORACLE_HOME, you must upgrade the database to the new version.
You must start the DB with option to UPGRADE to STARTUP.
Consult the Readme patchset (6810189) which has instructions complete how to upgarde your DB to 10.2.0.4
-
RMAN restore to another device Oracle 11 g 1
Hello
I have a big problem. I have on PC running Windows Server 2003 named "Host A" and another Windows Server 2003 "host B".
I made a backup of host A and you want to restore it to host B with the procedure.
Preparation & backup:
After this I got a Controlfile 9,6 mb and a 1 GB file backupSQLPLUS SYS AS SYSDBA SQL>SHUTDOWN IMMEDIATE SQL>STARTUP MOUNT SQL>ALTER DATABASE ARCHIVELOG; SQL>ALTER DATABASE OPEN; SQL>ARCHIVE LOG LIST; SQL>ALTER SYSTEM ARCHIVE LOG START; SQL>QUIT RMAN TARGET / RMAN>CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'C:\Oracle-Backup\backup/%T.bkp'; RMAN>CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'C:\Oracle-Backup\controlfile/%F.bkp'; RMAN>CONFIGURE CONTROLFILE AUTOBACKUP ON; RMAN>EXIT; RMAN TARGET / RMAN>BACKUP DATABASE; // maybe PLUS ARCHIVELOG RMAN>EXIT;
Then I restored to the second machine:
But when I now try to access the database control I got following error:Microsoft Windows [Version 5.2.3790] (C) Copyright 1985-2003 Microsoft Corp. C:\Dokumente und Einstellungen\Administrator>rman Recovery Manager: Release 11.1.0.6.0 - Production on Mi Mai 16 11:13:33 2012 Copyright (c) 1982, 2007, Oracle. All rights reserved. RMAN> quit Recovery Manager abgeschlossen. C:\Dokumente und Einstellungen\Administrator>rman target / nocatalog Recovery Manager: Release 11.1.0.6.0 - Production on Mi Mai 16 11:14:02 2012 Copyright (c) 1982, 2007, Oracle. All rights reserved. Mit Ziel-Datenbank verbunden: XXX (DBID=1455796592) Kontrolldatei der Zieldatenbank wird anstelle des Recovery-Katalogs verwendet RMAN> shutdown immediate; Datenbank geschlossen Datenbank nicht angeschlossen Oracle-Instance heruntergefahren RMAN> set dbid 1449626294 Befehl wird ausgef³hrt: SET DBID RMAN> startup nomount; mit Zieldatenbank verbunden (nicht gestartet) Start nicht erfolgreich: ORA-01078: failure in processing system parameters LRM-00109: Parameterdatei 'C:\PROGRAMME\ORACLE\111\DATABASE\INITXXX.ORA' konnte nicht ge+ffnet werden Oracle Instance ohne Parameterdatei gestartet, um spfile abzurufen Oracle-Instance gestartet Gesamte System Global Area 159019008 Byte Fixed Size 1331852 Byte Variable Size 71306612 Byte Database Buffers 83886080 Byte Redo Buffers 2494464 Byte RMAN> restore spfile from 'c:\Oracle-Dump\CONTROLFILEC-1449626294-20120306-03.BK P'; Starten restore um 16.05.12 Zugewiesener Kanal: ORA_DISK_1 Kanal ORA_DISK_1: SID=98 Device-Typ=DISK Kanal ORA_DISK_1: Spfile wird aus AUTOBACKUP c:\Oracle-Dump\CONTROLFILEC-1449626 294-20120306-03.BKP zur³ckgeschrieben Kanal ORA_DISK_1: Zur³ckschreiben von SPFILE aus AUTOBACKUP abgeschlossen Beendet restore um 16.05.12 RMAN> shutdown immediate; Oracle-Instance heruntergefahren RMAN> startup nomount; mit Zieldatenbank verbunden (nicht gestartet) Oracle-Instance gestartet Gesamte System Global Area 535662592 Byte Fixed Size 1334380 Byte Variable Size 348128148 Byte Database Buffers 180355072 Byte Redo Buffers 5844992 Byte RMAN> restore controlfile from 'c:\Oracle-Dump\CONTROLFILEC-1449626294-20120306- 03.BKP'; Starten restore um 16.05.12 Zugewiesener Kanal: ORA_DISK_1 Kanal ORA_DISK_1: SID=208 Device-Typ=DISK Kanal ORA_DISK_1: Kontrolldatei wird zur³ckgeschrieben Kanal ORA_DISK_1: Restore abgeschlossen, abgelaufene Zeit: 00:00:03 Ausgabedateiname=C:\PROGRAMME\ORACLE\111\DATA\XXX\CONTROL01.CTL Ausgabedateiname=C:\PROGRAMME\ORACLE\111\DATA\XXX\CONTROL02.CTL Ausgabedateiname=C:\PROGRAMME\ORACLE\111\DATA\XXX\CONTROL03.CTL Beendet restore um 16.05.12 RMAN> alter database mount 2> ; Datenbank angeschlossen Freigegebener Kanal: ORA_DISK_1 RMAN> catalog start with 'c:\oracle-Dump\'; Starten implicit crosscheck backup um 16.05.12 Zugewiesener Kanal: ORA_DISK_1 Kanal ORA_DISK_1: SID=208 Device-Typ=DISK 10 Objekte auf _bereinstimmung gepr³ft Beendet implicit crosscheck backup um 16.05.12 Starten implicit crosscheck copy um 16.05.12 Kanal ORA_DISK_1 wird benutzt Beendet implicit crosscheck copy um 16.05.12 Suche nach allen Dateien im Recovery-Bereich Dateien werden katalogisiert... Keine Dateien katalogisiert Suche nach allen Dateien, die mit dem Muster c:\oracle-Dump\ ³bereinstimmen Datenbank kennt Dateiliste nicht ===================================== Dateiname: C:\ORACLE-DUMP\BACKUPXXX777222642.BKP Dateiname: C:\ORACLE-DUMP\BACKUPXXX777222669.BKP Dateiname: C:\ORACLE-DUMP\BACKUPXXX777222949.BKP Dateiname: C:\ORACLE-DUMP\CONTROLFILEC-1449626294-20120306-03.BKP M÷chten Sie die obigen Dateien wirklich katalogisieren (geben Sie YES oder NO ei n)? yes Dateien werden katalogisiert... Katalogisierung erfolgt Liste mit katalogisierten Dateien ======================= Dateiname: C:\ORACLE-DUMP\BACKUPXXX777222642.BKP Dateiname: C:\ORACLE-DUMP\BACKUPXXX777222669.BKP Dateiname: C:\ORACLE-DUMP\BACKUPXXX777222949.BKP Dateiname: C:\ORACLE-DUMP\CONTROLFILEC-1449626294-20120306-03.BKP RMAN> restore database; Starten restore um 16.05.12 Kanal ORA_DISK_1 wird benutzt Kanal ORA_DISK_1: Zur³ckschreiben von Datendatei-Backup Set beginnt Kanal ORA_DISK_1: Datendatei(en) werden zum Wiederherstellen aus Backup Set ange geben Kanal ORA_DISK_1: Datendatei 00001 wird zu C:\PROGRAMME\ORACLE\111\DATA\XXX \SYSTEM01.DBF wiederhergestellt Kanal ORA_DISK_1: Datendatei 00002 wird zu C:\PROGRAMME\ORACLE\111\DATA\XXX \SYSAUX01.DBF wiederhergestellt Kanal ORA_DISK_1: Datendatei 00003 wird zu C:\PROGRAMME\ORACLE\111\DATA\XXX \UNDOTBS01.DBF wiederhergestellt Kanal ORA_DISK_1: Datendatei 00004 wird zu C:\PROGRAMME\ORACLE\111\DATA\XXX \USERS01.DBF wiederhergestellt Kanal ORA_DISK_1: Datendatei 00005 wird zu C:\PROGRAMME\ORACLE\111\ORADATA\DBTT wiederhergestellt Kanal ORA_DISK_1: Datendatei 00006 wird zu C:\PROGRAMME\ORACLE\111\ORADATA\EM_LO G_TUEM wiederhergestellt Kanal ORA_DISK_1: Lesen aus Backup Piece C:\ORACLE-DUMP\BACKUPXXX777222669. BKP Kanal ORA_DISK_1: Piece Handle=C:\ORACLE-DUMP\BACKUPXXX777222669.BKP Tag=TA G20120306T151108 Kanal ORA_DISK_1: Backup Piece 1 wurde wiederhergestellt Kanal ORA_DISK_1: Restore abgeschlossen, abgelaufene Zeit: 00:02:05 Beendet restore um 16.05.12 RMAN> recover database; Starten recover um 16.05.12 Kanal ORA_DISK_1 wird benutzt Media Recovery starten Kanal ORA_DISK_1: Zur³ckschreiben von Archive Log in Standardziel wird begonnen Kanal ORA_DISK_1: Archive Log wird zur³ckgeschrieben Archive Log Thread=1 Sequence=10 Kanal ORA_DISK_1: Lesen aus Backup Piece C:\ORACLE-DUMP\BACKUPXXX777222949. BKP Kanal ORA_DISK_1: Piece Handle=C:\ORACLE-DUMP\BACKUPXXX777222949.BKP Tag=TA G20120306T151548 Kanal ORA_DISK_1: Backup Piece 1 wurde wiederhergestellt Kanal ORA_DISK_1: Restore abgeschlossen, abgelaufene Zeit: 00:00:01 Archive Log-Dateiname=C:\PROGRAMME\ORACLE\111\FLASH_RECOVERY\XXX2DB\ARCHIVE LOG\2012_05_16\O1_MF_1_10_7V73N5RW_.ARC Thread=1 Sequence=10 Kanal default: Archive Logs werden gel÷scht Archive Log-Dateiname=C:\PROGRAMME\ORACLE\111\FLASH_RECOVERY\XXX2DB\ARCHIVE LOG\2012_05_16\O1_MF_1_10_7V73N5RW_.ARC RECID=13 STAMP=783429893 Archive Log kann nicht gefunden werden Archive Log Thread=1 Sequence=11 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: Fehler bei recover Befehl auf 05/16/2012 11:24:57 RMAN-06054: Media Recovery fordert unbekanntes Archive Log f³r Thread 1 mit Sequ ence 11 und Start-SCN von 1094112 an RMAN> alter database open resetlogs; Datenbank ge÷ffnet RMAN> quit Recovery Manager abgeschlossen. C:\Dokumente und Einstellungen\Administrator>
' 503 service unavailable: Servlet error exception occurred the current application deployment descriptor do not include in this response.
and the restored data are not included.
I hope someone can tell me what I did wrong.
Thank you
Published by: 919309 on 07.03.2012 02:08
Published by: 919309 on 07.03.2012 02:12drop the repository and try with dbca
EMCA - deconfig dbcontrol db-rest drop
-
Restore and backup RMAN recovery in a new server
Version: 11.2
Platform: Solaris
I did several restorations of RMAN backups to new hosts. Whenever I do a full recovery of a cold backup, when I run the
I used to getRECOVER DATABASE
I considered this as being 'Normal' and always used to causearchive log filename=/u04/mvf/data/dbase/arch/arch.log1_235_678649266.dbf thread=1 sequence=235 unable to find archive log archive log thread=1 sequence=236 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of recover command at 12/04/2011 14:33:18 RMAN-06054: media recovery requesting unknown log: thread 1 seq 236 lowscn 11290198
But I read the below mentioned informative post yesterday.alter database open resetlogs
Question on create Redo log after restoring files and recover
According to the guidelines of this post, I shouldn't use
for a full recovery.alter database open resetlogs
So, what should I do
a.
Should I use
ORALTER DATABASE OPEN ; -- I think I got some error with this command when i issued it after RMAN-06054 error . Can't recall what error
b.
Should I userecover database until sequence 236;
Here is how I could use a combination of RMAN (for RESTORATION) and SQL (for the OPEN RESETLOGS):
$ rman target / Recovery Manager: Release 10.2.0.2.0 - Production on Wed Nov 16 05:40:51 2011 Copyright (c) 1982, 2005, Oracle. All rights reserved. connected to target database (not started) RMAN> startup nomount Oracle instance started Total System Global Area 419430400 bytes Fixed Size 1261164 bytes Variable Size 113246612 bytes Database Buffers 297795584 bytes Redo Buffers 7127040 bytes RMAN> restore controlfile from autobackup; Starting restore at 16-NOV-11 using target database control file instead of recovery catalog allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=156 devtype=DISK recovery area destination: /usr/oracle/flash_recovery_area database name (or database unique name) used for search: MYNDB channel ORA_DISK_1: autobackup found in the recovery area channel ORA_DISK_1: autobackup found: /usr/oracle/flash_recovery_area/MYNDB/autobackup/2011_11_16/o1_mf_n_767337675_7d6l55ck_.bkp channel ORA_DISK_1: control file restore from autobackup complete output filename=/usr/oracle/oradata/MYNDB/control01.ctl output filename=/usr/oracle/oradata/MYNDB/control02.ctl Finished restore at 16-NOV-11 RMAN> sql 'alter database mount'; sql statement: alter database mount released channel: ORA_DISK_1 RMAN> RMAN> restore database; Starting restore at 16-NOV-11 Starting implicit crosscheck backup at 16-NOV-11 allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=156 devtype=DISK allocated channel: ORA_DISK_2 channel ORA_DISK_2: sid=155 devtype=DISK Crosschecked 16 objects Crosschecked 3 objects Finished implicit crosscheck backup at 16-NOV-11 Starting implicit crosscheck copy at 16-NOV-11 using channel ORA_DISK_1 using channel ORA_DISK_2 Finished implicit crosscheck copy at 16-NOV-11 searching for all files in the recovery area cataloging files... cataloging done List of Cataloged Files ======================= File Name: /usr/oracle/flash_recovery_area/MYNDB/autobackup/2011_11_16/o1_mf_n_767337675_7d6l55ck_.bkp using channel ORA_DISK_1 using channel ORA_DISK_2 channel ORA_DISK_2: starting datafile backupset restore channel ORA_DISK_2: specifying datafile(s) to restore from backup set restoring datafile 00003 to /usr/oracle/oradata/MYNDB/sysaux01.dbf restoring datafile 00004 to /usr/oracle/oradata/MYNDB/users01.dbf restoring datafile 00005 to /usr/oracle/oradata/MYNDB/datafile/o1_mf_example_7c4qzn5k_.dbf restoring datafile 00006 to /usr/oracle/oradata/MYNDB/undotbs.dbf channel ORA_DISK_2: reading from backup piece /usr/oracle/flash_recovery_area/MYNDB/backupset/2011_11_16/o1_mf_nnndf_TAG20111116T052209_7d6l4227_.bkp channel ORA_DISK_1: starting datafile backupset restore channel ORA_DISK_1: specifying datafile(s) to restore from backup set restoring datafile 00001 to /usr/oracle/oradata/MYNDB/system01.dbf restoring datafile 00002 to /usr/oracle/oradata/MYNDB/datafile/o1_mf_hemant_7c4qzn0o_.dbf restoring datafile 00007 to /usr/oracle/oradata/MYNDB/datafile/o1_mf_assm_tbs_7c4qzn0q_.dbf restoring datafile 00008 to /usr/oracle/oradata/MYNDB/datafile/o1_mf_mssm_tbs_7c4qzn0x_.dbf channel ORA_DISK_1: reading from backup piece /usr/oracle/flash_recovery_area/MYNDB/backupset/2011_11_16/o1_mf_nnndf_TAG20111116T052209_7d6l4216_.bkp channel ORA_DISK_1: restored backup piece 1 piece handle=/usr/oracle/flash_recovery_area/MYNDB/backupset/2011_11_16/o1_mf_nnndf_TAG20111116T052209_7d6l4216_.bkp tag=TAG20111116T052209 channel ORA_DISK_1: restore complete, elapsed time: 00:00:35 channel ORA_DISK_2: restored backup piece 1 piece handle=/usr/oracle/flash_recovery_area/MYNDB/backupset/2011_11_16/o1_mf_nnndf_TAG20111116T052209_7d6l4227_.bkp tag=TAG20111116T052209 channel ORA_DISK_2: restore complete, elapsed time: 00:00:35 Finished restore at 16-NOV-11 RMAN> RMAN> exit Recovery Manager complete. $ sqlplus '/ as sysdba' SQL*Plus: Release 10.2.0.2.0 - Production on Wed Nov 16 05:42:52 2011 Copyright (c) 1982, 2005, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production With the Partitioning, OLAP and Data Mining options SQL> alter database open; alter database open * ERROR at line 1: ORA-01589: must use RESETLOGS or NORESETLOGS option for database open SQL> alter database open resetlogs; Database altered. SQL>
Note This error message 1589 is:
$ oerr ora 1589 01589, 00000, "must use RESETLOGS or NORESETLOGS option for database open" // *Cause: Either incomplete or backup control file recovery has been // performed. After these types of recovery you must specify either // the RESETLOGS option or the NORESETLOGS option to open your // database. // *Action: Specify the appropriate option. $
Hemant K Collette
-
RMAN, restoration of ASM no - asm environment!
Dear friends,
WE are running Oracle 11 GR 2 CARS as our PRODUCTION server. also, we have a single instance, DATAGUARD, where production data are replicated.
On the end DATAGUARD, we take a weekly full backup RMAN. My db_name is 'isldb '.
Now I want to restore the backup, RMAN COMPLETE the DATAGUARD server to a new server NO - ASM using file system normal... For this reason, I have to follow the procedure below:
(1) take RMAN full backup of DATAGUARD END as a stage to mount and store it on ' / rmanback' file. I use the below taken backup script:
Run {}
allocate channels d1 device type disk format ' / rmanback/isl/$TODAY/df_%U_%T';
allocate channel device type d2 disc format ' / rmanback/isl/$TODAY/df_%U_%T';
backup database effective additional 0 CHECK the LOGIC AS BACKUPSET COMPRESS;
backup format ' / rmanback/isl/$TODAY/controlfile.ctlbk' (current controlfile);
backup format ' / rmanback/isl/$TODAY/spfile.spbak' (spfile);
ARCHIVELOG backup all;
output channel d1;
output channel d2;
}
(2) the transfer of the rman backup complete on a remote server on the same ' / rmanback' file.
(3) in the new server, I take the scene nomount database using a spfile (spfile has a single entry: 'DB_NAME = isldb')
(4) then I restore the controlfile successfully:
[oracle@PRIM ~] target rman $ /.
Recovery Manager: release 11.2.0.3.0 - Production Wed Aug 20 16:01:21 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: ISLDB (unassembled)
RMAN > restore controlfile to ' / rmanback/isl/20140810_181405/controlfile.ctlbk';
From restoration to 20 August 14
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 332 type device = DISK
channel ORA_DISK_1: restore the control file
channel ORA_DISK_1: restore complete, duration: 00:00:01
output file name=/u01/app/oracle/oradata/isldg/control01.ctl
output file name=/u01/app/oracle/oradata/isldg/control02.ctl
Finished restore at August 20, 14
(5) to restore the data successfully file using the command below:
run
{
the value of newname for datafile '+ DATA/isldg/datafile/system.298.849413815' to ' / u01/app/oracle/oradata/isldb/system1.dbf';
the value of newname for datafile '+ DATA/isldg/datafile/sysaux.295.849413813' to ' / u01/app/oracle/oradata/isldb/sysaux1.dbf';
the value of newname for datafile '+ DATA/isldg/datafile/undotbs1.296.849413813' to ' / u01/app/oracle/oradata/isldb/undotbs1.dbf';
the value of newname for datafile '+ DATA/isldg/datafile/undotbs2.297.849413815' to ' / u01/app/oracle/oradata/isldb/undotbs2.dbf';
the value of newname for datafile '+ DATA/isldg/datafile/users.299.849413849' to ' / u01/app/oracle/oradata/isldb/users1.dbf';
the value of newname for datafile '+ DATA/isldg/datafile/bu_system_tbs.291.849413617' to ' / u01/app/oracle/oradata/isldb/bu_system_tbs1.dbf';
the value of newname for datafile '+ DATA/isldg/datafile/bu_his_log_tbs.292.849413617' to ' / u01/app/oracle/oradata/isldb/bu_his_log_tbs1.dbf';
the value of newname for datafile '+ DATA/isldg/datafile/bu_index_tbs.293.849413617' to ' / u01/app/oracle/oradata/isldb/bu_index_tbs1.dbf';
the value of newname for datafile '+ DATA/isldg/datafile/bu_image_tbs.294.849413619' to ' / u01/app/oracle/oradata/isldb/bu_image_tbs1.dbf';
the value of newname for tempfile 1 to ' / u01/app/oracle/oradata/isldb/temp1.dbf';
restore the database;
}
RESTORATION came with success, and all data files store in the folder specified with success.
(6) now when I recover the database, then I found the below error:
> SQL > alter database open resetlogs;
ALTER database open resetlogs
ERROR on line 1:
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: '+ DATA/isldg/datafile/system.298.849413815 '.
> SQL > restore database;
ORA-00283: cool cancelled due to errors
ORA-01610: recovery using BACKUP CONTROLFILE option must be
> SQL > restore database until cancel using backup controlfile;
ORA-00283: cool cancelled due to errors
ORA-01110: data file 1: '+ DATA/isldg/datafile/system.298.849413815 '.
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: '+ DATA/isldg/datafile/system.298.849413815 '.
Could someone help me please, how can I recover as open my database?
Your archivelog was not "missing." He seems to have a different file name format.
No one can touch «_allow_resetlogs_corruption» action You are now on your own.
Hemant K Collette
-
friends,
I'm trying to restore database on different hosts for these days, and it fails to error below and continues to restore.
size of DB is TB so I have to be careful before trying again...
Host: linux
DB: 11 GR 2
Restoration of output*:
Restoration finished in February 1, 13
RMAN-00571 =.
RMAN-00569 = following Message of ERROR stack
RMAN-00571 =.
RMAN-03002: failure of the switch control 01/02/2013
ORA-19563: file header validation failure
Complete recovery manager
Restore script: *
Run {}
Restore automatic backup controlfile;
SQL "alter database mount";
the value of newname for datafile 'ABC' "XYZ".
"
"
"
CONFIGURE CONTROLFILE AUTOBACKUP
SET UP THE DEVICE TYPE DISK PARALLELISM 2;
restore the database check readonly;
switch datafile;
recover the database check readonly;
}
quick thinking?
Details of the DBHello;
I'm conflict thinking with your "set newname. Perhaps get it back has a conflict with one of the file names.
Here's an example of how to do this:
restore_test.sh echo "Starting RMAN..." $ORACLE_HOME/bin/rman << EOF CONNECT TARGET / STARTUP NOMOUNT; SET DBID 3754763357; #DBID of PROD database RUN { ALLOCATE CHANNEL c1 DEVICE TYPE disk format '/u03/oradata/RCATALOG_rman'; RESTORE CONTROLFILE FROM '/u03/oradata/RCATALOG_rman/sb_t790762003_s85_p1'; ALTER DATABASE MOUNT; SET NEWNAME FOR DATAFILE 1 TO '/u01/app/oracle/oradata/RECLONE/system01.dbf'; SET NEWNAME FOR DATAFILE 2 TO ' /u01/app/oracle/oradata/RCATALOG/sysaux01.dbf'; SET NEWNAME FOR DATAFILE 3 TO '/u01/app/oracle/oradata/RECLONE/undotbs01.dbf'; SET NEWNAME FOR DATAFILE 4 TO '/u01/app/oracle/oradata/RECLONE/users01.dbf'; SET NEWNAME FOR DATAFILE 5 TO '/u02/oradata/RECLONE/rman02.dbf'; SET NEWNAME FOR DATAFILE 6 TO '/u02/oradata/RECLONE/things01.dbf'; SET NEWNAME FOR DATAFILE 7 TO '/u02/oradata/RECLONE/otn01.dbf'; SET NEWNAME FOR DATAFILE 8 TO '/u01/oradata/RECLONE/app_idx01.dbf'; SET NEWNAME FOR DATAFILE 9 TO '/u01/oradata/RECLONE/app_dat01.dbf'; SET NEWNAME FOR DATAFILE 10 TO '/u01/app/oracle/oradata/RECLONE/audit_aux01.dbf'; SET NEWNAME FOR TEMPFILE 1 TO '/u01/app/oracle/oradata/RECLONE/temp01.dbf'; RESTORE DATABASE; SWITCH DATAFILE ALL; RECOVER DATABASE; release channel c1; } ALTER DATABASE OPEN RESETLOGS; exit EOF
Best regards
mseberg
-
Database is underway after the restore and recovery
Database is in the waiting state after the restore and recovery.
The database cannot start today and it displays an error message: 2 log file can be archived. Then I run the following command:
But when I try to log on by using the EM console, it shows that the database is not open. Then I restore and recover the database by using the EM Console. But the database and then enter in pending status.SQL> select group#, sequence#, bytes, members, status from v$log; GROUP# SEQUENCE# BYTES MEMBERS STATUS ---------- ---------- ---------- ---------- ---------------- 1 452 52428800 1 CURRENT 3 451 52428800 1 INACTIVE 2 450 52428800 1 INACTIVE SQL> ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 3; Database altered. SQL> ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 2; Database altered. SQL> alter database open; Database altered. SQL> shutdown immediate; ORA-01109: database not open Database dismounted. ORACLE instance shut down. SQL> startup ORACLE instance started. Total System Global Area 566231040 bytes Fixed Size 1220580 bytes Variable Size 125829148 bytes Database Buffers 432013312 bytes Redo Buffers 7168000 bytes Database mounted. Database opened.
What to do next?Stop the console 'EM, and then restart it. I hope all is well.
-
Hi all
I perform a Production to a Dev Server refresh. I made a full backup of the production and trying to restore in the dev Setup...
I delivered the backup of the production to dev box... I created a database and put it in nomount mode...
So I'm trying to restore the controlfile, but I am gettign the error below:
RMAN > restore controlfile to ' / orabackup/bkp_030113/controlprod.ctl';
From restoration to January 4, 13
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 198 type device = DISK
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at the 17:50:35 04/01/2013
RMAN-06172: no AUTOBACKUP couldn't find or handle specified is not a valid copy or a piece
Please suggest.
Kind regards
AalamiRMAN-06172: no AUTOBACKUP couldn't find or handle specified is not a valid copy or a piece
Can you check the backup file permissions after you have moved production to the development area?
$ls ltr - /orabackup/bkp_030113/controlprod.ctl
And make sure you set DBID of production database.
BTW, FRA is configured?
Work around you can try to disable and after successful restoration, again, you can activate FRA. -
Hello
I have a backup of a database. Now, I need to restore the backup to a new database with RMAN.
The new database has no any file parameter. And I should not create any file manually.
How to restore the database with RMAN?795399 wrote:
HelloHow to restore the backup spfile?
To start the database in nomount, it must be a settings file. So, how do to restore the spfile.
Thank you
To restore spfile, you must start the database of phase NOMOUNT but it do not exactly have your pfile/spfile file. When run in this case STARTUP NOMOUNT database will start with dummy pfile and without problem, after SPFILE RESTORE FROM 'AUTO_OR_FULL_BACKUP_LOCATION' in this case restore spfile. And you need to STARTUP NOMOUNT FORCE due to the restored necessity with spfile startup database.
-
Hello world
I have some confusion about rman restore and recover procedures. I read doc available in this regard and google as well. A few more questions unanswered in my mind.
1. do the restore backup command restore controlfile also alongwith datafiles.
2 database is running in noarchivelog mode. Suppose one of say users.dbf data files has been removed. control files intact. the same seq # is available since the last log backup. Now to restore the database, I use the following steps.
1 rman > shutdown immediate
2 rman > startup mount
3 rman > restore database
4 rman > restore database
5 rman > alter database open;
I'm wrong. This is the one. In this scenario, the steps above can be used.
3. even when logseq is not available when the database is saved, I take the following steps.
1 rman > startup nomount;
2 rman > restore controlfile autobackup.
3 rman > change the editing of the database;
4 rman > restore database;
5 rman > recover noredo db;
6 rman > alter database open resetlogs;
It is a right. can I adopt this procedure in my scenario.
Please do not give all the links I want some explanation of your minds.
Geetanjali.sonidba wrote:
Hello world
I have some confusion about rman restore and recover procedures. I read doc available in this regard and google as well. A few more questions unanswered in my mind.
1. do the restore backup command restore controlfile also alongwith datafiles.
2 database is running in noarchivelog mode. Suppose one of say users.dbf data files has been removed. control files intact. the same seq # is available since the last log backup. Now to restore the database, I use the following steps.
1 rman > shutdown immediate
2.RMAN > startup mount
3.RMAN > restore database
4.RMAN > restore database
5.RMAN > alter database open;I'm wrong. This is the one. In this scenario, the steps above can be used.
If after the last COLD backup is there not get command of newspaper (this means journal seq number is the same), so you can restore your database since the last backup and can retrieve it. And if thi does not need perform full restoration/recovery. At instead step 3 with DATA RESTORE
(or RESTORE TABLESPACE USERS) file and step 4 instead with RECOVER DATAFILE (or RECOVER TABLESPACE USERS) and after that you can open the database by using ALTER DATABASE OPEN. If you have lost datafile users.dbf it means that this (tablespace) datafie has been automatically disconnected. 3. even when logseq is not available when the database is saved, I take the following steps.
1 rman > startup nomount;
2 rman > restore controlfile autobackup.
3.RMAN > change the editing of the database;
4 rman > restore database;
5 rman > recover noredo db;
6 rman > alter database open resetlogs;
It is a right. can I adopt this procedure in my scenario.Yes you are right in this case. There, you have to restore/recovery complete database, because of your database running in NOARCHIVELOG mode. But after database restore (step4) you can just issue RESTORE database and can open with RESETLOGS options also. Also if you have incremental backups can run NOARCHIVELOG mode even RETRIEVE the NOREDO of DATABASE then you can open the database.
-
I've restored a backup image on my C: drive. Everything looks good except all my events and tasks have disappeared from the calendar!
I understand that this data is included in my profile, but how do I get my events and tasks and put back them in the calendar? Are the import and export of functions expected to be used to provide backups of my events and tasks? Shouldn't they already appear in the calendar after the restoration of a system disk?After a lot of messing around, I think I solved this problem.
The problem occurs because of an incompatibility between certain values in prefs.js vs values in the data table cal_events.
I copied backup prefs.js (containing the 'calendar') related lines in the current prefs.js and now everything looks OK, I can see my tasks and events in the calendar.
The lines looked like this:
user_pref ("calendar.list.sortOrder", "75f0f98f-9fdf-4bca-9e48-656ff2e1457d 012fd0d9-bcf1-43b1-a98d-6b0117a3f779 511ca361-a646-4f94-880b-526a0a5cdba1");These long numbers must correspond to the values of the column. cal_id apparently if they do not match, they do not appear in the calendar.
Mine does not, so I corrected the values in the prefs.js file and everything seems to go fine now.
I still need to find the cause of the incompatibility, I think it was something in the way that I restored the disk then run MozBackup to restore my backup Thunderbird.
Hope this helps others with this problem.
Many thanks to Gnospen and Matt for their help!
Maybe you are looking for
-
Hi people, Is available on the FPGA FIFO DMA the only type of file transfer while transmitting data from FPGA to HOST? Most of the examples I've met DMA, so I used them blindly. On a somewhat related topic, can a period be introduced in this transfer
-
I have hp color laserjet cp5225 printer, when I turn it on, an error message appears on the sign that says (60.02 error turn off then turn on) Can someone help me solve this problem? Manuals, videos, photos,... etc will be useful. and if he can send
-
Try to burn the home video, I made my own family. Says I need to burn rights!
Try to burn the video I made of my own family (and put up with Windows Movie Maker then coded w/Microsoft Expression Encoder 4). Media Player it burns very well as a data disc, but says there are errors or lack of burn rights when I try to make an a
-
Latitude E6420 Sound going headphones instead of speakers
I'm on a Dell Latitude E6420, and I'm having a problem with my speakers. What I have found is that by default, the computer sends sound for headphones, regardless of whether or not they are connected. There are two audio devices in the control panel
-
I'm runninh of windows 7 on CAREB dot 2 who is GREGservice?
I'm runninh of windows 7 on CAREB dot 2 who is GREGservice?