Size of control file
Hi,
How can I define the size of control files ?
I will create my DB with a script and before in init.ora file I will define location and name of control files but how about the size , I want them 50Mb only for each.
Many thanks.
Message was edited by:
user522961
Hi,
The size is controled by the following parameters.
control_file_record_keep_time
maxlogfiles
maxlogmembers
maxloghistory
maxinstances
look at this link for more info.
http://www.adp-gmbh.ch/ora/concepts/controlfiles.html
Thanks
Similar Messages
-
Hi Gurus,
Please explain me that what is Control file and what was the purpose of it in SAP Oracle DataBase.
Thanks.Hi Kalyan
<b>What Is a Control File?</b>
Every Oracle Database has a control file, which is a small binary file that records the physical structure of the database. The control file includes:
The database name
Names and locations of associated datafiles and redo log files
The timestamp of the database creation
The current log sequence number
Checkpoint information
The control file must be available for writing by the Oracle Database server whenever the database is open. Without the control file, the database cannot be mounted and recovery is difficult.
The control file of an Oracle Database is created at the same time as the database. By default, at least one copy of the control file is created during database creation. On some operating systems the default is to create multiple copies. You should create two or more copies of the control file during database creation. You can also create control files later, if you lose control files or want to change particular settings in the control files.
<b>Guidelines for Control Files</b>
This describes guidelines you can use to manage the control files for a database, and contains the following topics:
Provide Filenames for the Control Files
Multiplex Control Files on Different Disks
Back Up Control Files
Manage the Size of Control Files
Role of Control File will remain the same even when you use Oracle with SAP. Just there will be some more entries in the file.
Refer the link below as well:
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14231/control.htm#i1006143
Hope this should clear you doubt.
Regards
Sumit Jain
[Reward with points if useful]
Message was edited by:
Sumit Jain -
The file size of selected file in input file control is shown as 0 for multiple file selection in Safari 5.1. If you select single file, then it is able to return file size correctly. However, if you select multiple files, then the file size of each of the selected file is always returned as 0 from javascript. This works correctly in Safari 4.0 but it does not work in Safari 5.1.
How do I get the correct file size in Safari 5.1 ?If you want to post (or send me) a link to the lrcat file, I'd take a look at it for you, and give you a break-down what's consuming all the bytes. But it might be fun to learn how to do that yourself (e.g. using SQL). I use SQLiteSpy, but other people have their favorites.. (or you can use a command-line client if you prefer..). One way: just run "drop table "{table-name}" on each table then look at filesize (do this to a copy, not the real thing).
Anyway, it's hard to imagine keywords and captions etc. taking much of the space, since even if you had 1000 10-character words of text metadata per photo average that still only adds up to 117MB, which isn't a substantial portion of that 8G you're seeing occupied.
Anyway, if you've painted the heck out of most of them and not cleared dev history, that'll do it - that's where I'd put my money too...
One thing to consider to keep file-size down:
===================================
* After reaching a milestone in your editing, take a snapshot then clear edit history, or the top part of it anyway (e.g. leave the import step), using a preset like:
Clear Edit History.lrtemplate
s = {
id = "E36E8CB3-B52B-41AC-8FA9-1989FAFD5223",
internalName = "No Edit",
title = "Clear Edit History",
type = "Develop",
value = {
settings = {
NoEdit = true,
uuid = "34402820-B470-4D5B-9369-0502F2176B7F",
version = 0,
(that's my most frequently used preset, by far ;-})
PS - I've written a plugin called DevHistoryEditor, which can auto-consolidate steps and reduce catalog size - it's a bit cumbersome to use a.t.m. but in case you're interested...
Rob -
Measuring thr control file size
Dear Friends ,
I know that , RMAN records are kept on the control file when I dont use recovery Catalog .
Barring this , RMAN also keep database related informations . In this case my question is ,
Is the control file size ups and down ? How can I measure or manage the size of the control file .
I m using Oracle 10g , here in OEM I cannot find anything to see or manage the control file size .
Plz help me ... ..Hi,
Change Maxdatafiles, Maxlogfiles after Creating Database:
1. Dump a trace of the controlfile.
Use SQL*Plus (or Server Manager) and enter:
SQL> alter database backup controlfile to trace ;
2. Modify the created trace file (located in the user_dump_dest directory):
a) remove from the first line to the line before "STARTUP NOMOUNT"
b) remove line "ALTER DATABASE OPEN" to the end of the file
c) change value of maxdatafiles, maxlogfiles and other parameters as desired
d) rename the file to something .sql (such as cntl.sql)
3. Shutdown the database.
4. Backup the database.
5. Run SQL*Plus (or Server Manager) and do the following:
SQL> connect / as sysdba
SQL> @cntl.sql (The SQL script that you created in step 2)
SQL> alter database open noresetlogs ;
Note:
Beginning in Oracle8, when you issue CREATE DATABASE or CREATE CONTROLFILE
statements, the MAXDATAFILES parameter specifies an initial size of the datafile
portion of the control file. Later, if you add a file whose number exceeds
MAXDATAFILES but is less than or equal to the value specified by the DB_FILES
initialization parameter, the control file automatically expands to allow the
datafile portion to accommodate more files. You will not need to recreate the
controlfile in this case.
Ps :- If your question is Answered mark the Appropriate Response / Reply
- Pavan Kumar N -
Error while creating control file
hi
i am getting following error while creating controll file
QL> shutdown
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 629145600 bytes
Fixed Size 1250548 bytes
Variable Size 171969292 bytes
Database Buffers 452984832 bytes
Redo Buffers 2940928 bytes
SQL> @c:\study\rose\c.sql
SP2-0042: unknown command "DATAFILE" - rest of line ignored.
SP2-0734: unknown command beginning "'C:\ORACLE..." - rest of line ignored.
SP2-0734: unknown command beginning "'C:\ORACLE..." - rest of line ignored.
SP2-0734: unknown command beginning "CHARACTER ..." - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
1 CREATE CONTROLFILE SET DATABASE "ROSE" RESETLOGS froce logging NOARCHIVELOG
2 MAXLOGFILES 32
3 MAXLOGMEMBERS 2
4 MAXDATAFILES 32
5 MAXINSTANCES 16
6 MAXLOGHISTORY 1752
7 LOGFILE
8 GROUP 1 'C:\oracle\product\10.2.0\oradata\rose\LOG1ROSE.ORA' SIZE 50M,
9 GROUP 2 'C:\oracle\product\10.2.0\oradata\rose\LOG2ROSE.ORA' SIZE 50M,
10 GROUP 3 'C:\oracle\product\10.2.0\oradata\rose\LOG06.LOG' SIZE 25M,
11* GROUP 4 'C:\oracle\product\10.2.0\oradata\rose\LOG07.LOG' SIZE 25M
SQL>CHETAN YADAV wrote:
hi
i am getting following error while creating controll file
QL> shutdown
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 629145600 bytes
Fixed Size 1250548 bytes
Variable Size 171969292 bytes
Database Buffers 452984832 bytes
Redo Buffers 2940928 bytes
SQL> @c:\study\rose\c.sqlWe can't debug what we can't see. And what we can't see is the contents of "c:\study\rose\c.sql".
SP2-0042: unknown command "DATAFILE" - rest of line ignored.
SP2-0734: unknown command beginning "'C:\ORACLE..." - rest of line ignored.
SP2-0734: unknown command beginning "'C:\ORACLE..." - rest of line ignored.
SP2-0734: unknown command beginning "CHARACTER ..." - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
1 CREATE CONTROLFILE SET DATABASE "ROSE" RESETLOGS froce logging NOARCHIVELOG
2 MAXLOGFILES 32
3 MAXLOGMEMBERS 2
4 MAXDATAFILES 32
5 MAXINSTANCES 16
6 MAXLOGHISTORY 1752
7 LOGFILE
8 GROUP 1 'C:\oracle\product\10.2.0\oradata\rose\LOG1ROSE.ORA' SIZE 50M,
9 GROUP 2 'C:\oracle\product\10.2.0\oradata\rose\LOG2ROSE.ORA' SIZE 50M,
10 GROUP 3 'C:\oracle\product\10.2.0\oradata\rose\LOG06.LOG' SIZE 25M,
11* GROUP 4 'C:\oracle\product\10.2.0\oradata\rose\LOG07.LOG' SIZE 25M
SQL> -
Creation of control file failed
Hi all
when i am trying to create control file my terminal is hanging on following stage
SQL> @/u02/ORACLE/orcldb/9.2.0/dbs/contrl.sql
ORACLE instance started.
Total System Global Area 581506668 bytes
Fixed Size 452204 bytes
Variable Size 402653184 bytes
Database Buffers 167772160 bytes
Redo Buffers 10629120 bytes
54
and in alert log file no error are givenHi
Thanks for your reply
i am pasting whole sql file here please check it and tell me if any error are there ?
STARTUP NOMOUNT
CREATE CONTROLFILE SET DATABASE "ORCL" NORESETLOGS ARCHIVELOG
-- SET STANDBY TO MAXIMIZE PERFORMANCE
MAXLOGFILES 32
MAXLOGMEMBERS 5
MAXDATAFILES 512
MAXINSTANCES 8
MAXLOGHISTORY 7260
LOGFILE
GROUP 1 (
'/u02/ORACLE/orcldata/log01a.dbf',
'/u02/ORACLE/orcldata/log01b.dbf'
) SIZE 10M,
GROUP 2 (
'/u02/ORACLE/orcldata/log02a.dbf',
'/u02/ORACLE/orcldata/log02b.dbf'
) SIZE 10M
-- STANDBY LOGFILE
DATAFILE
'/u02/ORACLE/orcldata/system01.dbf',
'/u02/ORACLE/orcldata/system02.dbf',
'/u02/ORACLE/orcldata/system03.dbf',
'/u02/ORACLE/orcldata/system04.dbf',
'/u02/ORACLE/orcldata/system05.dbf',
'/u02/ORACLE/orcldata/ctxd01.dbf',
'/u02/ORACLE/orcldata/owad01.dbf',
'/u02/ORACLE/orcldata/a_queue02.dbf',
'/u02/ORACLE/orcldata/odm.dbf',
'/u02/ORACLE/orcldata/olap.dbf',
'/u02/ORACLE/orcldata/system10.dbf',
'/u02/ORACLE/orcldata/system06.dbf',
'/u02/ORACLE/orcldata/portal01.dbf',
'/u02/ORACLE/orcldata/system07.dbf',
'/u02/ORACLE/orcldata/system09.dbf',
'/u02/ORACLE/orcldata/system08.dbf',
'/u02/ORACLE/orcldata/system11.dbf',
'/u02/ORACLE/orcldata/undo01.dbf',
'/u02/ORACLE/orcldata/a_txn_data01.dbf',
'/u02/ORACLE/orcldata/a_txn_ind01.dbf',
'/u02/ORACLE/orcldata/a_ref01.dbf',
'/u02/ORACLE/orcldata/a_int01.dbf',
'/u02/ORACLE/orcldata/a_summ01.dbf',
'/u02/ORACLE/orcldata/a_nolog01.dbf',
'/u02/ORACLE/orcldata/a_archive01.dbf',
'/u02/ORACLE/orcldata/a_queue01.dbf',
'/u02/ORACLE/orcldata/a_media01.dbf',
'/u02/ORACLE/orcldata/a_txn_data02.dbf',
'/u02/ORACLE/orcldata/a_txn_data03.dbf',
'/u02/ORACLE/orcldata/a_txn_ind02.dbf',
'/u02/ORACLE/orcldata/a_txn_ind03.dbf',
'/u02/ORACLE/orcldata/a_txn_ind04.dbf',
'/u02/ORACLE/orcldata/a_txn_ind05.dbf',
'/u02/ORACLE/orcldata/a_ref02.dbf'
CHARACTER SET US7ASCII -
Hi All,
11.2.0.1 on AIX 7.1 and Level 0 happens on every SATURDAY and L1 backup run every day.
We are using following script for level0 RMAN backup:
RUN {
SHOW ALL;
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 4;
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
ALLOCATE CHANNEL ch1 TYPE DISK;
ALLOCATE CHANNEL ch2 TYPE DISK;
ALLOCATE CHANNEL ch3 TYPE DISK;
ALLOCATE CHANNEL ch4 TYPE DISK;
BACKUP FORMAT '/oraclebackup/HFM11PROD/DF_L0_%d_%D%M%Y_%u_%s_%p' INCREMENTAL LEVEL 0 AS COMPRESSED BACKUPSET DATABASE TAG='LEVEL0';
BACKUP FORMAT '/oraclebackup/HFM11PROD/ARC_L0_%d_%D%M%Y_%u_%s_%p' ARCHIVELOG ALL NOT BACKED UP 2 TIMES TAG='LEVEL0';
BACKUP FORMAT '/oraclebackup/HFM11PROD/CF_L0_%d_%D%M%Y_%u_%s_%p' CURRENT CONTROLFILE TAG='LEVEL0';
BACKUP FORMAT '/oraclebackup/HFM11PROD/SP_L0_%d_%D%M%Y_%u_%s_%p' SPFILE TAG='LEVEL0';
CROSSCHECK ARCHIVELOG ALL;
DELETE NOPROMPT OBSOLETE;
RELEASE CHANNEL ch1;
RELEASE CHANNEL ch2;
RELEASE CHANNEL ch3;
RELEASE CHANNEL ch4;
}Now backup logs shows that we have backup of control file in two backup pieces : One implicitly in a backup piece DF_L0_HFM11PRD_10112012_l8npv5b6_13992_1
and other one is explicitly in CF_L0_HFM11PRD_10112012_lhnpv62e_14001_1 .
RMAN> RUN {
2> SHOW ALL;
3> CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 4;
4> CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
5> ALLOCATE CHANNEL ch1 TYPE DISK;
6> ALLOCATE CHANNEL ch2 TYPE DISK;
7> ALLOCATE CHANNEL ch3 TYPE DISK;
8> ALLOCATE CHANNEL ch4 TYPE DISK;
9> BACKUP FORMAT '/oraclebackup/HFM11PROD/DF_L0_%d_%D%M%Y_%u_%s_%p' INCREMENTAL LEVEL 0 AS COMPRESSED BACKUPSET DATABASE TAG='LEVEL0';
10> BACKUP FORMAT '/oraclebackup/HFM11PROD/ARC_L0_%d_%D%M%Y_%u_%s_%p' ARCHIVELOG ALL NOT BACKED UP 2 TIMES TAG='LEVEL0';
11> BACKUP FORMAT '/oraclebackup/HFM11PROD/CF_L0_%d_%D%M%Y_%u_%s_%p' CURRENT CONTROLFILE TAG='LEVEL0';
12> BACKUP FORMAT '/oraclebackup/HFM11PROD/SP_L0_%d_%D%M%Y_%u_%s_%p' SPFILE TAG='LEVEL0';
13> CROSSCHECK ARCHIVELOG ALL;
14> DELETE NOPROMPT OBSOLETE;
15> RELEASE CHANNEL ch1;
16> RELEASE CHANNEL ch2;
17> RELEASE CHANNEL ch3;
18> RELEASE CHANNEL ch4;
19> }
RMAN configuration parameters for database with db_unique_name HFM11PRD are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 4;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/orahyp_p/product/11.2/dbs/snapcf_HFM11PRD.f'; # default
old RMAN configuration parameters:
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 4;
new RMAN configuration parameters:
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 4;
new RMAN configuration parameters are successfully stored
starting full resync of recovery catalog
full resync complete
old RMAN configuration parameters:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
new RMAN configuration parameters:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
new RMAN configuration parameters are successfully stored
starting full resync of recovery catalog
full resync complete
allocated channel: ch1
channel ch1: SID=1210 device type=DISK
allocated channel: ch2
channel ch2: SID=1477 device type=DISK
allocated channel: ch3
channel ch3: SID=66 device type=DISK
allocated channel: ch4
channel ch4: SID=1156 device type=DISK
Starting backup at 10-NOV-12
channel ch1: starting compressed incremental level 0 datafile backup set
channel ch1: specifying datafile(s) in backup set
input datafile file number=00001 name=/u04/oradata/HFM11PRD/system01.dbf
input datafile file number=00008 name=/u04/oradata/HFM11PRD/EPM_HFM4.DBF
input datafile file number=00012 name=/u04/oradata/HFM11PRD/EPM_HFM8.DBF
input datafile file number=00017 name=/u04/oradata/HFM11PRD/EPM_HFM12.DBF
input datafile file number=00004 name=/u04/oradata/HFM11PRD/EPM_HSS1.DBF
input datafile file number=00020 name=/u04/oradata/HFM11PRD/EPM_HFM3.DBF
channel ch1: starting piece 1 at 10-NOV-12
channel ch2: starting compressed incremental level 0 datafile backup set
channel ch2: specifying datafile(s) in backup set
input datafile file number=00003 name=/u04/oradata/HFM11PRD/undots01.dbf
input datafile file number=00009 name=/u04/oradata/HFM11PRD/EPM_HFM5.DBF
input datafile file number=00013 name=/u04/oradata/HFM11PRD/EPM_HFM9.DBF
input datafile file number=00018 name=/u04/oradata/HFM11PRD/EPM_HFM13.DBF
input datafile file number=00005 name=/u04/oradata/HFM11PRD/EPM_BI1.DBF
input datafile file number=00021 name=/u04/oradata/HFM11PRD/EPM_HFM15.DBF
channel ch2: starting piece 1 at 10-NOV-12
channel ch3: starting compressed incremental level 0 datafile backup set
channel ch3: specifying datafile(s) in backup set
input datafile file number=00007 name=/u04/oradata/HFM11PRD/EPM_HFM2.DBF
input datafile file number=00011 name=/u04/oradata/HFM11PRD/EPM_HFM7.DBF
input datafile file number=00016 name=/u04/oradata/HFM11PRD/EPM_HFM11.DBF
input datafile file number=00002 name=/u04/oradata/HFM11PRD/sysaux01.dbf
input datafile file number=00022 name=/u04/oradata/HFM11PRD/EPM_HSS_new1.DBF
channel ch3: starting piece 1 at 10-NOV-12
channel ch4: starting compressed incremental level 0 datafile backup set
channel ch4: specifying datafile(s) in backup set
input datafile file number=00006 name=/u04/oradata/HFM11PRD/EPM_HFM1.DBF
input datafile file number=00010 name=/u04/oradata/HFM11PRD/EPM_HFM6.DBF
input datafile file number=00015 name=/u04/oradata/HFM11PRD/EPM_HFM10.DBF
input datafile file number=00019 name=/u04/oradata/HFM11PRD/EPM_HFM14.DBF
input datafile file number=00014 name=/u04/oradata/HFM11PRD/userdata01.dbf
channel ch4: starting piece 1 at 10-NOV-12
channel ch2: finished piece 1 at 10-NOV-12
_*piece handle=/oraclebackup/HFM11PROD/DF_L0_HFM11PRD_10112012_l8npv5b6_13992_1 tag=LEVEL0 comment=NONE*_
channel ch2: backup set complete, elapsed time: 00:10:46
channel ch2: starting compressed incremental level 0 datafile backup set
channel ch2: specifying datafile(s) in backup set
_*including current control file in backup set*channel ch2: starting piece 1 at 10-NOV-12_
channel ch2: finished piece 1 at 10-NOV-12
piece handle=/oraclebackup/HFM11PROD/DF_L0_HFM11PRD_10112012_lbnpv5vc_13995_1 tag=LEVEL0 comment=NONE
channel ch2: backup set complete, elapsed time: 00:00:01
channel ch2: starting compressed incremental level 0 datafile backup set
channel ch2: specifying datafile(s) in backup set
including current SPFILE in backup set
channel ch2: starting piece 1 at 10-NOV-12
channel ch2: finished piece 1 at 10-NOV-12
piece handle=/oraclebackup/HFM11PROD/DF_L0_HFM11PRD_10112012_lcnpv5ve_13996_1 tag=LEVEL0 comment=NONE
channel ch2: backup set complete, elapsed time: 00:00:01
channel ch1: finished piece 1 at 10-NOV-12
piece handle=/oraclebackup/HFM11PROD/DF_L0_HFM11PRD_10112012_l7npv5b6_13991_1 tag=LEVEL0 comment=NONE
channel ch1: backup set complete, elapsed time: 00:11:03
channel ch4: finished piece 1 at 10-NOV-12
piece handle=/oraclebackup/HFM11PROD/DF_L0_HFM11PRD_10112012_lanpv5b7_13994_1 tag=LEVEL0 comment=NONE
channel ch4: backup set complete, elapsed time: 00:11:32
channel ch3: finished piece 1 at 10-NOV-12
piece handle=/oraclebackup/HFM11PROD/DF_L0_HFM11PRD_10112012_l9npv5b6_13993_1 tag=LEVEL0 comment=NONE
channel ch3: backup set complete, elapsed time: 00:11:52
Finished backup at 10-NOV-12
Starting backup at 10-NOV-12
current log archived
channel ch1: starting compressed archived log backup set
channel ch1: specifying archived log(s) in backup set
input archived log thread=1 sequence=40007 RECID=40001 STAMP=798971664
input archived log thread=1 sequence=40008 RECID=40002 STAMP=798972711
input archived log thread=1 sequence=40009 RECID=40003 STAMP=798973470
input archived log thread=1 sequence=40010 RECID=40004 STAMP=798974835
input archived log thread=1 sequence=40011 RECID=40005 STAMP=798975943
channel ch1: starting piece 1 at 10-NOV-12
channel ch2: starting compressed archived log backup set
channel ch2: specifying archived log(s) in backup set
input archived log thread=1 sequence=40012 RECID=40006 STAMP=798976804
input archived log thread=1 sequence=40013 RECID=40007 STAMP=798977866
input archived log thread=1 sequence=40014 RECID=40008 STAMP=798978754
input archived log thread=1 sequence=40015 RECID=40009 STAMP=798980083
input archived log thread=1 sequence=40016 RECID=40010 STAMP=798981194
channel ch2: starting piece 1 at 10-NOV-12
channel ch3: starting compressed archived log backup set
channel ch3: specifying archived log(s) in backup set
input archived log thread=1 sequence=40017 RECID=40011 STAMP=798982283
input archived log thread=1 sequence=40018 RECID=40012 STAMP=798983171
input archived log thread=1 sequence=40019 RECID=40013 STAMP=798984077
input archived log thread=1 sequence=40020 RECID=40014 STAMP=798985146
input archived log thread=1 sequence=40021 RECID=40015 STAMP=798985212
channel ch3: starting piece 1 at 10-NOV-12
channel ch4: starting compressed archived log backup set
channel ch4: specifying archived log(s) in backup set
input archived log thread=1 sequence=40022 RECID=40016 STAMP=798985214
input archived log thread=1 sequence=40023 RECID=40017 STAMP=798985992
input archived log thread=1 sequence=40024 RECID=40018 STAMP=798987561
input archived log thread=1 sequence=40025 RECID=40019 STAMP=798988338
channel ch4: starting piece 1 at 10-NOV-12
channel ch4: finished piece 1 at 10-NOV-12
piece handle=/oraclebackup/HFM11PROD/ARC_L0_HFM11PRD_10112012_lgnpv61k_14000_1 tag=LEVEL0 comment=NONE
channel ch4: backup set complete, elapsed time: 00:00:15
channel ch1: finished piece 1 at 10-NOV-12
piece handle=/oraclebackup/HFM11PROD/ARC_L0_HFM11PRD_10112012_ldnpv61j_13997_1 tag=LEVEL0 comment=NONE
channel ch1: backup set complete, elapsed time: 00:00:26
channel ch2: finished piece 1 at 10-NOV-12
piece handle=/oraclebackup/HFM11PROD/ARC_L0_HFM11PRD_10112012_lenpv61j_13998_1 tag=LEVEL0 comment=NONE
channel ch2: backup set complete, elapsed time: 00:00:26
channel ch3: finished piece 1 at 10-NOV-12
piece handle=/oraclebackup/HFM11PROD/ARC_L0_HFM11PRD_10112012_lfnpv61j_13999_1 tag=LEVEL0 comment=NONE
channel ch3: backup set complete, elapsed time: 00:00:25
Finished backup at 10-NOV-12
Starting backup at 10-NOV-12
channel ch1: starting compressed full datafile backup set
channel ch1: specifying datafile(s) in backup set
_*including current control file in backup set*_
channel ch1: starting piece 1 at 10-NOV-12
channel ch1: finished piece 1 at 10-NOV-12
_*piece handle=/oraclebackup/HFM11PROD/CF_L0_HFM11PRD_10112012_lhnpv62e_14001_1 tag=LEVEL0 comment=NONE*_channel ch1: backup set complete, elapsed time: 00:00:01
Finished backup at 10-NOV-12
Starting backup at 10-NOV-12
channel ch1: starting compressed full datafile backup set
channel ch1: specifying datafile(s) in backup set
including current SPFILE in backup set
channel ch1: starting piece 1 at 10-NOV-12
channel ch1: finished piece 1 at 10-NOV-12
piece handle=/oraclebackup/HFM11PROD/SP_L0_HFM11PRD_10112012_linpv62i_14002_1 tag=LEVEL0 comment=NONE
channel ch1: backup set complete, elapsed time: 00:00:01
Finished backup at 10-NOV-12Following is the script of Leve 1 RMAN backup.
RUN {
SHOW ALL;
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 4;
ALLOCATE CHANNEL ch1 TYPE DISK;
ALLOCATE CHANNEL ch2 TYPE DISK;
ALLOCATE CHANNEL ch3 TYPE DISK;
ALLOCATE CHANNEL ch4 TYPE DISK;
BACKUP FORMAT '/oraclebackup/HFM11PROD/DF_L1_%d_%D%M%Y_%u_%s_%p' INCREMENTAL LEVEL 1 AS COMPRESSED BACKUPSET DATABASE TAG='LEVEL1';
BACKUP FORMAT '/oraclebackup/HFM11PROD/ARC_L1_%d_%D%M%Y_%u_%s_%p' ARCHIVELOG ALL NOT BACKED UP 2 TIMES TAG='LEVEL1';
CROSSCHECK ARCHIVELOG ALL;
DELETE NOPROMPT OBSOLETE;
RELEASE CHANNEL ch1;
RELEASE CHANNEL ch2;
RELEASE CHANNEL ch3;
RELEASE CHANNEL ch4;
}Following is the log from Level 1 backup which shows that it has marked the backup of control file in backup piece CF_L0_HFM11PRD_10112012_lhnpv62e_14001_1 as obsolete and deleted.
RMAN> RUN {
2> SHOW ALL;
3> CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 4;
4> ALLOCATE CHANNEL ch1 TYPE DISK;
5> ALLOCATE CHANNEL ch2 TYPE DISK;
6> ALLOCATE CHANNEL ch3 TYPE DISK;
7> ALLOCATE CHANNEL ch4 TYPE DISK;
8> BACKUP FORMAT '/oraclebackup/HFM11PROD/DF_L1_%d_%D%M%Y_%u_%s_%p' INCREMENTAL LEVEL 1 AS COMPRESSED BACKUPSET DATABASE TAG='LEVEL1';
9> BACKUP FORMAT '/oraclebackup/HFM11PROD/ARC_L1_%d_%D%M%Y_%u_%s_%p' ARCHIVELOG ALL NOT BACKED UP 2 TIMES TAG='LEVEL1';
10> CROSSCHECK ARCHIVELOG ALL;
11> DELETE NOPROMPT OBSOLETE;
12> RELEASE CHANNEL ch1;
13> RELEASE CHANNEL ch2;
14> RELEASE CHANNEL ch3;
15> RELEASE CHANNEL ch4;
16> }
RMAN configuration parameters for database with db_unique_name HFM11PRD are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 4;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/orahyp_p/product/11.2/dbs/snapcf_HFM11PRD.f'; # default
old RMAN configuration parameters:
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 4;
new RMAN configuration parameters:
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 4;
new RMAN configuration parameters are successfully stored
starting full resync of recovery catalog
full resync complete
allocated channel: ch1
channel ch1: SID=1718 device type=DISK
allocated channel: ch2
channel ch2: SID=1499 device type=DISK
allocated channel: ch3
channel ch3: SID=119 device type=DISK
allocated channel: ch4
channel ch4: SID=1166 device type=DISK
Starting backup at 12-NOV-12
channel ch1: starting compressed incremental level 1 datafile backup set
channel ch1: specifying datafile(s) in backup set
input datafile file number=00001 name=/u04/oradata/HFM11PRD/system01.dbf
input datafile file number=00008 name=/u04/oradata/HFM11PRD/EPM_HFM4.DBF
input datafile file number=00012 name=/u04/oradata/HFM11PRD/EPM_HFM8.DBF
input datafile file number=00017 name=/u04/oradata/HFM11PRD/EPM_HFM12.DBF
input datafile file number=00004 name=/u04/oradata/HFM11PRD/EPM_HSS1.DBF
input datafile file number=00020 name=/u04/oradata/HFM11PRD/EPM_HFM3.DBF
channel ch1: starting piece 1 at 12-NOV-12
channel ch2: starting compressed incremental level 1 datafile backup set
channel ch2: specifying datafile(s) in backup set
input datafile file number=00003 name=/u04/oradata/HFM11PRD/undots01.dbf
input datafile file number=00009 name=/u04/oradata/HFM11PRD/EPM_HFM5.DBF
input datafile file number=00013 name=/u04/oradata/HFM11PRD/EPM_HFM9.DBF
input datafile file number=00018 name=/u04/oradata/HFM11PRD/EPM_HFM13.DBF
input datafile file number=00005 name=/u04/oradata/HFM11PRD/EPM_BI1.DBF
input datafile file number=00021 name=/u04/oradata/HFM11PRD/EPM_HFM15.DBF
channel ch2: starting piece 1 at 12-NOV-12
channel ch3: starting compressed incremental level 1 datafile backup set
channel ch3: specifying datafile(s) in backup set
input datafile file number=00007 name=/u04/oradata/HFM11PRD/EPM_HFM2.DBF
input datafile file number=00011 name=/u04/oradata/HFM11PRD/EPM_HFM7.DBF
input datafile file number=00016 name=/u04/oradata/HFM11PRD/EPM_HFM11.DBF
input datafile file number=00002 name=/u04/oradata/HFM11PRD/sysaux01.dbf
input datafile file number=00022 name=/u04/oradata/HFM11PRD/EPM_HSS_new1.DBF
channel ch3: starting piece 1 at 12-NOV-12
channel ch4: starting compressed incremental level 1 datafile backup set
channel ch4: specifying datafile(s) in backup set
input datafile file number=00006 name=/u04/oradata/HFM11PRD/EPM_HFM1.DBF
input datafile file number=00010 name=/u04/oradata/HFM11PRD/EPM_HFM6.DBF
input datafile file number=00015 name=/u04/oradata/HFM11PRD/EPM_HFM10.DBF
input datafile file number=00019 name=/u04/oradata/HFM11PRD/EPM_HFM14.DBF
input datafile file number=00014 name=/u04/oradata/HFM11PRD/userdata01.dbf
channel ch4: starting piece 1 at 12-NOV-12
channel ch1: finished piece 1 at 12-NOV-12
piece handle=/oraclebackup/HFM11PROD/DF_L1_HFM11PRD_12112012_lvnq4e3a_14015_1 tag=LEVEL1 comment=NONE
channel ch1: backup set complete, elapsed time: 00:01:36
channel ch1: starting compressed incremental level 1 datafile backup set
channel ch1: specifying datafile(s) in backup set
channel ch4: finished piece 1 at 12-NOV-12
piece handle=/oraclebackup/HFM11PROD/DF_L1_HFM11PRD_12112012_m2nq4e3a_14018_1 tag=LEVEL1 comment=NONE
channel ch4: backup set complete, elapsed time: 00:01:35
channel ch4: starting compressed incremental level 1 datafile backup set
channel ch4: specifying datafile(s) in backup set
including current SPFILE in backup set
channel ch4: starting piece 1 at 12-NOV-12
including current control file in backup set
channel ch1: starting piece 1 at 12-NOV-12
channel ch1: finished piece 1 at 12-NOV-12
piece handle=/oraclebackup/HFM11PROD/DF_L1_HFM11PRD_12112012_m3nq4e6a_14019_1 tag=LEVEL1 comment=NONE
channel ch1: backup set complete, elapsed time: 00:00:01
channel ch4: finished piece 1 at 12-NOV-12
piece handle=/oraclebackup/HFM11PROD/DF_L1_HFM11PRD_12112012_m4nq4e6a_14020_1 tag=LEVEL1 comment=NONE
channel ch4: backup set complete, elapsed time: 00:00:01
channel ch3: finished piece 1 at 12-NOV-12
piece handle=/oraclebackup/HFM11PROD/DF_L1_HFM11PRD_12112012_m1nq4e3a_14017_1 tag=LEVEL1 comment=NONE
channel ch3: backup set complete, elapsed time: 00:01:39
channel ch2: finished piece 1 at 12-NOV-12
piece handle=/oraclebackup/HFM11PROD/DF_L1_HFM11PRD_12112012_m0nq4e3a_14016_1 tag=LEVEL1 comment=NONE
channel ch2: backup set complete, elapsed time: 00:02:41
Finished backup at 12-NOV-12
Starting backup at 12-NOV-12
current log archived
channel ch1: starting compressed archived log backup set
channel ch1: specifying archived log(s) in backup set
input archived log thread=1 sequence=40201 RECID=40195 STAMP=799144567
input archived log thread=1 sequence=40202 RECID=40196 STAMP=799145383
input archived log thread=1 sequence=40203 RECID=40197 STAMP=799146296
input archived log thread=1 sequence=40204 RECID=40198 STAMP=799147040
input archived log thread=1 sequence=40205 RECID=40199 STAMP=799147640
input archived log thread=1 sequence=40206 RECID=40200 STAMP=799148271
channel ch1: starting piece 1 at 12-NOV-12
channel ch2: starting compressed archived log backup set
channel ch2: specifying archived log(s) in backup set
input archived log thread=1 sequence=40207 RECID=40201 STAMP=799149018
input archived log thread=1 sequence=40208 RECID=40202 STAMP=799150009
input archived log thread=1 sequence=40209 RECID=40203 STAMP=799150549
input archived log thread=1 sequence=40210 RECID=40204 STAMP=799151041
input archived log thread=1 sequence=40211 RECID=40205 STAMP=799151860
input archived log thread=1 sequence=40212 RECID=40206 STAMP=799152535
channel ch2: starting piece 1 at 12-NOV-12
channel ch3: starting compressed archived log backup set
channel ch3: specifying archived log(s) in backup set
input archived log thread=1 sequence=40213 RECID=40207 STAMP=799153553
input archived log thread=1 sequence=40214 RECID=40208 STAMP=799153980
input archived log thread=1 sequence=40215 RECID=40209 STAMP=799154283
input archived log thread=1 sequence=40216 RECID=40210 STAMP=799155243
input archived log thread=1 sequence=40217 RECID=40211 STAMP=799155964
input archived log thread=1 sequence=40218 RECID=40212 STAMP=799156899
channel ch3: starting piece 1 at 12-NOV-12
channel ch4: starting compressed archived log backup set
channel ch4: specifying archived log(s) in backup set
input archived log thread=1 sequence=40219 RECID=40213 STAMP=799157722
input archived log thread=1 sequence=40220 RECID=40214 STAMP=799158015
input archived log thread=1 sequence=40221 RECID=40215 STAMP=799158018
input archived log thread=1 sequence=40222 RECID=40216 STAMP=799158847
input archived log thread=1 sequence=40223 RECID=40217 STAMP=799159640
input archived log thread=1 sequence=40224 RECID=40218 STAMP=799160590
channel ch4: starting piece 1 at 12-NOV-12
channel ch4: finished piece 1 at 12-NOV-12
piece handle=/oraclebackup/HFM11PROD/ARC_L1_HFM11PRD_12112012_m8nq4e8h_14024_1 tag=LEVEL1 comment=NONE
channel ch4: backup set complete, elapsed time: 00:00:25
channel ch1: finished piece 1 at 12-NOV-12
piece handle=/oraclebackup/HFM11PROD/ARC_L1_HFM11PRD_12112012_m5nq4e8g_14021_1 tag=LEVEL1 comment=NONE
channel ch1: backup set complete, elapsed time: 00:00:36
channel ch2: finished piece 1 at 12-NOV-12
piece handle=/oraclebackup/HFM11PROD/ARC_L1_HFM11PRD_12112012_m6nq4e8g_14022_1 tag=LEVEL1 comment=NONE
channel ch2: backup set complete, elapsed time: 00:00:36
channel ch3: finished piece 1 at 12-NOV-12
piece handle=/oraclebackup/HFM11PROD/ARC_L1_HFM11PRD_12112012_m7nq4e8g_14023_1 tag=LEVEL1 comment=NONE
channel ch3: backup set complete, elapsed time: 00:00:35
Finished backup at 12-NOV-12
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402011737949656.ARC RECID=40195 STAMP=799144567
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402021737949656.ARC RECID=40196 STAMP=799145383
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402031737949656.ARC RECID=40197 STAMP=799146296
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402041737949656.ARC RECID=40198 STAMP=799147040
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402051737949656.ARC RECID=40199 STAMP=799147640
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402061737949656.ARC RECID=40200 STAMP=799148271
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402071737949656.ARC RECID=40201 STAMP=799149018
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402081737949656.ARC RECID=40202 STAMP=799150009
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402091737949656.ARC RECID=40203 STAMP=799150549
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402101737949656.ARC RECID=40204 STAMP=799151041
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402111737949656.ARC RECID=40205 STAMP=799151860
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402121737949656.ARC RECID=40206 STAMP=799152535
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402131737949656.ARC RECID=40207 STAMP=799153553
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402141737949656.ARC RECID=40208 STAMP=799153980
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402151737949656.ARC RECID=40209 STAMP=799154283
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402161737949656.ARC RECID=40210 STAMP=799155243
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402171737949656.ARC RECID=40211 STAMP=799155964
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402181737949656.ARC RECID=40212 STAMP=799156899
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402191737949656.ARC RECID=40213 STAMP=799157722
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402201737949656.ARC RECID=40214 STAMP=799158015
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402211737949656.ARC RECID=40215 STAMP=799158018
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402221737949656.ARC RECID=40216 STAMP=799158847
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402231737949656.ARC RECID=40217 STAMP=799159640
validation succeeded for archived log
archived log file name=/u05/oradata/HFM11PRD/HFM11PRD_402241737949656.ARC RECID=40218 STAMP=799160590
Crosschecked 24 objects
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 1
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
Backup Set 18521832 10-NOV-12
Backup Piece 18521838 10-NOV-12 /oraclebackup/HFM11PROD/CF_L0_HFM11PRD_10112012_lhnpv62e_14001_1
Backup Set 18521846 10-NOV-12
Backup Piece 18521848 10-NOV-12 /oraclebackup/HFM11PROD/SP_L0_HFM11PRD_10112012_linpv62i_14002_1
deleted backup piece
backup piece handle=/oraclebackup/HFM11PROD/CF_L0_HFM11PRD_10112012_lhnpv62e_14001_1 RECID=14000 STAMP=798988367
deleted backup piece
backup piece handle=/oraclebackup/HFM11PROD/SP_L0_HFM11PRD_10112012_linpv62i_14002_1 RECID=14001 STAMP=798988370
Deleted 2 objects
released channel: ch1
released channel: ch2
released channel: ch3
released channel: ch4
RMAN> exit;Now, on Friday when i am trying to do a restore for this database on another server i am getting error as below. Restore script is as below.
run
allocate AUXILIARY channel c1 device type disk;
allocate AUXILIARY channel c2 device type disk;
allocate AUXILIARY channel c3 device type disk;
allocate AUXILIARY channel c4 device type disk;
set until scn 699575816;
duplicate target database to HFM11TMP;
release channel c1;
release channel c2;
release channel c3;
release channel c4;
}Error is as:
sql clone "alter system set db_unique_name =
''HFM11TMP'' comment=
''Modified by RMAN duplicate'' scope=spfile";
shutdown clone immediate;
startup clone force nomount
restore clone primary controlfile;
alter clone database mount;
executing Memory Script
executing command: SET until clause
sql statement: alter system set db_name = ''HFM11PRD'' comment= ''Modified by RMAN duplicate'' scope=spfile
sql statement: alter system set db_unique_name = ''HFM11TMP'' comment= ''Modified by RMAN duplicate'' scope=spfile
Oracle instance shut down
Oracle instance started
Total System Global Area 4275781632 bytes
Fixed Size 2213632 bytes
Variable Size 2298480896 bytes
Database Buffers 1962934272 bytes
Redo Buffers 12152832 bytes
allocated channel: c1
channel c1: SID=112 device type=DISK
Starting restore at 06-NOV-12
released channel: c1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 11/06/2012 15:13:32
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06024: no backup or copy of the control file found to restoreRMAN is searching for backup of controlfile in backup piece CF_L0_HFM11PRD_10112012_lhnpv62e_14001_1. But this has been already obsolete.
Now, if it not possible to get above backup piece back, then how to proceed with restore with backup piece DF_L0_HFM11PRD_10112012_l8npv5b6_13992_1 as it also has control file backup and available on disk, not obsolete. I can understand the reason for marking CF* file as obsolete because of redundency 1. But how to proceed with restore with available backup ?Hello;
I would change my configure for one :
RMAN>CONFIGURE CONTROLFILE AUTOBACKUP ON;Would use this to check :
list backup of controlfile completed before <date>And would catalog everything again just to be sure before starting the restore.
You may have to catalog use the control file piece to avoid the error.
RMAN> catalog backuppiece ...Another idea is to test the restore using something like this :
RMAN> run {
set until time "to_date('2012 NOV 17 07:00','YYYY MON DD HH24:MI')";
restore controlfile preview;
}Best Regards
mseberg
Edited by: mseberg on Nov 16, 2012 10:12 AM
Edited by: mseberg on Nov 16, 2012 11:13 AM -
RC-50004: Fatal: Error occurred in ApplyDatabase:Control file creation fail
Hi,
During the clone of R12.1 instance, while running the post clone on the DB tier, i am getting the following error
RC-50004: Fatal: Error occurred in ApplyDatabase:Control file creation failed.
when i looked into the log file, i can find this
Creating the control file for hr12at1_jsrc-cn6 database ...
SQL*Plus: Release 11.1.0.7.0 - Production on Tue Nov 17 04:41:58 2009
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 1071333376 bytes
Fixed Size 1318172 bytes
Variable Size 427819748 bytes
Database Buffers 629145600 bytes
Redo Buffers 13049856 bytes
Control file created.
alter database open resetlogs
ERROR at line 1:
ORA-01152: file 2 was not restored from a sufficiently old backup
ORA-01110: data file 2:
'/u01/app/oracle11/db/apps_st/u32/oradata/R12HRM/tx_data11.dbf'
Please help
thanks a lot
SasikalaHi,
Sorry, my mistake, I did not pay attention to the cloning part.
For this error, looks like the database was not cleanly shutdown before copying the files or that preclone was not run successfully. You will have to run preclone again, and shutdown the database normally, then copy the file again.
Regards,
Hussein -
RAC control file has correpted, unable to mount database
hi guru's,
Im trying to startup my rac db, but it giving following error.
SQL> startup
ORACLE instance started.
Total System Global Area 233861120 bytes
Fixed Size 2212088 bytes
Variable Size 176164616 bytes
Database Buffers 50331648 bytes
Redo Buffers 5152768 bytes
ORA-00221: error on write to control file
ORA-00206: error in writing (block 1, # blocks 1) of control file
ORA-00202: control file: '+CTRL/finance/controlfile/current.256.812371485'
ORA-15081: failed to submit an I/O operation to a disk
ORA-15081: failed to submit an I/O operation to a disk
alert log:
Errors in file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc:
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 1 of virtual extent 0 logical extent 0 of file 256 in group 2 on disk 1 allocation unit 78
Errors in file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc:
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 2 of virtual extent 0 logical extent 1 of file 256 in group 2 on disk 2 allocation unit 76
Errors in file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc:
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 3 of virtual extent 0 logical extent 2 of file 256 in group 2 on disk 3 allocation unit 78
Errors in file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc:
ORA-00206: error in writing (block 1, # blocks 1) of control file
ORA-00202: control file: '+CTRL/finance/controlfile/current.256.812371485'
ORA-15081: failed to submit an I/O operation to a disk
ORA-15081: failed to submit an I/O operation to a disk
ORA-221 signalled during: ALTER DATABASE MOUNT...
trace file:
Trace file /oradump/oradata/finance/dump/diag/rdbms/finance/finance1/trace/finance1_ora_11821.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
ORACLE_HOME = /rdbms1/app/oracle/product/11.2.0/db_home/
System name: Linux
Node name: RAC-NODE1.vod.com
Release: 2.6.18-128.el5
Version: #1 SMP Wed Dec 17 11:41:38 EST 2008
Machine: x86_64
Instance name: finance1
Redo thread mounted by this instance: 0 <none>
Oracle process number: 28
Unix process pid: 11821, image: [email protected] (TNS V1-V3)
*** 2013-04-27 00:02:39.859
*** SESSION ID:(1.3) 2013-04-27 00:02:39.859
*** CLIENT ID:() 2013-04-27 00:02:39.859
*** SERVICE NAME:() 2013-04-27 00:02:39.859
*** MODULE NAME:([email protected] (TNS V1-V3)) 2013-04-27 00:02:39.859
*** ACTION NAME:() 2013-04-27 00:02:39.859
ORA-27041: unable to open file
WARNING: IO Failed. group:2 disk(number.incarnation):1.0xe96d8019 disk_path:/dev/sdd2
AU:78 disk_offset(bytes):81805312 io_size:16384 operation:Write type:asynchronous
result:I/O error process_id:11821
subsys:System iop:0x2b1c84e57250 bufp:0x2b1c84d6ce00 osderr:0x0 osderr1:0x0
ORA-27041: unable to open file
WARNING: IO Failed. group:2 disk(number.incarnation):2.0xe96d801a disk_path:/dev/sdd3
AU:76 disk_offset(bytes):79708160 io_size:16384 operation:Write type:asynchronous
result:I/O error process_id:11821
subsys:System iop:0x2b1c84e57128 bufp:0x2b1c84d6ce00 osderr:0x0 osderr1:0x0
ORA-27041: unable to open file
WARNING: IO Failed. group:2 disk(number.incarnation):3.0xe96d8018 disk_path:/dev/sdd4
AU:78 disk_offset(bytes):81805312 io_size:16384 operation:Write type:asynchronous
result:I/O error process_id:11821
subsys:System iop:0x2b1c84e57000 bufp:0x2b1c84d6ce00 osderr:0x0 osderr1:0x0
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 1 of virtual extent 0 logical extent 0 of file 256 in group 2 on disk 1 allocation unit 78
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 2 of virtual extent 0 logical extent 1 of file 256 in group 2 on disk 2 allocation unit 76
ORA-15080: synchronous I/O operation to a disk failed
WARNING: failed to write mirror side 3 of virtual extent 0 logical extent 2 of file 256 in group 2 on disk 3 allocation unit 78
DDE rules only execution for: ORA 202
----- START Event Driven Actions Dump ----
---- END Event Driven Actions Dump ----
----- START DDE Actions Dump -----
Executing SYNC actions
----- START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -----
Successfully dispatched
----- END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (SUCCESS, 0 csec) -----
Executing ASYNC actions
----- END DDE Actions Dump (total 0 csec) -----
ORA-00206: error in writing (block 1, # blocks 1) of control file
ORA-00202: control file: '+CTRL/finance/controlfile/current.256.812371485'
ORA-15081: failed to submit an I/O operation to a disk
ORA-15081: failed to submit an I/O operation to a disk
all the diskgroups are in mount state only
SQL> select name,state from v$asm_diskgroup;
NAME STATE
ARCLOG MOUNTED
CTRL MOUNTED
DBFILE MOUNTED
FRA MOUNTED
REDO1 MOUNTED
REDO2 MOUNTED
VOTE MOUNTED
since i did not have mirror copy or backup of current control file to replace the correpted one.
Is there any way to create new control file and transfered to ASM diskgroup and open database. or i need to drop the existing database.
if i need to drop the db, without open the db how to drop database.
kindly help on this.
Thanks in advance.Hi,
Thanks for the replay. im able to open the db.
But can you tel me how to make my rac db to open with spfile which is on asmdiskgroup.
SQL> select name,state from v$asm_diskgroup;
NAME STATE
ARCLOG MOUNTED
CTRL MOUNTED
DBFILE MOUNTED
FRA MOUNTED
REDO1 MOUNTED
REDO2 MOUNTED
VOTE MOUNTED
Spfile:
ASMCMD [+DBFILE/FINANCE/PARAMETERFILE] > pwd
+DBFILE/FINANCE/PARAMETERFILE
ASMCMD [+DBFILE/FINANCE/PARAMETERFILE] > ls
spfile.262.813843989
i shutdown the db and up the same but it can't take the spfile.
SQL> show parameter spfile
NAME TYPE VALUE
spfile string
Thanks in advance. -
Error while restore control file
Hi,
SQL> startup
ORACLE instance started.
Total System Global Area 289406976 bytes
Fixed Size 1248576 bytes
Variable Size 130024128 bytes
Database Buffers 150994944 bytes
Redo Buffers 7139328 bytes
ORA-00205: error in identifying control file, check alert log for more info
SQL> shutdown immediate
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> startup pfile='C:\oracle\init.ora';
ORACLE instance started.
Total System Global Area 289406976 bytes
Fixed Size 1248576 bytes
Variable Size 92275392 bytes
Database Buffers 188743680 bytes
Redo Buffers 7139328 bytes
Database mounted.
Database opened.rman
C:\Documents and Settings\Siva Saravana Kumar>rman
Recovery Manager: Release 10.2.0.1.0 - Production on Mon May 13 17:29:40 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN> connect target sys@mani
target database Password:
connected to target database: MANI (DBID=946337126)
RMAN> restore controlfile from autobackup;
Starting restore at 13-MAY-13
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=141 devtype=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 05/13/2013 17:30:05
RMAN-06496: must use the TO clause when the database is mounted or open
RMAN>i don't understand why am getting this error ? i used pfile for startup database .. Pls Help924575 wrote:
Shahrokh wrote:
Connect to RMAN like this. in command line
c:> set oracle_sid=your_dbname
C:> RMAN target /
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Siva Saravana Kumar>rman
Recovery Manager: Release 10.2.0.1.0 - Production on Mon May 13 18:12:15 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN> connect target sys@mani
target database Password:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
RMAN> exit
Recovery Manager complete.
C:\Documents and Settings\Siva Saravana Kumar>set oracle_sid=mani
C:\Documents and Settings\Siva Saravana Kumar>rman target /
Recovery Manager: Release 10.2.0.1.0 - Production on Mon May 13 18:20:40 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-01031: insufficient privileges
C:\Documents and Settings\Siva Saravana Kumar>
Your OS user is not a member of the ora_dba group. -
Urgent: DBrefresh error 354 while creating control file, oracle9i, SAP R3
Hi experts,
I have created trace file in Source system and moved the same to target system and edited and then while executing the trace file to create control file the following eeror is coming
my trace file is like this. . .
STARTUP NOMOUNT
CREATE CONTROLFILE SET DATABASE "P47" RESETLOGS ARCHIVELOG
-- SET STANDBY TO MAXIMIZE PERFORMANCE
MAXLOGFILES 255
MAXLOGMEMBERS 3
MAXDATAFILES 336
MAXINSTANCES 50
MAXLOGHISTORY 8168
'/oracle/P47/sapdata9/btabd_63/btabd.data63',
'/oracle/P47/sapdata9/stabi_27/stabi.data27',
'/oracle/P47/sapdata9/btabi_122/btabi.data122',
'/oracle/P47/sapdata9/stabd_28/stabd.data28',
'/oracle/P47/sapdata9/btabi_123/btabi.data123',
'/oracle/P47/sapdata9/btabd_64/btabd.data64',
'/oracle/P47/sapdata9/btabi_124/btabi.data124'
CHARACTER SET WE8DEC
i run command like this:
SQL> @/oracle/P47/saptrace/usertrace/control.sql
ORACLE instance started.
Total System Global Area 1249618992 bytes
Fixed Size 732208 bytes
Variable Size 788529152 bytes
Database Buffers 459022446 bytes
Redo Buffers 1335296 bytes
<b>354</b>
when I press 'enter' again SQL prompt is comming
Please help
rgdsHi markus,
thanks for reply . .
control files are not created. . . .
alertSID logs shows as follows
orap47> tail -f alert_P47.log
ARCH shutting down
Thu Dec 13 13:01:51 2007
ARC0: Archival stopped
Thu Dec 13 13:01:51 2007
ARC1: Archival stopped
Thu Dec 13 13:01:54 2007
ARCH: Archiving is disabled
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
<b>When @/oracle/saptrace/usertrace/control.sql command given in sepearate SQL window</b>
Thu Dec 13 13:03:37 2007
Starting ORACLE instance (normal)
Disable cache advisory with old cache parameters
Thu Dec 13 13:03:37 2007
WARNING: EINVAL creating segment of size 0x000000004b800000
fix shm parameters in /etc/system or equivalent
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
SCN scheme 3
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 9.2.0.4.0.
System parameters with non-default values:
processes = 80
sessions = 96
timed_statistics = TRUE
shared_pool_size = 704643072
enqueue_resources = 8000
control_files = /oracle/P47/sapdata1/cntrl/cntrlP47.dbf, /oracle/P47/sapdata2/cntrl/cntrlP47.dbf, /oracle/P47/sapdata3/cntrl/cntrlP47.dbf
db_block_buffers = 56033
db_block_checksum = FALSE
db_block_size = 8192
compatible = 9.2.0
log_archive_start = TRUE
log_archive_dest = /oracle/P47/saparch/P47arch
log_buffer = 1048576
log_checkpoint_interval = 0
db_files = 354
db_file_multiblock_read_count= 8
log_checkpoints_to_alert = TRUE
control_file_record_keep_time= 30
dml_locks = 2500
row_locking = always
replication_dependency_tracking= FALSE
transactions_per_rollback_segment= 20
rollback_segments = PRS_0, PRS_1, PRS_10, PRS_11, PRS_12, PRS_13, PRS_14, PRS_2, PRS_3, PRS_4, PRS_5, PRS_6, PRS_7, PRS_8, PRS_9
transaction_auditing = FALSE
remote_os_authent = TRUE
db_domain = world
parallel_max_servers = 20
hash_join_enabled = FALSE
background_dump_dest = /oracle/P47/saptrace/background
user_dump_dest = /oracle/P47/saptrace/usertrace
core_dump_dest = /oracle/P47/saptrace/background
optimizer_features_enable= 9.2.0
sort_area_size = 2097152
sort_area_retained_size = 0
db_name = P47
open_cursors = 800
optimizer_mode = choose
btree_bitmap_plans = FALSE
pushjoin_predicate = FALSE
optimizer_index_cost_adj = 10
newinitial_join_orders = FALSE
optimpeek_user_binds = FALSE
PMON started with pid=2
DBW0 started with pid=3
LGWR started with pid=4
CKPT started with pid=5
SMON started with pid=6
RECO started with pid=7
Thu Dec 13 13:03:39 2007
ARCH: STARTING ARCH PROCESSES
ARC0 started with pid=8
ARC0: Archival started
ARC1 started with pid=9
Thu Dec 13 13:03:39 2007
ARCH: STARTING ARCH PROCESSES COMPLETE
Thu Dec 13 13:03:39 2007
ARC0: Thread not mounted
Thu Dec 13 13:03:39 2007
ARC1: Archival started
ARC1: Thread not mounted
rgds -
Control file failed error while duplicating database using RMAN
I am using oracle database 10g R2 and trying to make a clone of the source database orcl on the same machine but with different directory structure with the name of test.
When i run the duplicate command to create test database, then following error is generted:
D:\>rman target sys@orcl nocatalog auxiliary /
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Nov 11 12:13:26 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
target database Password:
connected to target database: ORCL (DBID=1264668332)
using target database control file instead of recovery catalog
connected to auxiliary database: TEST (not mounted)
RMAN> @script.txt
RMAN> Run {
2> Allocate channel C1 type disk;
3> allocate auxiliary channel 'adisk_0' type DISK;
4> duplicate target database to "test";
5> #BACKUP INCREMENTAL LEVEL 1 DATABASE;
6> #BACKUP INCREMENTAL LEVEL 1 CUMULATIVE DATABASE;
7> #BACKUP INCREMENTAL LEVEL 0 DATABASE;
8> #delete obsolete;
9> }
allocated channel: C1
channel C1: sid=140 devtype=DISK
allocated channel: adisk_0
channel adisk_0: sid=157 devtype=DISK
Starting Duplicate Db at 11-NOV-11
contents of Memory Script:
set until scn 12926250;
set newname for datafile 1 to
"D:\TEST\ORADATA\SYSTEM01.DBF";
set newname for datafile 2 to
"D:\TEST\ORADATA\UNDOTBS01.DBF";
set newname for datafile 3 to
"D:\TEST\ORADATA\SYSAUX01.DBF";
set newname for datafile 4 to
"D:\TEST\ORADATA\USERS01.DBF";
set newname for datafile 5 to
"D:\TEST\ORADATA\EXAMPLE01.DBF";
set newname for datafile 6 to
"D:\TEST\ORADATA\GL.DBF";
restore
check readonly
clone database
executing Memory Script
executing command: SET until clause
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 11-NOV-11
channel adisk_0: starting datafile backupset restore
channel adisk_0: specifying datafile(s) to restore from backup set
restoring datafile 00001 to D:\TEST\ORADATA\SYSTEM01.DBF
restoring datafile 00002 to D:\TEST\ORADATA\UNDOTBS01.DBF
restoring datafile 00003 to D:\TEST\ORADATA\SYSAUX01.DBF
restoring datafile 00004 to D:\TEST\ORADATA\USERS01.DBF
restoring datafile 00005 to D:\TEST\ORADATA\EXAMPLE01.DBF
restoring datafile 00006 to D:\TEST\ORADATA\GL.DBF
channel adisk_0: reading from backup piece D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_07\O1_MF_NNND0_TAG20111107T220822_7CJ
P
channel adisk_0: restored backup piece 1
piece handle=D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_07\O1_MF_NNND0_TAG20111107T220822_7CJ44MH4_.BKP tag=TAG20111107T220
channel adisk_0: restore complete, elapsed time: 00:01:46
Finished restore at 11-NOV-11
sql statement: CREATE CONTROLFILE REUSE SET DATABASE "TEST" RESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 ( 'D:\TEST\ORADATA\REDO01.LOG' ) SIZE 50 M REUSE,
GROUP 2 ( 'D:\TEST\ORADATA\REDO02.LOG' ) SIZE 50 M REUSE,
GROUP 3 ( 'D:\TEST\ORADATA\REDO03.LOG' ) SIZE 50 M REUSE
DATAFILE
'D:\TEST\ORADATA\SYSTEM01.DBF'
CHARACTER SET WE8MSWIN1252
contents of Memory Script:
switch clone datafile all;
executing Memory Script
datafile 2 switched to datafile copy
input datafile copy recid=1 stamp=766930525 filename=D:\TEST\ORADATA\UNDOTBS01.DBF
datafile 3 switched to datafile copy
input datafile copy recid=2 stamp=766930525 filename=D:\TEST\ORADATA\SYSAUX01.DBF
datafile 4 switched to datafile copy
input datafile copy recid=3 stamp=766930526 filename=D:\TEST\ORADATA\USERS01.DBF
datafile 5 switched to datafile copy
input datafile copy recid=4 stamp=766930526 filename=D:\TEST\ORADATA\EXAMPLE01.DBF
datafile 6 switched to datafile copy
input datafile copy recid=5 stamp=766930526 filename=D:\TEST\ORADATA\GL.DBF
contents of Memory Script:
set until scn 12926250;
recover
clone database
delete archivelog
executing Memory Script
executing command: SET until clause
Starting recover at 11-NOV-11
channel adisk_0: starting incremental datafile backupset restore
channel adisk_0: specifying datafile(s) to restore from backup set
destination for restore of datafile 00001: D:\TEST\ORADATA\SYSTEM01.DBF
destination for restore of datafile 00002: D:\TEST\ORADATA\UNDOTBS01.DBF
destination for restore of datafile 00003: D:\TEST\ORADATA\SYSAUX01.DBF
destination for restore of datafile 00004: D:\TEST\ORADATA\USERS01.DBF
destination for restore of datafile 00005: D:\TEST\ORADATA\EXAMPLE01.DBF
destination for restore of datafile 00006: D:\TEST\ORADATA\GL.DBF
channel adisk_0: reading from backup piece D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_09\O1_MF_NNND1_TAG20111109T223628_7CO
P
channel adisk_0: restored backup piece 1
piece handle=D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_09\O1_MF_NNND1_TAG20111109T223628_7COGJZVT_.BKP tag=TAG20111109T223
channel adisk_0: restore complete, elapsed time: 00:00:07
channel adisk_0: starting incremental datafile backupset restore
channel adisk_0: specifying datafile(s) to restore from backup set
destination for restore of datafile 00001: D:\TEST\ORADATA\SYSTEM01.DBF
destination for restore of datafile 00002: D:\TEST\ORADATA\UNDOTBS01.DBF
destination for restore of datafile 00003: D:\TEST\ORADATA\SYSAUX01.DBF
destination for restore of datafile 00004: D:\TEST\ORADATA\USERS01.DBF
destination for restore of datafile 00005: D:\TEST\ORADATA\EXAMPLE01.DBF
destination for restore of datafile 00006: D:\TEST\ORADATA\GL.DBF
channel adisk_0: reading from backup piece D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_10\O1_MF_NNND1_TAG20111110T221428_7CR
P
channel adisk_0: restored backup piece 1
piece handle=D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_10\O1_MF_NNND1_TAG20111110T221428_7CR1MQFO_.BKP tag=TAG20111110T221
channel adisk_0: restore complete, elapsed time: 00:00:16
starting media recovery
archive log thread 1 sequence 524 is already on disk as file D:\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2011_11_11\O1_MF_1_524_7CS
C
archive log filename=D:\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2011_11_11\O1_MF_1_524_7CSG2HVT_.ARC thread=1 sequence=524
media recovery complete, elapsed time: 00:00:14
Finished recover at 11-NOV-11
contents of Memory Script:
shutdown clone;
startup clone nomount ;
executing Memory Script
database dismounted
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 230686720 bytes
Fixed Size 1248236 bytes
Variable Size 67109908 bytes
Database Buffers 155189248 bytes
Redo Buffers 7139328 bytes
sql statement: CREATE CONTROLFILE REUSE SET DATABASE "TEST" RESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 ( 'D:\TEST\ORADATA\REDO01.LOG' ) SIZE 50 M REUSE,
GROUP 2 ( 'D:\TEST\ORADATA\REDO02.LOG' ) SIZE 50 M REUSE,
GROUP 3 ( 'D:\TEST\ORADATA\REDO03.LOG' ) SIZE 50 M REUSE
DATAFILE
'D:\TEST\ORADATA\SYSTEM01.DBF'
CHARACTER SET WE8MSWIN1252
released channel: C1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 11/11/2011 12:16:21
RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE failed
ORA-01504: database name 'TEST' does not match parameter db_name 'orcl'
RMAN> **end-of-file**
Script.txt
Run {
Allocate channel C1 type disk;
allocate auxiliary channel 'adisk_0' type DISK;
duplicate target database to "test";
}Kindly help?Moazzam wrote:
RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE failed
ORA-01504: database name 'TEST' does not match parameter db_name 'orcl'
Kindly help?>Please check what is the value of parameter db_name in the standby database? It should be match with TEST name
Cheers -
Restore from OSB. RMAN-06024: no backup or copy of the control file found
I backed up controlfile for standby on production server to OSB media:
-bash-3.00$ rman target / catalog rman/rman@emgc
Recovery Manager: Release 10.2.0.5.0 - Production on Tue Jan 25 15:15:33 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: EMGC (DBID=1838014073)
connected to recovery catalog database
RMAN>
RMAN> CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;
RUN
ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
BACKUP CURRENT CONTROLFILE FOR STANDBY tag 'stb_ctl';
RELEASE CHANNEL ch1;
CONFIGURE DEVICE TYPE 'SBT_TAPE' CLEAR;
new RMAN configuration parameters:
CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;
new RMAN configuration parameters are successfully stored
starting full resync of recovery catalog
full resync complete
RMAN> 2> 3> 4> 5> 6>
allocated channel: ch1
channel ch1: sid=1085 devtype=SBT_TAPE
channel ch1: Oracle Secure Backup
Starting backup at 25-JAN-11
channel ch1: starting compressed full datafile backupset
channel ch1: specifying datafile(s) in backupset
including standby control file in backupset
channel ch1: starting piece 1 at 25-JAN-11
channel ch1: finished piece 1 at 25-JAN-11
piece handle=1em30ngu_1_1 tag=STB_CTL comment=API Version 2.0,MMS Version 10.3.0.2
channel ch1: backup set complete, elapsed time: 00:00:27
Finished backup at 25-JAN-11
released channel: ch1
RMAN> list backup of controlfile;
old RMAN configuration parameters:
CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2 BACKUP TYPE TO COMPRESSED BACKUPSET;
RMAN configuration parameters are successfully reset to default value
starting full resync of recovery catalog
full resync complete
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
1479 Full 512.00K SBT_TAPE 00:00:18 25-JAN-11
BP Key: 1480 Status: AVAILABLE Compressed: YES Tag: STB_CTL
Handle: 1em30ngu_1_1 Media: mf_rman-000003
Standby Control File Included: Ckp SCN: 33567224 Ckp time: 25-JAN-11
RMAN>
On standby server I try to restore this control file but there is some trouble with restore... By the way I can delete that backup piece...
-bash-3.00$ rman target / catalog rman/rman@emgc
Recovery Manager: Release 10.2.0.5.0 - Production on Tue Jan 25 15:34:32 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: emgc (not mounted)
connected to recovery catalog database
RMAN> set DBID=1838014073;
executing command: SET DBID
database name is "EMGC" and DBID is 1838014073
RMAN> RUN
ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
crosscheck backup of controlfile;
2> 3> 4> 5>
allocated channel: ch1
channel ch1: sid=1093 devtype=SBT_TAPE
channel ch1: Oracle Secure Backup
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=1em30ngu_1_1 recid=40 stamp=741367328
Crosschecked 1 objects
released channel: ch1
RMAN> list backup of controlfile;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
1479 Full 512.00K SBT_TAPE 00:00:18 25-JAN-11
BP Key: 1480 Status: AVAILABLE Compressed: YES Tag: STB_CTL
Handle: 1em30ngu_1_1 Media: mf_rman-000003
Standby Control File Included: Ckp SCN: 33567224 Ckp time: 25-JAN-11
RMAN> RUN
ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
RESTORE CONTROLFILE FROM TAG 'STB_CTL';
2> 3> 4> 5>
allocated channel: ch1
channel ch1: sid=1093 devtype=SBT_TAPE
channel ch1: Oracle Secure Backup
Starting restore at 25-JAN-11
released channel: ch1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 01/25/2011 15:35:20
RMAN-06026: some targets not found - aborting restore
RMAN-06024: no backup or copy of the control file found to restore
RMAN> RUN
ALLOCATE CHANNEL ch1 DEVICE TYPE 'SBT_TAPE';
delete noprompt backup of controlfile;
2> 3> 4> 5>
allocated channel: ch1
channel ch1: sid=1093 devtype=SBT_TAPE
channel ch1: Oracle Secure Backup
List of Backup Pieces
BP Key BS Key Pc# Cp# Status Device Type Piece Name
1480 1479 1 1 AVAILABLE SBT_TAPE 1em30ngu_1_1
deleted backup piece
backup piece handle=1em30ngu_1_1 recid=40 stamp=741367328
Deleted 1 objects
released channel: ch1
RMAN>You cannot specify a tag for a standby control file.
read here
http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmstand.htm#1002594
Edited by: Adigozalov Gurban on Jan 25, 2011 2:14 PM -
Hi
database name CLONESQL(duplicate database) does not match parameter db_name ORCL4 (source database) where should i change this one
RMAN> duplicate target database to CLONESQL;
Starting Duplicate Db at 12-SEP-11
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=97 device type=DISK
contents of Memory Script:
set until scn 923880;
set newname for datafile 1 to
"/u01/app/oracle/oradata/CLONESQLo1_mf_system_76tvgsh1_.dbf";
set newname for datafile 2 to
"/u01/app/oracle/oradata/CLONESQLo1_mf_sysaux_76tvgsjg_.dbf";
set newname for datafile 3 to
"/u01/app/oracle/oradata/CLONESQLo1_mf_undotbs1_76tvgsqn_.dbf";
set newname for datafile 4 to
"/u01/app/oracle/oradata/CLONESQLo1_mf_users_76tvgsxh_.dbf";
set newname for datafile 5 to
"/u01/app/oracle/oradata/CLONESQLo1_mf_example_76tvstov_.dbf";
set newname for datafile 6 to
"/u01/app/oracle/oradata/CLONESQLrman01.dbf";
restore
clone database
executing Memory Script
executing command: SET until clause
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 12-SEP-11
using channel ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00001 to /u01/app/oracle/oradata/CLONESQLo1_mf_system_76tvgsh1_.dbf
channel ORA_AUX_DISK_1: restoring datafile 00002 to /u01/app/oracle/oradata/CLONESQLo1_mf_sysaux_76tvgsjg_.dbf
channel ORA_AUX_DISK_1: restoring datafile 00003 to /u01/app/oracle/oradata/CLONESQLo1_mf_undotbs1_76tvgsqn_.dbf
channel ORA_AUX_DISK_1: restoring datafile 00004 to /u01/app/oracle/oradata/CLONESQLo1_mf_users_76tvgsxh_.dbf
channel ORA_AUX_DISK_1: restoring datafile 00005 to /u01/app/oracle/oradata/CLONESQLo1_mf_example_76tvstov_.dbf
channel ORA_AUX_DISK_1: restoring datafile 00006 to /u01/app/oracle/oradata/CLONESQLrman01.dbf
channel ORA_AUX_DISK_1: reading from backup piece /u01/app/oracle/flash_recovery_area/ORCL4/backupset/2011_09_12/o1_mf_nnndf_TAG20110912T121122_76v1mbyr_.bkp
channel ORA_AUX_DISK_1: piece handle=/u01/app/oracle/flash_recovery_area/ORCL4/backupset/2011_09_12/o1_mf_nnndf_TAG20110912T121122_76v1mbyr_.bkp tag=TAG20110912T121122
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:02:19
Finished restore at 12-SEP-11
sql statement: CREATE CONTROLFILE REUSE SET DATABASE "CLONESQL" RESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 ( '/u01/app/oracle/oradata/CLONESQL/onlielogo1_mf_1_76tvr06l_.log', '/u01/app/oracle/flash_recovery_area/CLONESQL/onlinelog/o1_mf_1_76tvr4pp_.log' ) SIZE 50 M REUSE,
GROUP 2 ( '/u01/app/oracle/oradata/CLONESQL/onlielogo1_mf_2_76tvr940_.log', '/u01/app/oracle/flash_recovery_area/CLONESQL/onlinelog/o1_mf_2_76tvrf5y_.log' ) SIZE 50 M REUSE,
GROUP 3 ( '/u01/app/oracle/oradata/CLONESQL/onlielogo1_mf_3_76tvrl7w_.log', '/u01/app/oracle/flash_recovery_area/CLONESQL/onlinelog/o1_mf_3_76tvrrpm_.log' ) SIZE 50 M REUSE
DATAFILE
'/u01/app/oracle/oradata/CLONESQLo1_mf_system_76tvgsh1_.dbf'
CHARACTER SET WE8MSWIN1252
contents of Memory Script:
switch clone datafile all;
executing Memory Script
datafile 2 switched to datafile copy
input datafile copy RECID=1 STAMP=761683828 file name=/u01/app/oracle/oradata/CLONESQLo1_mf_sysaux_76tvgsjg_.dbf
datafile 3 switched to datafile copy
input datafile copy RECID=2 STAMP=761683828 file name=/u01/app/oracle/oradata/CLONESQLo1_mf_undotbs1_76tvgsqn_.dbf
datafile 4 switched to datafile copy
input datafile copy RECID=3 STAMP=761683828 file name=/u01/app/oracle/oradata/CLONESQLo1_mf_users_76tvgsxh_.dbf
datafile 5 switched to datafile copy
input datafile copy RECID=4 STAMP=761683828 file name=/u01/app/oracle/oradata/CLONESQLo1_mf_example_76tvstov_.dbf
datafile 6 switched to datafile copy
input datafile copy RECID=5 STAMP=761683828 file name=/u01/app/oracle/oradata/CLONESQLrman01.dbf
contents of Memory Script:
set until scn 923880;
recover
clone database
delete archivelog
executing Memory Script
executing command: SET until clause
Starting recover at 12-SEP-11
using channel ORA_AUX_DISK_1
starting media recovery
archived log for thread 1 with sequence 4 is already on disk as file /u01/app/oracle/flash_recovery_area/ORCL4/archivelog/2011_09_12/o1_mf_1_4_76v1q11f_.arc
archived log for thread 1 with sequence 5 is already on disk as file /u01/app/oracle/flash_recovery_area/ORCL4/archivelog/2011_09_12/o1_mf_1_5_76vdyn6f_.arc
archived log file name=/u01/app/oracle/flash_recovery_area/ORCL4/archivelog/2011_09_12/o1_mf_1_4_76v1q11f_.arc thread=1 sequence=4
archived log file name=/u01/app/oracle/flash_recovery_area/ORCL4/archivelog/2011_09_12/o1_mf_1_5_76vdyn6f_.arc thread=1 sequence=5
media recovery complete, elapsed time: 00:00:05
Finished recover at 12-SEP-11
contents of Memory Script:
shutdown clone immediate;
startup clone nomount ;
executing Memory Script
database dismounted
Oracle instance shut down
connected to auxiliary database (not started)
startup failed: ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/u01/app/oracle/product/11.1.0/db_1/dbs/initCLONESQL.ora'
starting Oracle instance without parameter file for retrieval of spfile
Oracle instance started
Total System Global Area 158662656 bytes
Fixed Size 2142496 bytes
Variable Size 79695584 bytes
Database Buffers 71303168 bytes
Redo Buffers 5521408 bytes
sql statement: CREATE CONTROLFILE REUSE SET DATABASE "CLONESQL" RESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 ( '/u01/app/oracle/oradata/CLONESQL/onlielogo1_mf_1_76tvr06l_.log', '/u01/app/oracle/flash_recovery_area/CLONESQL/onlinelog/o1_mf_1_76tvr4pp_.log' ) SIZE 50 M REUSE,
GROUP 2 ( '/u01/app/oracle/oradata/CLONESQL/onlielogo1_mf_2_76tvr940_.log', '/u01/app/oracle/flash_recovery_area/CLONESQL/onlinelog/o1_mf_2_76tvrf5y_.log' ) SIZE 50 M REUSE,
GROUP 3 ( '/u01/app/oracle/oradata/CLONESQL/onlielogo1_mf_3_76tvrl7w_.log', '/u01/app/oracle/flash_recovery_area/CLONESQL/onlinelog/o1_mf_3_76tvrrpm_.log' ) SIZE 50 M REUSE
DATAFILE
'/u01/app/oracle/oradata/CLONESQLo1_mf_system_76tvgsh1_.dbf'
CHARACTER SET WE8MSWIN1252
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/12/2011 18:51:07
RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE failed
ORA-01504: database name 'CLONESQL' does not match parameter db_name 'ORCL4'
Thank youYou should change the DB_NAME parameter in the initial configuration (init<SID>.ora) file for the clone database before startup to CLONESQL.
Otherwise, show us the initial parameters for both source and clone.here is my parameter file
orcl4.ora
orcl4.__db_cache_size=385875968
orcl4.__java_pool_size=12582912
orcl4.__large_pool_size=4194304
orcl4.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
orcl4.__pga_aggregate_target=390070272
orcl4.__sga_target=578813952
orcl4.__shared_io_pool_size=0
orcl4.__shared_pool_size=167772160
Thank you
orcl4.__streams_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/orcl4/adump'
*.audit_trail='db'
*.compatible='11.1.0.0.0'
*.control_files='/u01/app/oracle/oradata/ORCL4/controlfile/o1_mf_76tvqvnw_.ctl','/u01/app/oracle/flash_recovery_area/ORCL4/controlfile/o1_mf_76tvqwmf_.ctl'
*.db_block_size=8192
*.db_create_file_dest='/u01/app/oracle/oradata'
*.db_domain=''
*.db_name='orcl4'
*.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orcl4XDB)'
*.log_archive_format='%t_%s_%r.dbf'
*.memory_target=965738496
*.open_cursors=300
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.undo_tablespace='UNDOTBS1'
initclonesql.ora
db_name='CLONESQL'
db_block_size=8192
compatible='11.1.0.0.0'
remote_login_passwordfile='EXCLUSIVE'
control_files='/u01/app/oracle/oradata/CLONESQL/controlfile/o1_mf_76tvqvnw_.ctl','/u01/app/oracle/flash_recovery_area/CLONESQL/controlfile/o1_mf_76tvqwmf_.ctl'
db_file_name_convert = ('/u01/app/oracle/oradata/ORCL4/datafile/','/u01/app/oracle/oradata/CLONESQL')
log_file_name_convert = ('/u01/app/oracle/oradata/ORCL4/onlinelog/','/u01/app/oracle/oradata/CLONESQL/onlielog','/u01/app/oracle/flash_recovery_area/ORCL4/onlinelog','/u01/app/oracle/flash_recovery_area/CLONESQL/onlinelog') -
Error encountered in Rapid clone (control file creation failed)
hi all,
i have 2- node ERP server running EBS 11.5.10 with database 9.2.0.5 and OS HP UX 11.11
while running perl adcfgclone.pl dbTier
i encountered the following error
Verifying correctness of adcrdbclone.sql
RC-00115: Not able to read temp001.dbf
Raised by oracle.apps.ad.clone.ApplyDatabase
RC-00115: Not able to read temp002.dbf
Raised by oracle.apps.ad.clone.ApplyDatabase
RC-00115: Not able to read temp003.dbf
Raised by oracle.apps.ad.clone.ApplyDatabase
RC-00115: Not able to read temp004.dbf
Raised by oracle.apps.ad.clone.ApplyDatabase
RC-00115: Not able to read temp005.dbf
Raised by oracle.apps.ad.clone.ApplyDatabase
RC-00115: Not able to read temp006.dbf
Raised by oracle.apps.ad.clone.ApplyDatabase
RC-00115: Not able to read temp001.dbf
Raised by oracle.apps.ad.clone.ApplyDatabase
RC-00115: Not able to read temp002.dbf
Raised by oracle.apps.ad.clone.ApplyDatabase
RC-00115: Not able to read temp003.dbf
Raised by oracle.apps.ad.clone.ApplyDatabase
RC-00115: Not able to read temp004.dbf
Raised by oracle.apps.ad.clone.ApplyDatabase
RC-00115: Not able to read temp005.dbf
Raised by oracle.apps.ad.clone.ApplyDatabase
RC-00115: Not able to read temp006.dbf
Raised by oracle.apps.ad.clone.ApplyDatabase
RC-00116: Error while reading dbf files. Control file creation will fail.
an later part of log file
Creating the control file for DVP_test database ...
SQL*Plus: Release 9.2.0.5.0 - Production on Sun Jan 11 18:29:27 2009
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 598700552 bytes
Fixed Size 737800 bytes
Variable Size 419430400 bytes
Database Buffers 167772160 bytes
Redo Buffers 10760192 bytes
Control file created.
Database altered.
alter tablespace TEMP1 add tempfile '/oradvp/ora/proddata/temp001.dbf' REUSE
ERROR at line 1:
ORA-00959: tablespace 'TEMP1' does not exist
alter tablespace TEMP1 add tempfile '/oradvp/ora/proddata/temp002.dbf' REUSE
ERROR at line 1:
ORA-00959: tablespace 'TEMP1' does not exist
alter tablespace TEMP1 add tempfile '/oradvp/ora/proddata/temp003.dbf' REUSE
ERROR at line 1:
ORA-00959: tablespace 'TEMP1' does not exist
alter tablespace TEMP1 add tempfile '/oradvp/ora/proddata/temp004.dbf' REUSE
ERROR at line 1:
ORA-00959: tablespace 'TEMP1' does not exist
alter tablespace TEMP1 add tempfile '/oradvp/ora/proddata/temp005.dbf' REUSE
ERROR at line 1:
ORA-00959: tablespace 'TEMP1' does not exist
alter tablespace TEMP1 add tempfile '/oradvp/ora/proddata/temp006.dbf' REUSE
ERROR at line 1:
ORA-00959: tablespace 'TEMP1' does not exist
but when i query v$tablespace it shows temporary tablespace is TEMP not temp1
even on my production system the TEMPORARy Tablespace is TEMP
when i see the alert file
it says
Tablespace 'TEMP' #2 found in data dictionary,
but not in the controlfile. Adding to controlfile.
File #143 found in data dictionary but not in controlfile.
Creating OFFLINE file 'MISSING00143' in the controlfile.
This file can no longer be recovered so it must be dropped.
File #144 found in data dictionary but not in controlfile.
Creating OFFLINE file 'MISSING00144' in the controlfile.
This file can no longer be recovered so it must be dropped.
File #145 found in data dictionary but not in controlfile.
Creating OFFLINE file 'MISSING00145' in the controlfile.
This file can no longer be recovered so it must be dropped.
File #146 found in data dictionary but not in controlfile.
Creating OFFLINE file 'MISSING00146' in the controlfile.
This file can no longer be recovered so it must be dropped.
File #147 found in data dictionary but not in controlfile.
Creating OFFLINE file 'MISSING00147' in the controlfile.
This file can no longer be recovered so it must be dropped.
File #148 found in data dictionary but not in controlfile.
Creating OFFLINE file 'MISSING00148' in the controlfile.
This file can no longer be recovered so it must be dropped.
File #149 found in data dictionary but not in controlfile.
Creating OFFLINE file 'MISSING00149' in the controlfile.
This file can no longer be recovered so it must be dropped.
File #150 found in data dictionary but not in controlfile.
Creating OFFLINE file 'MISSING00150' in the controlfile.
This file can no longer be recovered so it must be dropped.
File #151 found in data dictionary but not in controlfile.
Creating OFFLINE file 'MISSING00151' in the controlfile.
This file can no longer be recovered so it must be dropped.
File #152 found in data dictionary but not in controlfile.
Creating OFFLINE file 'MISSING00152' in the controlfile.
This file can no longer be recovered so it must be dropped.
File #153 found in data dictionary but not in controlfile.
Creating OFFLINE file 'MISSING00153' in the controlfile.
This file can no longer be recovered so it must be dropped.
how can i come out though this confusion??i have opened the database but what about the next porcess now
Beginning database tier Apply - Sun Jan 11 17:31:13 2009
Log file located at /oradvp/ora/proddb/9.2.0/appsutil/log/DVP_test/ApplyDBTier_01110531.log
RC-50004: Fatal: Error occurred in ApplyDatabase:
Control file creation failed
ERROR while running Apply...
ERROR: Failed to execute adclone.pl
Please check logfile.
logfile says
Checking for errors ...
ORA-00959: tablespace 'TEMP1' does not exist
ORA-00959: tablespace 'TEMP1' does not exist
ORA-00959: tablespace 'TEMP1' does not exist
ORA-00959: tablespace 'TEMP1' does not exist
ORA-00959: tablespace 'TEMP1' does not exist
ORA-00959: tablespace 'TEMP1' does not exist
ORA-00376: file 148 cannot be read at this time
ORA-01111: name for data file 148 is unknown - rename to correct file
ORA-01110: data file 148: '/oradvp/ora/proddb/9.2.0/dbs/MISSING00148'
ORA-00600: internal error code, arguments: [1236], [], [], [], [], [], [], []
ORA-24313: user already authenticated
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
ORA-24313: user already authenticated
ORA-01031: insufficient privileges
The database has not been successfully created. Shutting down the instance ...
SQL*Plus: Release 9.2.0.5.0 - Production on Sun Jan 11 18:30:01 2009
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to an idle instance.
ORACLE instance shut down.
Disconnected
.end std out.
.end err out.
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : test
sDbDomain : khannapaper.com
sDbPort : 1528
sDbSid : DVP
sDbUser : APPS
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@test.khannapaper.com:1528:DVP
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
HP-UX Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test.khannapaper.com)(PORT=1528))(CONNECT_DATA=(SERVICE_NAME=DVP)))
Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
HP-UX Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test.khannapaper.com)(PORT=1528))(CONNECT_DATA=(SERVICE_NAME=DVP.khannapaper.com)))
Exception occurred: java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153093376)(ERR=12514)(ERROR_STACK=(ERROR=(CODE=12514)(EMFI=4))))
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabase
StackTrace:
java.lang.Exception: Control file creation failed
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:469)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:314)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:290)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:131)
at java.lang.reflect.Constructor.newInstance(Native Method)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Unknown Source)
and why does it shows temporary tablespace TEMP1
but in real it is TEMP
i dropped around 50 days back from production and added TEMP to it
Maybe you are looking for
-
Jdeveloper version and ADF runtime on weblogic
Hi I would need to understand the link between the jdeveloper version and the Weblogic version. Based on this article http://tompeez.wordpress.com/2011/09/14/jdeveloper-versions-vs-weblogic-server-versions/ it sounds like the server version to use is
-
Need to run Eseutil when moving volumes?
Do I need to run the Eseutil integrity check when I'm moving the volumes for exchange to a different DPM 2012 R2 server? It looks like Eseutil is verifying the Integrity of the Exchange database. This was originally run on the Exchange database mont
-
Satellite P100-240 wont boot up after failed BIOS update
Hi, let me just start by saying im an idiot.... Dowloaded a few drivers for my toshiba p100 240 and noticed there was a BIOS update, i downloaded it and ran the program only for it to come up with an error that it will only allow the Administrator to
-
Error: "not enough space to restore iPhone backup" but..8+gb free
Hello, I have an iPhone 4 running ios 7.0.6. Since it's pretty slow I decided to try backup&restore. Opened iTunes (updated at the latest version yesterday), created a backup (took only a couple of mins, while it used to take dozens at least. Not sur
-
Physical Inventory Document for Materials in Transfer Storloc
Hi! Just want to ask how can you capture materials that are in transit/transfer storage location (313 movt.) when creating Physical Inventory Documents? The material is somehow floating since 315 movt is still pending during PID creation. Book value