Database rmane
How to rename Oracle database 10g without judgment and with the judgment of these two cases.Published by: Sachin on June 23, 2011 02:40
http://www.Oracle-base.com/articles/9i/DBNEWID.php
Rename a 10g database
Renaming an instance
The links that interest you. Database cannot be renamed without stop, why? Because the name is stored in the file control, redo logs and data files (the physical structure of the database) and only the Oracle process / tool touches the control file.
Concerning
Girish Sharma
Tags: Database
Similar Questions
-
RMAN-06004: error ORACLE recovery catalog database: RMAN-20001: target
Hello
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the backup command to 2009-03-31 21:59:24
RMAN-03014: implicit recovery catalog Resync failed
RMAN-06004: error ORACLE recovery catalog database: RMAN-20001: target not found in the recovery catalog database
I get the above error while taking backup RMAN Level0. I am able to connect to the database of the catalogue without any problem.
I already have this registry database command in RMAN prompt. Now I am able to see backup list but I don't know how that DB asking to sign up for today. Until yesterday, the backups were running fine btu today his application to enter the catalog DB.
Here we manually to connect the catalogue in this way
rman target $ /.
RMAN > catalog connection rmanuser/password @ < globalcatalogDB >
connected.
After that if I give this command means...
RMAN > backup from the list of database;
I get the error I pasted at the earliest.
Thanks in advance.If you do not have a catalog, you need not to save the database. Rely you only on the target database controlfile. If you use a catalog, you must save the target database, but only once. If you sometimes use a catalog - and sometimes not--the appropriate command is RESYNC (although in many cases RMAN automatically done).
Werner
-
FLASHBACK Database: rman vs. sql command differences
I am new to Oracle and want to understand the difference and that is the correct way of rear turn signals to the database?
RMAN command vs SQL command on the use of FLASHBACK DATABASE
RMAN > run {}SQL> FLASHBACK DATABASE TO RESTORE POINT BEFORE_ONLINE_TEST; {CODE} Vs
flashback database to restore the BEFORE_TEST_320130313 point;
SQL ' alter database open resetlogs; }Referring this article on http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmflash.htm#BGBDCAFA it says we can use both RMAN and SQL command for database flashback. Questions: 1. Difference between using RMAN and SQL command on database flashback? 2. When to use RMAN or SQL on the database flashback? 3. Which is the Oracle recommended or best way ? Edited by: Sivaprasad S on Mar 15, 2013 7:26 PM Edited by: Sivaprasad S on Mar 15, 2013 7:26 PM Edited by: Sivaprasad S on Mar 15, 2013 7:27 PM Edited by: Sivaprasad S on Mar 15, 2013 7:27 PM Edited by: Sivaprasad S on Mar 15, 2013 7:28 PM Edited by: Sivaprasad S on Mar 15, 2013 7:29 PM
So when you run your SQLPlus flashback, you get the following error:
ORA-38761: redo log sequence 1 in thread 1, incarnation 3 could not be found
This means so that the sequence 1 has probably been removed from the disk and is necessary.
When you run the RMAN command look at the log what RMAN:
* journal archived for thread 1 sequence 2 is already on the disc in the file +DG_PERF_FLASH_02/TestDB/archivelog/2013_03_14/thread_1_seq_2.3612.810054205*
* journal archived for thread 1 with sequence 3 is already on the disc in the file +DG_PERF_FLASH_02/TestDB/archivelog/2013_03_14/thread_1_seq_3.1588.810054205*So sequence 2 and 3 are already on record according to the above message.
Then you get this message:
channel dev_2: restoration of archives Journal
Archives journal thread = 1 sequence = 1So RMAN knows he needs 1 thus sequence and restores this newspaper archive she needs for recovery.
In a Word while running SQLPlus she communicate with RMAN and restore the log file for you, however with RMAN, it won't.
You can restore the newspaper archive manually, and then run in SQLPlus that will then work.
Published by: Freddie Essex on March 18, 2013 12:46
-
How to remove a deleted database RMAN backups?
Hi people,
1, created a 10g database
2, rman (with recovery catalog) to create and manage backups
3, dropped to the database (I forgot to use the drop backup option)
Is it possible to purge with rman backups now? Or will I have to manually delete all the files?
Thanks in advance
rogers42You can cancel the registration of catalogue database, but you must delete the backups manually. To uregister execute under connection as the owner of the catalog. First get DBID form rc_database view and anticipate that, as an argument to the procedure below:
exec dbms_rcvcat.unregisterDatabase(db_id => 3888161139);
Kind regards
Julien -
Restore from different database Rman backup RMAN
Hello world
I'm practicing Rman, so I request that the way to restore the rman backup in a different database.
For example:
1. I have backup Rman of DB1 to level 0 and level 1 cumulative data base more archievelog
2. I need to import or restore the backup Rman of DB1 to a different database DB2.
What is the procedure to make the queries above. Please anyone one help out me.
I use oracle 10g r2 running in windows server 2003.
Thanks in advance.flanged wrote:
Hello worldI'm practicing Rman, so I request that the way to restore the rman backup in a different database.
For example:
1. I have backup Rman of DB1 to level 0 and level 1 cumulative data base more archievelog
2. I need to import or restore the backup Rman of DB1 to a different database DB2.
What is the procedure to make the queries above. Please anyone one help out me.
I use oracle 10g r2 running in windows server 2003.
Thanks in advance.
If you want to restore the database from one node to the node of dfiferent, you can follow below url
http://mohamedazar.WordPress.com/2011/03/13/disaster-recoveryrestore-database-from-one-server-to-another-server-when-different-location/
but you couldnot able to restore the database backup entire rman in another database instance struture.
-
Duplicate database RMAN 11 GR 2 ORA-17627 ORA-01017 RMAN-03009 ORA-17628
Hello
I'm getting ORA-17627: ORA-01017: name of user and password invalid. connection refused when using the RMAN duplicate on the same host using the account Oracle DBA. The system is Linux Oracle and Oracle 11.2.0.1 5.5
I tested the connectivity and passwords and everything works fine. What could be the reason of this problem please?
Details below:
Thank you.
H3. Summary of the solution:
A big thank you to all who responded! The problem is solved finally :-)
The ORA-17627: ORA-01017 has been corrected using the connection string to connect to the target database, instead of target rman / in the command prompt
However, there was still another question:$ rman RMAN> connect target sys/password@orcl RMAN> connect auxiliary sys/password@clonedb RMAN> duplicate target database to clonedb from active database;
The alert.log to the auxiliary database (clonedb) shows:channel ORA_DISK_1: starting datafile copy input datafile file number=00001 name=+DATA/orcl/datafile/system.256.737564331 RMAN-03009: failure of backup command on ORA_DISK_1 channel at 12/29/2010 14:40:21 ORA-17628: Oracle error 19505 returned by remote Oracle server continuing other job steps, job failed will not be re-run
Errors in the /u01/app/oracle/diag/rdbms/clonedb/clonedb/trace/clonedb_ora_6129.trc file:
ORA-19505: impossible to identify the file ' / scratch/oradata/clonedb/datafile/orcl/datafile/system.256.737564331 '.
ORA-27040: create file error, cannot create the file
Linux-x86_64 error: 2: no such file or directory
I fixed the problem by changing the following text in the settings of the clonedb instance file:
* .db_file_name_convert =('+Data/ORCL/','/Scratch/oradata/clonedb/')
* .log_file_name_convert =('+Data/ORCL/onlinelog/','/Scratch/oradata/clonedb/logfile/')
Thank you!
H3. Problem:
H3. Configuration[orcl@ol55]$ rman target / Recovery Manager: Release 11.2.0.1.0 - Production on Tue Dec 28 21:40:25 2010 Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. connected to target database: ORCL (DBID=1265345286) RMAN> connect auxiliary sys/test@clonedb connected to auxiliary database: CLONEDB (not mounted) RMAN> duplicate target database to clonedb from active database; Starting Duplicate Db at 28-DEC-10 using target database control file instead of recovery catalog allocated channel: ORA_AUX_DISK_1 channel ORA_AUX_DISK_1: SID=19 device type=DISK contents of Memory Script: { sql clone "create spfile from memory"; } executing Memory Script sql statement: create spfile from memory contents of Memory Script: { shutdown clone immediate; startup clone nomount; } executing Memory Script Oracle instance shut down connected to auxiliary database (not started) Oracle instance started Total System Global Area 839282688 bytes Fixed Size 2217992 bytes Variable Size 645924856 bytes Database Buffers 188743680 bytes Redo Buffers 2396160 bytes contents of Memory Script: { sql clone "alter system set db_name = ''ORCL'' comment= ''Modified by RMAN duplicate'' scope=spfile"; sql clone "alter system set db_unique_name = ''CLONEDB'' comment= ''Modified by RMAN duplicate'' scope=spfile"; shutdown clone immediate; startup clone force nomount backup as copy current controlfile auxiliary format '/scratch/oradata/clonedb/controlfile/control01.ctl'; restore clone controlfile to '/scratch/oradata/clonedb/controlfile/control02.ctl' from '/scratch/oradata/clonedb/controlfile/control01.ctl'; alter clone database mount; } executing Memory Script sql statement: alter system set db_name = ''ORCL'' comment= ''Modified by RMAN duplicate'' scope=spfile sql statement: alter system set db_unique_name = ''CLONEDB'' comment= ''Modified by RMAN duplicate'' scope=spfile Oracle instance shut down Oracle instance started Total System Global Area 839282688 bytes Fixed Size 2217992 bytes Variable Size 645924856 bytes Database Buffers 188743680 bytes Redo Buffers 2396160 bytes Starting backup at 28-DEC-10 allocated channel: ORA_DISK_1 channel ORA_DISK_1: SID=35 device type=DISK channel ORA_DISK_1: starting datafile copy copying current control file RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of Duplicate Db command at 12/28/2010 21:42:08 RMAN-03015: error occurred in stored script Memory Script RMAN-03009: failure of backup command on ORA_DISK_1 channel at 12/28/2010 21:42:08 ORA-17629: Cannot connect to the remote database server ORA-17627: ORA-01017: invalid username/password; logon denied ORA-17629: Cannot connect to the remote database server
H4. Listener and Tnsnames
H3. Note: (UR = A) clause in tnsnames.ora is intended to operate with a dynamically
Manager recorded for the SERVICE_NAME against SID is preferable. (ID 362656.1)
H4. pFile and spfile$ cat /u01/app/oracle/product/11.2.0/grid/network/admin/listener.ora LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ol55.example.com)(PORT = 1521)) ) ) SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (ORACLE_HOME= /u01/app/oracle/product/11.2.0/db) (SID_NAME = clonedb) (GLOBAL_DBNAME= clonedb.example.com) ) ) ADR_BASE_LISTENER = /u01/app/oracle ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON $ cat tnsnames.ora # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db/network/admin/tnsnames.ora # Generated by Oracle configuration tools. CLONEDB = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ol55.example.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = clonedb.example.com) (UR = A) ) ) $ lsnrctl status LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 28-DEC-2010 21:35:54 Copyright (c) 1991, 2009, Oracle. All rights reserved. Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production Start Date 26-DEC-2010 02:59:35 Uptime 2 days 18 hr. 36 min. 18 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /u01/app/oracle/product/11.2.0/grid/network/admin/listener.ora Listener Log File /u01/app/oracle/diag/tnslsnr/ol55/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ol55.example.com)(PORT=1521))) Services Summary... Service "+ASM" has 1 instance(s). Instance "+ASM", status READY, has 1 handler(s) for this service... Service "clonedb.example.com" has 2 instance(s). Instance "clonedb", status UNKNOWN, has 1 handler(s) for this service... Instance "clonedb", status BLOCKED, has 1 handler(s) for this service... Service "orcl.example.com" has 1 instance(s). Instance "orcl", status READY, has 1 handler(s) for this service... Service "orclXDB.example.com" has 1 instance(s). Instance "orcl", status READY, has 1 handler(s) for this service... Service "test.example.com" has 1 instance(s). Instance "test", status READY, has 1 handler(s) for this service... Service "testXDB.example.com" has 1 instance(s). Instance "test", status READY, has 1 handler(s) for this service... The command completed successfully
H4. Password file and the connection test$ cat initclonedb.ora clonedb.__db_cache_size=192937984 clonedb.__java_pool_size=4194304 clonedb.__large_pool_size=4194304 clonedb.__oracle_base='/u01/app/oracle' clonedb.__pga_aggregate_target=339738624 clonedb.__sga_target=503316480 clonedb.__shared_io_pool_size=0 clonedb.__shared_pool_size=293601280 clonedb.__streams_pool_size=0 *.audit_file_dest='/u01/app/oracle/admin/clonedb/adump' *.audit_trail='db' *.backup_tape_io_slaves=TRUE *.compatible='11.2.0.0.0' *.control_files='/scratch/oradata/clonedb/controlfile/control01.ctl','/scratch/oradata/clonedb/controlfile/control02.ctl' *.db_block_checking='full' *.db_block_checksum='full' *.db_block_size=8192 *.db_create_file_dest='/scratch/oradata/clonedb' *.db_domain='example.com' *.db_name='clonedb' *.db_recovery_file_dest='+FRA' *.db_recovery_file_dest_size=12884901888 *.log_archive_dest='/scratch/oradata/clonedb/archivelog' *.diagnostic_dest='/u01/app/oracle' *.dispatchers='(PROTOCOL=TCP) (SERVICE=clonedbXDB)' *.memory_target=843055104 *.open_cursors=300 *.processes=150 *.remote_login_passwordfile='EXCLUSIVE' *.undo_tablespace='UNDOTBS1' *.db_file_name_convert=('+DATA','/scratch/oradata/clonedb/datafile') *.log_file_name_convert=('+DATA','/scratch/oradata/clonedb/logifle') $ sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on Tue Dec 28 21:26:41 2010 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to an idle instance. SQL> startup nomount pfile='$ORACLE_HOME/dbs/initclonedb.ora' ORACLE instance started. Total System Global Area 839282688 bytes Fixed Size 2217992 bytes Variable Size 641730552 bytes Database Buffers 192937984 bytes Redo Buffers 2396160 bytes SQL>
Published by: Dude on December 29, 2010 06:37$ orapwd file=$ORACLE_HOME/dbs/orapwclonedb password='test' $ sqlplus 'sys/test@clonedb as sysdba' SQL*Plus: Release 11.2.0.1.0 Production on Tue Dec 28 19:58:14 2010 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to an idle instance.
Hi guy,
Please configure the tnsnames and auditor of the target and auxiliary.
That set the script to use OIC to connect in both instances like this:connect target sys/test@orcl
connect auxiliary sys/test@clonedbPlease after the release.
Kind regards
Tycho -
ORA-01017 when duplicate RMAN database active
Hello, ORACLE guru!
I have some difficulties trying to reproduce DB via RMAN duplicate from active database.
The script is simple:
run { allocate channel ch1 device type disk; allocate auxiliary channel aux1 device type disk; duplicate target database to mydb from active database; }
The problem is in this summary:
Starting backup at 15-JAN-14 channel ch1: starting datafile copy copying current control file Oracle instance started Total System Global Area 10689474560 bytes Fixed Size 2237776 bytes Variable Size 4227861168 bytes Database Buffers 6442450944 bytes Redo Buffers 16924672 bytes contents of Memory Script: { sql clone "alter system set db_name = ''mydb'' comment= ''Reset to original value by RMAN'' scope=spfile"; sql clone "alter system reset db_unique_name scope=spfile"; shutdown clone immediate; } executing Memory Script sql statement: alter system set db_name = ''mydb'' comment= ''Reset to original value by RMAN'' scope=spfile sql statement: alter system reset db_unique_name scope=spfile Oracle instance shut down released channel: ch1 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of Duplicate Db command at 01/15/2014 12:16:07 RMAN-05501: aborting duplication of target database RMAN-03015: error occurred in stored script Memory Script RMAN-03009: failure of backup command on ch1 channel at 01/15/2014 12:15:57 ORA-17629: Cannot connect to the remote database server ORA-17627: ORA-01017: invalid username/password; logon denied ORA-17629: Cannot connect to the remote database server RMAN> RMAN>
check and see the differences:
-
How to make a backup of the database with RMAN Oracle Single Instance
People,
Hello. I use the server of Oracle 11 GR 1 material with operating system Oracle Linux 5.10 database.
I understand how to back up the database instance in SQL Server with Windows. But do not really understand how to back up the database instance in Oracle on Linux.
I did it cold and hot backup for the database HRCS90 instance, but both receive the same error message.
Cold backup is below:SQL > startup
ORACLE instance started.Total System Global Area 538677248 bytes
Bytes of size 2146024 fixed
528482584 variable size bytes
4194304 buffers of data bytes
Redo buffers 3854336 bytes
Mounted database.
Open database.
SQL > shutdown immediate
The database is closed.
The database is dismounted.
ORACLE instance stops.
RMAN > backup database;From backup 25 November 13
using the control file of the target instead of recovery catalog database
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the backup command to the 25/11/2013 14:26:52
RMAN-06171: not connected to the target database
RMAN > backup HRCS90RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00558: error occurred during parsing of order entry
RMAN-01009: syntax error: found 'distinctive sign': expected an of: ' archivelog, auxiliary, as, backup backupset, blocks, channel, check, copy, copies, controlfilecopy, cumulative, current, basic data, datafile, datafilecopy, device, diskratio, db_recovery_file_dest, db_file_name_convert, duration, filesperset, for, format, from, full, strength, file, incremental, keep, (, maxsetsize nochecksum, noexclude, nokeep, not, proxy, pool, re-use, recovery, section, skip). ', spfile, skip readonly, setsize, tablespace, tag to validate.
RMAN-01008: the identifier of the AfDB was: HRCS90
RMAN-01007: line 1 column 8 file: entry standard
RMAN > backup database HRCS90RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00558: error occurred during parsing of order entry
RMAN-01009: syntax error: found 'distinctive sign': expected an of: ' archivelog, auxiliary, backupset channel, copy, controlfilecopy, backup, common, base data, data file, datafilecopy, remove, diskratio, db_recovery_file_dest, filesperset, format, force, file, include, keep, (, maxsetsize, noexclude, nokeep, not, pool, more reuse, recovery, section, skip, spfile, pass readonly, setsize, tablespace, tag, to).
RMAN-01008: the identifier of the AfDB was: HRCS90
RMAN-01007: line 1 column 17 file: entry standardWhile the instance of database HRCS90 is starting, I do hot backup by using the same commands and get the same error message with above cold backup.
My question is:
Can any folk tell me specific steps (order by order) to back up a single instance of the database in Oracle with RMAN?
Thank you.Yes, you can restore and recover the backup, but not at the moment. You will only be able to restore and recover at the time of your backup.
For example.
If you take backup (mount point with no mode of journal archive) at 06:00 and your grave database crashes at 21:00, you will be able to restore and recover until 06:00. You will find all the changes made to the database between 06:00 and 21:00.
If you want your database to recover until 9 PM or until a point in time, then you must put your database in log mode archive, and then save the archives.
-
RMAN-05501: abandonment of duplicate target database
Hello
I have a little problem with my duplication of the previous day.
The stupif thing is that I created the day before with this script, first time and after that I decided to recreate it in a different folder
and since then, I get this error at the end of the process.
starting media recovery
Journal archived for thread 1 with sequence 13143 is already on the disc in the file /archives/CMOVP/archivelogs/1_13143_810397891.arc
Journal archived for thread 1 with sequence 13144 is already on the disc in the file /archives/CMOVP/archivelogs/1_13144_810397891.arc
Journal archived for thread 1 with sequence 13145 is already on the disc in the file /archives/CMOVP/archivelogs/1_13145_810397891.arc
Journal archived for thread 1 with sequence 13146 is already on the disc in the file /archives/CMOVP/archivelogs/1_13146_810397891.arc
Archive log file name=/archives/CMOVP/archivelogs/1_13143_810397891.arc thread = 1 sequence = 13143
output channel: prm1
output channel: stby1
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the command duplicate Db at 01/05/2013 23:39:32
RMAN-05501: abandonment of duplicate target database
RMAN-03015: an error has occurred in the script stored memory Script
ORA-00283: cool cancelled due to errors
RMAN-11003: failure in parsing / execution of the SQL statement: alter database recover logfile ' / archives/CMOVP/archivelogs/1_13143_810397891.arc'
ORA-00283: cool cancelled due to errors
ORA-00354: corrupted redo log block header
ORA-00353: journal corruption near block 2048 change 1524092704 time 01/05/2013 22:18:20
ORA-00334: archived log: ' / archives/CMOVP/archivelogs/1_13143_810397891.arc'
I followed all the steps to create the instance of relief, as I said, I've created a first time
What has changed the second time is that I have insert the following parameters in my init.ora
db_file_name_convert = "/ oradata/oradata/cmovelprodco/cmovelprodco ', ' / oradata/oradata/cmovelproddr/cmovelproddr.
LOG_FILE_NAME_CONVERT = "/ oradata/oradata/cmovelprodco/cmovelprodco ', ' / oradata/oradata/cmovelproddr/redolog".
I run the script to duplicate the db:
run
{
allocate channel prm1 type disk;
allocate auxiliary channel stby1 type disk;
DUPLICATE TARGET DATABASE
FOR STANDBY
ACTIVE DATABASE
DORECOVER
NOFILENAMECHECK;
}
But every time I had this type of corruption archivelog
But when I validate the archives (archivelog Validate all) they are [OK]
Clues?
Thxs for your helpokKarol wrote:
To the main SiteSQL > select GROUP #, TYPE, substr (MEMBER, 1, 40) from v$ logfile;
GROUP # TYPE SUBSTR (MEMBER, 1, 40)
---------- ------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------
3 /data1/oracle/CMOVP/redo01g3.rdo online
3 /data2/oracle/CMOVP/redo02g3.rdo online
2 /data2/oracle/CMOVP/redo02g2.rdo online
2 /data1/oracle/CMOVP/redo01g2.rdo online
1 /data1/oracle/CMOVP/redo01g1.rdo online
1 /data2/oracle/CMOVP/redo02g1.rdo online
4 /data1/oracle/CMOVP/Stbyredo01g4.rdo EVE
5 /data2/oracle/CMOVP/Stbyredo01g5.rdo EVE
6 /data1/oracle/CMOVP/Stbyredo01g6.rdo EVE
7 /data2/oracle/CMOVP/Stbyredo01g7.rdo EVEIn secondary Site
1 * select GROUP #, TYPE, substr (MEMBER, 1, 40) in v$ logfile
GROUP # TYPE SUBSTR (MEMBER, 1, 40)
---------- ------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------
/Mcelnetapp/Data1/Oracle/CMOVP/redo01g3.RDO in LINE 3 > I have rename manually
3 /mcelnetapp/data2/oracle/CMOVP/redo02g3.rdo online > renames manually
2 /data2/oracle/CMOVP/redo02g2.rdo online
2 /data1/oracle/CMOVP/redo01g2.rdo online
1 /mcelnetapp/data1/oracle/CMOVP/redo01g1.rdo online > rename manually
1 /mcelnetapp/data2/oracle/CMOVP/redo02g1.rdo online > renames manually
4 /data1/oracle/CMOVP/Stbyredo01g4.rdo EVE
5 /data2/oracle/CMOVP/Stbyredo01g5.rdo EVE
6 /data1/oracle/CMOVP/Stbyredo01g6.rdo EVE
7 /data2/oracle/CMOVP/Stbyredo01g7.rdo EVEThen
SQL> SHUTDOWN IMMEDIATE
Move files:
MV /data1/oracle/CMOVP/redo01g2.rdo /mcelnetapp/data1/oracle/CMOVP/redo01g2.rdo
MV /data2/oracle/CMOVP/redo02g2.rdo /mcelnetapp/data2/oracle/CMOVP/redo02g2.rdoSQL> STARTUP MOUNT SQL> ALTER DATABASE RENAME FILE '/data1/oracle/CMOVP/redo01g2.rdo' to '/mcelnetapp/data1/oracle/CMOVP/redo01g2.rdo'; SQL> ALTER DATABASE RENAME FILE '/data2/oracle/CMOVP/redo02g2.rdo' to '/mcelnetapp/data2/oracle/CMOVP/redo02g2.rdo'; SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
Concerning
Mr. Mahir Quluzade -
duplicated in database: ends with error: rman-06136 ora-01110
OS: Linux REDHAT 5
DB: 11.2.0.3
Source DB backed up using rman full backup incremental level 1 twice and scp all backupsets to auxiliary hosts.
I try to reproduce as follows:
Run {}
data duplicated in TST
UNTIL TIME ' TO_DATE (NOVEMBER 12, 2012 ',' ' HH24:MI:SS JJ/MM/AAAA).
location of backup "/ stage/TST.
NOFILENAMECHECK;
}
Everything worked out to restore all the, and then he proceeded to recover with following error message:
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: '+ DAT/tst/datafile/system.279.799358399 '.
Then he kept to the end with the following errors;
ORACLE auxiliary database error: ORA-19751: could not create the file change tracking
ORA-19750: change the trace file: "+ DAT/prds/changetracking/ctf.906.799250971".
ORA-17502: ksfdcre:4 cannot create the +DAT/prds/changetracking/ctf.906.799250971 file
ORA-15046: ASM '+ DAT/prds/changetracking/ctf.906.799250971' file name is not unique creation as a file
Ignore the error, retry command after only two copies ends
content of Script memory:
{
ALTER clone database open resetlogs;
}
execution of Script memory
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of Db in dual at 14/11/2012 22:26:18
RMAN-05501: abandonment of duplicate target database
RMAN-03015: an error has occurred in the script stored memory Script
RMAN-06136: the auxiliary database ORACLE error: ORA-01194: file 1 needs a recovery more match
ORA-01110: data file 1: '+ DAT/tst/datafile/system.279.799358399 '.
RMAN >
Should I proceed from here?
Thank you.Yes
Here is my document to support:
During replication of the database, Rman error ora-1547, ora-1152, ora-1110 during recovery [274118.1 ID]
Best regards
mseberg
-
Create database pending active using the RMAN Duplicate command
Hello guys,.
I created the database before using the RMAN Duplicate command, but here I am stuck.
Please help me to overcome this >
RMAN > run {}
2 > allocate channel prmy1 type disk;
3 > allocate channel prmy2 type disk;
4 > allocate channel prmy3 type disk;
5 > allocate channel prmy4 type disk;
6 > allocate auxiliary channel stby type disk;
7 > duplicate target database for the eve of the active database
8 > spfile
9 > parameter_value_convert "orcl", "orclstd".
10 > set db_unique_name = "orclstd".
11 > set db_file_name_convert = "/ orcl / ', ' / orclstd / '.
12 > set log_file_name_convert = "/ orcl / ', ' / orclstd / '.
"13 > set control_files="D:\app\employee3\oradata\ORCLSTD\control01.ctl ', 'D:\app\employee3\flash_recovery_area\ORCLSTD\control02.ctl '.
14 > set log_archive_max_processes = '5'
15 > set fal_client = "orclstd."
16 > set fal_server = "orcl".
17 > set diagnostic_dest =: \app\employee3'
18 > set db_recovery_file_dest = a: \app\employee3\flash_recovery_area'
19 > set standby_file_management = 'AUTO '.
"20 > set log_archive_config ='dg_config = (orcl, orclstd)"
21 > set log_archive_dest_2 = 'service = orcl ASYNC valid_for = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = orclstd';
{22 >}
allocated channel: prmy1
channel prmy1: SID = 70 type device = DISK
allocated channel: prmy2
channel prmy2: SID = 135 type device = DISK
allocated channel: prmy3
channel prmy3: SID = 191 type device = DISK
allocated channel: prmy4
channel prmy4: SID = 7 type of device = DISK
allocated canal: stby
channel stby: SID = 129 type device = DISK
From 7 November 12 Db double
content of Script memory:
{
backup that copy reuse
TargetFile "E:\app\RAJKUMAR\product\11.2.0\dbhome_1\DATABASE\PWDorcl.ORA" auxiliary format
"D:\app\employee3\product\11gr2\DATABASE\PWDorclstd.ORA" targetfile
' E:\APP\RAJKUMAR\PRODUCT\11.2.0\DBHOME_1\DATABASE\SPFILEORCL. ORA' auxiliary format
' D:\APP\EMPLOYEE3\PRODUCT\11GR2\DATABASE\SPFILEORCLSTD. ORA';
clone of SQL ' alter system set spfile = "D:\APP\EMPLOYEE3\PRODUCT\11GR2\DATABASE\SPFILEORCLSTD." ORA "«;»
}
execution of Script memory
From backup 7 November 12
Backup finished in 7 November 12
SQL statement: alter system set spfile = "D:\APP\EMPLOYEE3\PRODUCT\11GR2\DATABASE\SPFILEORCLSTD. ORA "
content of Script memory:
{
clone of SQL 'alter system set audit_file_dest =
"E:\app\RAJKUMAR\admin\orclstd\adump" comment =
' ' scope = spfile;
clone of SQL 'alter system set dispatchers =
''(Protocol=TCP) (SERVICE = orclstdXDB) "comment =
' ' scope = spfile;
clone of SQL 'alter system set db_unique_name =
"Orclstd" comment =
' ' scope = spfile;
clone of SQL 'alter system set db_file_name_convert =
"/orcl/", "/orclstd/" comment is
' ' scope = spfile;
clone of SQL 'alter system set log_file_name_convert =
"/orcl/", "/orclstd/" comment is
' ' scope = spfile;
clone of SQL 'alter system set control_files =
"D:\app\employee3\oradata\ORCLSTD\control01.ctl", "D:\app\employee3\flash_recovery_area\ORCLSTD\control02.ctl" comment =
' ' scope = spfile;
clone of SQL 'alter system set log_archive_max_processes =
5 comment =
' ' scope = spfile;
clone of SQL 'alter system set fal_client =
"Orclstd" comment =
' ' scope = spfile;
clone of SQL 'alter system set fal_server =
"Orcl" comment =
' ' scope = spfile;
clone of SQL 'alter system set diagnostic_dest =
"D:\app\employee3" comment =
' ' scope = spfile;
clone of SQL 'alter system set db_recovery_file_dest =
"D:\app\employee3\flash_recovery_area" comment =
' ' scope = spfile;
clone of SQL 'alter system set standby_file_management =
Comment by "AUTO" =
' ' scope = spfile;
clone of SQL 'alter system set log_archive_config =
Comment by "dg_config" (orcl, orclstd) =. =
' ' scope = spfile;
clone of SQL 'alter system set log_archive_dest_2 =
"service = orcl ASYNC = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = orclstd valid_for" comment =
' ' scope = spfile;
clone to stop immediately;
startup nomount clone;
}
execution of Script memory
SQL statement: alter system set audit_file_dest = comment "E:\app\RAJKUMAR\admin\orclstd\adump" = "' scope = spfile
SQL statement: alter system set dispatchers = ''(PROTOCOL=TCP) (SERVICE = orclstdXDB) "comment ="' scope = spfile
SQL statement: alter system set db_unique_name = comment "orclstd" = "' scope = spfile
SQL statement: alter system set db_file_name_convert = "/orcl/", "/orclstd/" comment = "' scope = spfile
SQL statement: alter system set log_file_name_convert = "/orcl/", "/orclstd/" comment = "' scope = spfile
SQL statement: alter system set control_files = "D:\app\employee3\oradata\ORCLSTD\control01.ctl", "D:\app\employee3\flash_recovery_area\ORCLSTD\control
02.CTL "comment ="' scope = spfile
SQL statement: alter system set log_archive_max_processes = 5 = comment "' scope = spfile
SQL statement: alter system set fal_client = comment "orclstd" = "' scope = spfile
SQL statement: alter system set fal_server = comment "orcl" = "' scope = spfile
SQL statement: alter system set diagnostic_dest = comment "D:\app\employee3" = "' scope = spfile
SQL statement: alter system set db_recovery_file_dest = comment "D:\app\employee3\flash_recovery_area" = "' scope = spfile
SQL statement: alter system set standby_file_management = comment "AUTO" = "' scope = spfile
SQL statement: alter system set log_archive_config = "dg_config = (orcl, orclstd)" comment = "' scope = spfile
SQL statement: alter system set log_archive_dest_2 = "service = orcl ASYNC = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = orclstd valid_for" comment = "'s
face = spfile
Instance Oracle to close
connected to the auxiliary database (not started)
Oracle instance started
Total System Global Area 1071333376 bytes
Bytes of size 1375792 fixed
528482768 variable size bytes
Buffers data 536870912 bytes
Redo buffers 4603904 bytes
allocated canal: stby
channel stby: SID = 63 type device = DISK
content of Script memory:
{
backup current controlfile to standby auxiliary copy format ' D:\APP\EMPLOYEE3\ORADATA\ORCLSTD\CONTROL01. CTL';
Restore clone controlfile to ' D:\APP\EMPLOYEE3\FLASH_RECOVERY_AREA\ORCLSTD\CONTROL02. CTL' of
' D:\APP\EMPLOYEE3\ORADATA\ORCLSTD\CONTROL01. CTL';
}
execution of Script memory
From backup 7 November 12
channel prmy1: from data file copy
copy of the control file ensures
name=E:\APP\RAJKUMAR\PRODUCT\11.2.0\DBHOME_1\DATABASE\SNCFORCL output file. ORA tag = RECID = 1 STAMP = 798743550 TAG20121107T171229
channel prmy1: datafile copy complete, duration: 00:00:03
Backup finished in 7 November 12
From restoration to November 7, 12
channel stby: copy of copy of control files
Restoration finished November 7, 12
content of Script memory:
{
SQL clone 'alter database sleep mounting database';
}
execution of Script memory
SQL statement: alter database mount rescue
output channel: prmy1
output channel: prmy2
output channel: prmy3
output channel: prmy4
exit canal: stby
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the command duplicate Db at 07/11/2012 17:12:40
RMAN-05501: abandonment of duplicate target database
RMAN-05001: E:\APP\RAJKUMAR\ORADATA\ORCL\MIGRATION_DATA01 auxiliary file name. DBF conflict with a file used by the target database
RMAN-05001: E:\APP\RAJKUMAR\ORADATA\ORCL\DEMO_INDX01 auxiliary file name. DBF conflict with a file used by the target database
RMAN-05001: E:\APP\RAJKUMAR\ORADATA\ORCL\DEMO_DATA01 auxiliary file name. DBF conflict with a file used by the target database
RMAN-05001: E:\APP\RAJKUMAR\ORADATA\ORCL\USERS01 auxiliary file name. DBF conflict with a file used by the target database
RMAN-05001: E:\APP\RAJKUMAR\ORADATA\ORCL\UNDOTBS01 auxiliary file name. DBF conflict with a file used by the target database
RMAN-05001: E:\APP\RAJKUMAR\ORADATA\ORCL\SYSAUX01 auxiliary file name. DBF conflict with a file used by the target database
RMAN-05001: E:\APP\RAJKUMAR\ORADATA\ORCL\SYSTEM01 auxiliary file name. DBF conflict with a file used by the target database
RMAN >
Thank you
Reverchonuser9192565 wrote:
11> set db_file_name_convert='/orcl/','/orclstd/' 12> set log_file_name_convert='/orcl/','/orclstd/'
RMAN-05001: auxiliary file name E:\APP\RAJKUMAR\ORADATA\ORCL\MIGRATION_DATA01.DBF conflicts with a file used by the target database RMAN-05001: auxiliary file name E:\APP\RAJKUMAR\ORADATA\ORCL\DEMO_INDX01.DBF conflicts with a file used by the target database RMAN-05001: auxiliary file name E:\APP\RAJKUMAR\ORADATA\ORCL\DEMO_DATA01.DBF conflicts with a file used by the target database RMAN-05001: auxiliary file name E:\APP\RAJKUMAR\ORADATA\ORCL\USERS01.DBF conflicts with a file used by the target database RMAN-05001: auxiliary file name E:\APP\RAJKUMAR\ORADATA\ORCL\UNDOTBS01.DBF conflicts with a file used by the target database RMAN-05001: auxiliary file name E:\APP\RAJKUMAR\ORADATA\ORCL\SYSAUX01.DBF conflicts with a file used by the target database RMAN-05001: auxiliary file name E:\APP\RAJKUMAR\ORADATA\ORCL\SYSTEM01.DBF conflicts with a file used by the target database
The strings that you entered in your file name conversion settings does not match where actually your data files. If the string does not match the names of files, there is no names of files to convert. Because you're on windows, how about something like this?
set db_file_name_convert='\ORCL\','\ORCLSTD\' set log_file_name_convert='\ORCL\','\ORCLSTD\'
Hope that helps...
Patrik
-
Error during the registration of RMAN from the primary to the catalog database
Hi all
Here we have an environment with db1 (db_unique_name) 10g dataguard as primary and db2 (db_unique_name) Physics of the standby database. Also, we have configured a schema on a third computer as a database of catalog using following steps.
The measures taken in the catalog database (appsdb):
SQL > create tablespace rmancatlog_tbs datafile ' / u01/app/oracle/oradata/NEW/rman_catalog.dbf' size 500M autoextend extent management local segment space management auto;
SQL > create user rman identified by oracle
2 default tablespace rmancatlog_tbs
3 unlimited quota on rmancatlog_tbs
4;
SQL > GRANT connect, resource, recovery_catalog_owner to rman;
RMAN > create catalog.
Recovery catalog created
AMT added entries of catalog in primary and standby database. Then the primary database, we have tried to register for the catalog database. It shows that it registers. But all queries later rman throws the error. Here are the steps and the error:
[oracle@db1 ~] $ rman target sys/oracle catalog rman/oracle@appsdb
Recovery Manager: release 10.2.0.3.0 - Production on Mon Aug 13 21:39:32 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: NIOS (DBID = 1589015669)
connected to the recovery catalog database
RMAN > register database;
registered in the recovery catalog database
RMAN > outline report;
Report of the database schema
List of permanent data files
===========================
Size (MB) Tablespace RB segs Datafile file name
----
-------------------- ------------------------
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of command report to the 08/10/2012 06:16:06
[RMAN-00600: internal error, arguments [8201] [] [] []]
Can anyone help on this error?
Thanks in advance.Hello;
Then, you have to re-create the controlfile to the target database. (Not funny)
I like to use the method of trace file myself.
How to recreate a Controlfile [ID 735106.1]
Best regards
mseberg
-
RMAN duplicate for standby database failed
Hello
I have try several times and for one reason, the auxialiary database finished just as it goes up the auxiliary instance.
Target database in double check to stanby with the following error. Primary and auxiliary bodies
Run 11.2.0.2 and are on the same platform of Solaris/patches. Everyone ran in that issue and solve it?
RMAN target / catalog user@catalog
startup nomount
Run {}
allocate auxiliary channel tp1 type sbt_tape;
allocate auxiliary channel tp2 type sbt_tape;
target database double standby nofilenamecheck;
}
:
:
:
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00601: fatal error in the Recovery Manager
RMAN-03004: fatal error when executing command
RMAN-04006: auxiliary database error: ORA-01092: ORACLE terminated instance. Disconnection forced
RMAN-03002: failure of the command duplicate Db at the 15:28:52 01/02/2012
RMAN-05501: abandonment of duplicate target database
RMAN-03015: an error has occurred in the script stored memory Script
RMAN-03009: failure of switch control on channel clone_default at the 15:28:52 01/02/2012
ORA-03113: end of file on communication channelYou have error ORA-7445. I would ask allows you to check the MOS document that said Mseberg.
Also, do not have the DATA01 on the standby database if your wait is a database not ASM. But you must give the path in the db_file_name_convert and log_file_name_convert on the eve pfile/spfile database
1 question: is your watch set up database to be on ASM or not?
See document MOS * no not guide to create physical standby on Normal file system for ASM primary with RMAN [838828.1 ID] * If your principal is on ASM and intelligence on the file system
See document MOS * Step By Step Guide on creating physical standby with RMAN duplicate in ASM Filesystem for primary ASM [837102.1 ID] * If your primary and the day before are on ASM
Published by: srp on February 3, 2012 03:49
-
RMAN-06004: error recovery catalog database ORACLE
Hi all
I'm new to the RMAN module, please help me solve the error below.
Please do the neeful.Recovery Manager: Release 9.2.0.6.0 - Production Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved. connected to target database: DB96 (DBID=2450380394) connected to recovery catalog database RMAN> CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '\\10.101.22.80\Backup\Rman\Prologs\DB96/DB96_FULL_%T_%U.rman' MAXPIECESIZE 4 G; 2> CONFIGURE CONTROLFILE AUTOBACKUP ON; 3> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '\\10.101.22.80\Backup\Rman\Prologs\DB96/DB96_ctlfile_%F'; 4> CONFIGURE RETENTION POLICY TO REDUNDANCY 1; 5> shutdown immediate; 6> startup mount; 7> backup database; 8> CROSSCHECK BACKUP; 9> DELETE NOPROMPT OBSOLETE; 10> alter database open; 11> list backup summary; 12> exit; RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of configure command at 06/20/2011 11:31:55 RMAN-06004: ORACLE error from recovery catalog database: RMAN-20001: target database not found in recovery catalog Recovery Manager complete.
Kind regards
JameJame,
connect to retrieve catalog owner user (RMAN) using SQLPLUS on the catalog database and run the following query.
SQL> select * from rc_database;
Another thing is, check, if your catalog is accidentally created in the target database or you sure sound in a separate database (possibly on a separate server).
Thank you
RANAPublished by: RANA June 20, 2011 17:08
Published by: RANA June 20, 2011 17:41
-
RMAN-04006: auxiliary database error.
Hi all
Get this error when you try to do an RMAN Duplicate command.
Well, first of all, just try to connect to THE DB fails with this error:
ORA-12528: TNS:listener: all appropriate instances are blocking new connections
(1) target to the db is in State of EDITING.
(2) the DB versions are 11.2.0.2
(3) file listener is supported by the GRID.
I looked at a few notes of ML, specially
Connection to the use of the auxiliary string failed with ORA-12528 [419440.1 ID]
also this:
ORA-12528: TNS:listener: all appropriate instances are blocking new connections [301099.1 ID]
doesn't help at all...
any ideas?RMAN-03002: failure of Db in dual at 13/06/2011 13:25:01
RMAN-06174: not connected to the auxiliary database
RMAN-03015: an error has occurred in the script stored memory Script
RMAN-04006: auxiliary database error: ORA-12514: TNS:listener is not currently of service requested in connect descriptorWell... DATABASE TARGET (script running);
I always offer to run DUPLICATE ONLY auxiliary instance. No source/target server.
Instance Oracle to close
output channel: prmy1Because if you connect an auxiliary instance of another remotly server, for the most part, it fails each time as oracle bounces to THE databases (because of internal scripts).
So I highly recommend to run the script from the auxiliary server no target.as
$ rman target sys/***@prod auxiliary.
RMAN > duplicate target database to "to the";
Thank you.
Maybe you are looking for
-
HP DESKJET ALL-IN-ONE J410: NEED A DRIVER COMPATIBLE WITH WINDOWS 8
Hello, I found some difficulty in finding the right driver for my ALL-IN-ONE HP DESKJET J410 series and the link you've given does not at all. I don't know where I can get it. Please provide me with the correct link. Thank you
-
Were cut during a relocation speaker wire and connectors HCD-GX9900 lost and I cannot locate a source.
-
HP C4280 print alternate lines of light/dark of a document
New installation cartridge ink but continues to print alternating lines
-
Vista Home Premium does not see my HDV camera
I recently bought a Sony Z5U HD camera and tried to connect to my Vista Premium 64 bit laptop. Windows don't "bong" and recognize that anything that either is connected. If I plug an older camera, it works fine as it should, so I don't know that the
-
Need to change the administrator password
Hi I have a hp laptop with fingerprint digital digital persona. I have an administrator account and a standard user account. I guess I forgot my password. IM able to login as an administrator with my mark, but I don't remember the actual password. Is