Error re-creating controlfile
I am trying to recreate the control file from the text trace file I created.
When I run the script in the trace file I get errors, so I'm breaking it down into little steps.
After running this:
STARTUP NOMOUNT;
CREATE CONTROLFILE REUSE DATABASE "D3P" RESETLOGS ARCHIVELOG;
I get this error:
SQL> CREATE CONTROLFILE REUSE DATABASE "D3P" RESETLOGS ARCHIVELOG;
CREATE CONTROLFILE REUSE DATABASE "D3P" RESETLOGS ARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01565: error in identifying file '?/dbs/[email protected]'
ORA-27037: unable to obtain file status
HP-UX Error: 2: No such file or directory
Additional information: 3
I have no ideas where this file is coming from:
?/dbs/[email protected]'
Any advice?
I am using Oracle 9.2.0.6
Here are the home & sid:
ORACLE_SID=D3P
ORACLE_HOME=/oracle/D3P/920_64
Here is the complete statement:
STARTUP NOMOUNT
CREATE CONTROLFILE REUSE SET DATABASE "D3P" RESETLOGS ARCHIVELOG
-- SET STANDBY TO MAXIMIZE PERFORMANCE
MAXLOGFILES 255
MAXLOGMEMBERS 3
MAXDATAFILES 254
MAXINSTANCES 50
MAXLOGHISTORY 2949
LOGFILE
GROUP 1 (
'/oracle/D3P/origlogA/log_g11m1.dbf',
'/oracle/D3P/mirrlogA/log_g11m2.dbf'
) SIZE 50M,
GROUP 2 (
'/oracle/D3P/origlogB/log_g12m1.dbf',
'/oracle/D3P/mirrlogB/log_g12m2.dbf'
) SIZE 50M,
GROUP 3 (
'/oracle/D3P/origlogA/log_g13m1.dbf',
'/oracle/D3P/mirrlogA/log_g13m2.dbf'
) SIZE 50M,
GROUP 4 (
'/oracle/D3P/origlogB/log_g14m1.dbf',
'/oracle/D3P/mirrlogB/log_g14m2.dbf'
) SIZE 50M
-- STANDBY LOGFILE
DATAFILE
'/oracle/D3P/sapdata3/system_1/system.data1',
'/oracle/D3P/sapdata1/r3_1/r3.data1',
'/oracle/D3P/sapdata2/r3_2/r3.data2',
'/oracle/D3P/sapdata1/r3_3/r3.data3',
'/oracle/D3P/sapdata2/r3_4/r3.data4',
'/oracle/D3P/sapdata1/r3_5/r3.data5',
'/oracle/D3P/sapdata2/r3_6/r3.data6',
'/oracle/D3P/sapdata1/r3_7/r3.data7',
'/oracle/D3P/sapdata2/r3_8/r3.data8',
'/oracle/D3P/sapdata1/r3_9/r3.data9',
'/oracle/D3P/sapdata2/r3620_1/r3620.data1',
'/oracle/D3P/sapdata3/r3usr_1/r3usr.data1',
'/oracle/D3P/sapdata3/r3_13/r3.data13',
'/oracle/D3P/sapdata3/r3_10/r3.data10',
'/oracle/D3P/sapdata2/r3620_2/r3620.data2',
'/oracle/D3P/sapdata3/r3620_3/r3620.data3',
'/oracle/D3P/sapdata3/r3_11/r3.data11',
'/oracle/D3P/sapdata3/r3_12/r3.data12',
'/oracle/D3P/sapdata4/undo_1/undo.data1',
'/oracle/D3P/sapdata3/r3620_4/r3620.data4',
'/oracle/D3P/sapdata4/r3_14/r3.data14',
'/oracle/D3P/sapdata4/r3_15/r3.data15',
'/oracle/D3P/sapdata4/r3_16/r3.data16',
'/oracle/D3P/sapdata4/r3_17/r3.data17',
'/oracle/D3P/sapdata2/r3_18/r3.data18',
'/oracle/D3P/sapdata2/r3_19/r3.data19',
'/oracle/D3P/sapdata2/r3_20/r3.data20'
CHARACTER SET UTF8
Here is the results
SQL> CREATE CONTROLFILE REUSE SET DATABASE "D3P" RESETLOGS ARCHIVELOG
-- SET STANDBY TO MAXIMIZE PERFORMANCE
MAXLOGFILES 255
MAXLOGMEMBERS 3
MAXDATAFILES 254
MAXINSTANCES 50
MAXLOGHISTORY 2949
LOGFILE
GROUP 1 (
'/oracle/D3P/origlogA/log_g11m1.dbf',
'/oracle/D3P/mirrlogA/log_g11m2.dbf'
) SIZE 50M,
GROUP 2 (
'/oracle/D3P/origlogB/log_g12m1.dbf',
'/oracle/D3P/mirrlogB/log_g12m2.dbf'
) SIZE 50M,
GROUP 3 (
'/oracle/D3P/origlogA/ 2 3 4 5 6 7 8 '/oracle/D3P/sapd
ata4/r3_16/r3.data16',
ERROR at line 2:
ORA-01967: invalid option for CREATE CONTROLFILE
Similar Messages
-
Hi all,
I am getting this error from adclone.pl when trying to clone a database.
Total System Global Area 444149652 bytes
Fixed Size 73620 bytes
Variable Size 361099264 bytes
Database Buffers 81920000 bytes
Redo Buffers 1056768 bytes
CREATE CONTROLFILE REUSE SET DATABASE "NAME"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01565: error in identifying file '/path/name.DBF'
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directoryit is true the actual file does not exist and is not essential for the running of the database.
Is the information to create the controlfile held in a context file and if so is it possible to edit the file and remove the offending line?
regards
Alan
Edited by: alanm on Sep 14, 2011 3:56 PMit is true the actual file does not exist and is not essential for the running of the database.
Is the information to create the controlfile held in a context file and if so is it possible to edit the file and remove the offending line?It is possible (as mentioned above) but this may not guarantee that the script would work for the other database files which may not exist.
Troubleshooting RapidClone issues with Oracle Applications R12 [ID 603104.1]
Troubleshooting RapidClone issues with Oracle Applications 11i [ID 364565.1]
The best approach to fix this issue is by running preclone again on the source nodes, copy the files and run postclone then.
Thanks,
Hussein -
Error creating controlfile in linux
hi my crt statement is
CREATE CONTROLFILE
SET DATABASE smsdev
LOGFILE GROUP 1 ('/u01/app/oracle/oradata/smsdev/redo01_01.log',
'/u01/app/oracle/oradata/smsdev/redo01_02.log'),
GROUP 2 ('/u01/app/oracle/oradata/smsdev/redo02_01.log',
'/u01/app/oracle/oradata/smsdev/redo02_02.log'),
GROUP 3 ('/u01/app/oracle/oradata/smsdev/redo03_01.log',
'/u01/app/oracle/oradata/smsdev/redo03_02.log')
RESETLOGS
DATAFILE '/u01/app/oracle/oradata/smsdev/system01.dbf' SIZE 3M,
'/u01/app/oracle/oradata/smsdev/rbs01.dbs' SIZE 5M,
'/u01/app/oracle/oradata/smsdev/users01.dbs' SIZE 5M,
'/u01/app/oracle/oradata/smsdev/temp01.dbs' SIZE 5M
MAXLOGFILES 50
MAXLOGMEMBERS 3
MAXLOGHISTORY 400
MAXDATAFILES 200
MAXINSTANCES 6
ARCHIVELOG;
am geting this error ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01565: error in identifying file
'/u01/app/oracle/oradata/smsdev/system01.dbf'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
what could be the problem , dir u01/app/oracle/oradata/smsdev is empty at the moment
Edited by: Tshifhiwa on 2012/03/17 3:47 PMam starting database i already created database,how can i create this file DATAFILE '/u01/app/oracle/oradata/smsdev/system01.dbf' size 5m,
'/u01/app/oracle/oradata/smsdev/undo01.dbf' size 5m,
'/u01/app/oracle/oradata/smsdev/users01.dbf' size 5m,
'/u01/app/oracle/oradata/smsdev/temp01.dbf' size 5m
my create script is CREATE CONTROLFILE
REUSE DATABASE smsdev
LOGFILE GROUP 1 ('/u01/app/oracle/oradata/smsdev/redo01_01.log',
'/u01/app/oracle/oradata/smsdev/redo01_02.log'),
GROUP 2 ('/u01/app/oracle/oradata/smsdev/redo02_01.log',
'/u01/app/oracle/oradata/smsdev/redo02_02.log'),
GROUP 3 ('/u01/app/oracle/oradata/smsdev/redo03_01.log',
'/u01/app/oracle/oradata/smsdev/redo03_02.log')
RESETLOGS
DATAFILE '/u01/app/oracle/oradata/smsdev/system01.dbf' size 5m,
'/u01/app/oracle/oradata/smsdev/undo01.dbf' size 5m,
'/u01/app/oracle/oradata/smsdev/users01.dbf' size 5m,
'/u01/app/oracle/oradata/smsdev/temp01.dbf' size 5m
MAXLOGFILES 50
MAXLOGMEMBERS 3
MAXLOGHISTORY 400
MAXDATAFILES 200
MAXINSTANCES 6
ARCHIVELOG;
Edited by: Tshifhiwa on 2012/03/17 4:08 PM
Edited by: Tshifhiwa on 2012/03/17 4:28 PM
Edited by: Tshifhiwa on 2012/03/17 4:29 PM -
Sapinst error backup/restore phase create controlfile
Hello experts
I am doing a homogeneous system copy using database specific tools backup/restore.Oracle 10.2.0.5, HP-UX, ECC 6.0
Source = ZD1 and Target = ZD1 (Yes they are both same) Source was a fresh install with brand new Export data (SID = ZD1) and now we are replacing the database with a copy of our existing Dev system (also SID = ZD1)
Restored the backup over target using OFFLINE backup. Have not run any "recover database ...." or "alter database open resetlogs" yet because sapinst is suppose to do this.
My control script looks like this: filename = CONTROL.SQL
STARTUP NOMOUNT
CREATE CONTROLFILE REUSE SET DATABASE "ZD1" RESETLOGS ARCHIVELOG
MAXLOGFILES 255
MAXLOGMEMBERS 3
MAXDATAFILES 254
MAXINSTANCES 50
MAXLOGHISTORY 23371
LOGFILE
GROUP 1 (
'/oracle/ZD1/origlogA/log_g11m1.dbf',
then all the data file paths (which I verified to be correct)
ends with:
'/oracle/ZD1/sapdata4/sr3_61/sr3.data61',
'/oracle/ZD1/sapdata4/sr3_62/sr3.data62'
CHARACTER SET UTF8
Now here is the issue:
1) When I manually run the CONTROL.SQL and then just do a alter database open resetlogs everything is fine. Database mounts and opens fine. However when I run the sapinst it tries to run the CONTROL.SQL again and messes up everything. I would like to skip this phase in sapinst and change ERROR to OK in keydb.xml file. Question is when should I do this ? Before starting sapinst so that it skips this or during the phase it stops and asks for backup/restore ?
2) Instead creating files manually I also let sapinst do this. But it throws an error during control file creation. When I used the above CONTROL.SQL it says must use resetlogs to open database. Then I restored all over again and added the line alter database open resetlogs at the end of CONTROL.SQL
'/oracle/ZD1/sapdata4/sr3_61/sr3.data61',
'/oracle/ZD1/sapdata4/sr3_62/sr3.data62'
CHARACTER SET UTF8
ALTER DATABASE OPEN RESTLOGS;
And then ran sapinst again from scratch and now it throws error file 1 needs media recovery.
This is weird and I don't know why sapinst acting smart here and wont let me do it and when it does it by himself it messes up.
Is my CONTROL.SQL scripts correct ? Whats the best approach here.
Thank youHello Nicholas
Thank you. I have replaced the CONTROL>SQL in the installation directory itself. Its in /tmp/sapinst_instdir/ERP/LM/COPY/ORA/SYSTEM/CENTRAL/AS And yes it IS picking up the control.sql that I provided and not the default.
DatabaseSAP
Thank you. I have never commented anything in keydb.xml before. But sounds like a good idea because if I can restore it myself I really want to skip this step. Should I just do it before start of sapinst and what exact lines to comment ? Which keydb should I edit ? I found several but looks like ./ERP/LM/COPY/ORA/SYSTEM/CENTRAL/AS/keydb.xml is the right one.
root@zepsapa1 # find . -name keydb.xml
./NW04S/LM/AS-JAVA/ADDIN/ORA/CENTRAL/DB/keydb.xml
./NW04S/LM/AS-JAVA/ADDIN/ORA/CENTRAL/DB/log_20_Apr_2011_05_48_52/keydb.xml
./NW04S/LM/AS-JAVA/ADDIN/ORA/CENTRAL/DB_backup/keydb.xml
./NW04S/LM/AS-JAVA/ADDIN/ORA/CENTRAL/SCS/keydb.xml
./NW04S/LM/PRC/keydb.xml
./NW04S/LM/UNINSTALL/AS/keydb.xml
./NW04S/LM/UNINSTALL/AS/log_05_Dec_2011_07_39_50/keydb.xml
./ERP/LM/USR/keydb.xml
./ERP/LM/USR/log_15_Dec_2011_15_43_02/keydb.xml
./ERP/LM/USR/log_14_Dec_2011_16_15_35/keydb.xml
./ERP/LM/PRC/keydb.xml
./ERP/LM/COPY/ORA/SYSTEM/CENTRAL/AS/keydb.xml
./ERP/LM/COPY/ORA/SYSTEM/CENTRAL/AS/log_19_Dec_2011_08_48_00/keydb.xml
./ERP/SYSTEM/ORA/CENTRAL/AS/keydb.xml
./ERP/SYSTEM/ORA/CENTRAL/AS/log_16_Dec_2011_12_41_11/keydb.xml
./ERP/SYSTEM/ORA/CENTRAL/AS/log_16_Dec_2011_13_03_45/keydb.xml
./ERP/SYSTEM/ORA/CENTRAL/AS/log_18_Dec_2011_08_05_17/keydb.xml
Also what exactly am I commenting here ? I see step RunControlScript is the one causing problems and I dont want it to create any control files. Please advise what exactly I need to comment and when. And what about changing the ERROR to OK ?
<strval><![CDATA[]]>
</strval>
</fld>
</row>
<row>
<fld name="STEPKEY">
<strval><![CDATA[|NW_Doublestack_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBOBR|ind|ind|ind|ind|1|0|NW_OraOBR|ind|ind|ind|ind|4|0|RunControlScript]]>
</strval>
</fld>
<fld name="STATUS">
<strval><![CDATA[ERROR]]>
</strval>
</fld>
<fld name="STOP_BEFORE">
<strval><![CDATA[]]>
</strval>
</fld>
<fld name="STOP_AFTER">
<strval><![CDATA[]]>
</strval>
Thank you -
Error, while creating a control file
Hi All,
DB Version :- SQL*Plus: Release 10.2.0.3.0
I am in process of carrying out full db refresh from cold backup. I came across with following, while creating a contrl file. strange to see two dbf's has same file_id. Please help me to solve this issue.
==
SQL> @a.sql
CREATE CONTROLFILE SET DATABASE LNRATU2 RESETLOGS NOARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01167: two files are the same file/group number or the same file
ORA-01110: data file 6: '/data/oracle/LNRATU2/data02/LNRATU2_audits.dbf'
ORA-01110: data file 6: '/data/oracle/LNRATU2/data01/LNRATU2_audits_01.dbf'
===
hare krishnaThanks.. Find below the a.sql contents.
CREATE CONTROLFILE SET DATABASE LNRATU2 RESETLOGS NOARCHIVELOG
MAXLOGFILES 5
MAXLOGMEMBERS 3
MAXDATAFILES 300
MAXINSTANCES 1
MAXLOGHISTORY 58720
LOGFILE
GROUP 2 (
'/data/oracle/LNRATU2/redo01/LNRATU2_redo02a.dbf',
'/data/oracle/LNRATU2/redo02/LNRATU2_redo02b.dbf'
) SIZE 500M,
GROUP 3 (
'/data/oracle/LNRATU2/redo01/LNRATU2_redo03a.dbf',
'/data/oracle/LNRATU2/redo02/LNRATU2_redo03b.dbf'
) SIZE 500M
DATAFILE
'/data/oracle/LNRATU2/data01/LNRATU2_audits_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_02.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_03.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_04.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_05.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_06.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_07.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_08.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_09.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_10.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_11.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_12.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_13.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_14.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_15.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_16.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_17.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_18.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_19.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_20.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_21.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_22.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_23.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_24.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_25.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_26.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_27.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_28.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_29.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_DATA01_30.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_02.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_03.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_04.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_05.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_06.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_07.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_08.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_09.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_10.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_11.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_12.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_13.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_14.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_15.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_16.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_INDX01_19.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_MCINFO_DATA01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_MCINFO_INDX01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_MCINFO_LOB01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_quest_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_RATEOD_LOB01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_RMS_DATA01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_RMS_DATA01_02.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_RMS_INDX01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_RMS_INDX01_02.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_RMS_INDX01_03.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_RMS_LOB01_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_sysaux_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_system01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_tools_01.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_UNDOTBS101.dbf',
'/data/oracle/LNRATU2/data01/LNRATU2_users_01.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_audits.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_31.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_32.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_33.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_34.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_35.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_36.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_37.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_38.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_39.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_40.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_DATA01_41.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_17.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_18.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_20.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_21.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_22.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_23.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_24.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_25.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_26.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_27.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_28.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_29.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_30.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_31.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_32.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_33.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_34.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_35.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_36.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_37.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_INDX01_38.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_quest_01.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RATEOD_LOB01_02.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RMS_DATA01_03.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RMS_DATA01_04.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RMS_DATA01_05.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RMS_INDX01_04.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RMS_INDX01_05.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RMS_INDX01_06.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_RMS_INDX01_07.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_statpack_01.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_sysaux_01.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_system01.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_tools_01.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_UNDOTBS1_02.dbf',
'/data/oracle/LNRATU2/data02/LNRATU2_users_01.dbf'
CHARACTER SET WE8ISO8859P1
hare krishna -
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> -
Error in creating Duplicate Database in same server..
Hi,
I am getting following error when creating duplicate database
DB Version=10.2.0.4
$ rman target sys/sys@test nocatalog auxiliary /
Recovery Manager: Release 10.2.0.4.0 - Production on Mon Sep 28 15:13:32 2009
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: TEST (DBID=1702666620, not open)
using target database control file instead of recovery catalog
connected to auxiliary database: CLNTEST (not mounted)
RMAN> DUPLICATE TARGET DATABASE TO "CLNTEST";
Starting Duplicate Db at 28-SEP-09
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: sid=156 devtype=DISK
contents of Memory Script:
set until scn 597629461;
set newname for datafile 1 to
"/u01/data_new/clonetest/system01.dbf";
set newname for datafile 2 to
"/u01/data_new/clonetest/undotbs01.dbf";
set newname for datafile 3 to
"/u01/data_new/clonetest/sysaux01.dbf";
set newname for datafile 4 to
"/u01/data_new/clonetest/users01.dbf";
set newname for datafile 5 to
"/u01/data_new/clonetest/example01.dbf";
set newname for datafile 6 to
"/u01/data_new/clonetest/undotbs02.dbf";
set newname for datafile 7 to
"/u01/data_new/clonetest/alweb1.dbf";
set newname for datafile 8 to
"/u01/data_new/clonetest/indx1.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
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 28-SEP-09
using channel ORA_AUX_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/28/2009 15:13:40
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 8 found to restore
RMAN-06023: no backup or copy of datafile 7 found to restore
RMAN-06023: no backup or copy of datafile 6 found to restore
RMAN-06023: no backup or copy of datafile 5 found to restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
RMAN> crosscheck backupset of datafile 1;
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=154 devtype=DISK
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
Crosschecked 2 objects
RMAN> crosscheck backupset of datafile 2;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
Crosschecked 2 objects
RMAN> crosscheck backupset of datafile 3;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
Crosschecked 2 objects
RMAN> crosscheck backupset of datafile 4;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
Crosschecked 2 objects
RMAN> crosscheck backupset of datafile 5;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
Crosschecked 2 objects
RMAN> crosscheck backupset of datafile 6;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
Crosschecked 2 objects
RMAN> crosscheck backupset of datafile 7;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
Crosschecked 2 objects
Thanks,Hi,
RMAN> show all;
using target database control file instead of recovery catalog
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
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 PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
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 ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/ora10g/product/10.2.0/db_1/dbs/snapcf_TEST.f'; # default
Thanks, -
Error in creating control file for 2 node RAC database
SQL> CREATE CONTROLFILE set DATABASE "SBLS" RESETLOGS NOARCHIVELOG
2 MAXLOGFILES 192
3 MAXLOGMEMBERS 3
4 MAXDATAFILES 1024
5 MAXINSTANCES 32
6 MAXLOGHISTORY 292
7 DATAFILE
8 '+SBLDATA/SBLTST/DATAFILE/system.dbf'
9 '+SBLDATA/SBLTST/DATAFILE/sysaux.dbf'
10 '+SBLDATA/SBLTST/DATAFILE/undotbs1.dbf'
11 '+SBLDATA/SBLTST/DATAFILE/undotbs2.dbf'
12 '+SBLDATA/SBLTST/DATAFILE/users.dbf'
13 '+SBLDATA/SBLTST/DATAFILE/sbl_data.dbf'
14 '+SBLDATA/SBLTST/DATAFILE/sbl_idx.dbf';
'+SBLDATA/SBLTST/DATAFILE/sysaux.dbf'
ERROR at line 9:
ORA-01967: invalid option for CREATE CONTROLFILE
Please advice.ASMCMD> pwd
+sblDATA/SBLTST/DATAFILE
ASMCMD> ls -l
Type Redund Striped Time Sys Name
DATAFILE UNPROT COARSE MAY 29 14:00:00 Y SBL_DATA.258.815440497
DATAFILE UNPROT COARSE MAY 29 14:00:00 Y SBL_IDX.259.815441389
DATAFILE UNPROT COARSE DEC 26 11:00:00 Y SYSAUX.272.802440861
DATAFILE UNPROT COARSE MAY 29 14:00:00 Y SYSAUX.282.804173239
DATAFILE UNPROT COARSE MAY 29 13:00:00 Y SYSTEM.262.804173239
DATAFILE UNPROT COARSE DEC 26 11:00:00 Y SYSTEM.271.802440859
DATAFILE UNPROT COARSE MAY 29 14:00:00 Y UNDOTBS1.270.804173239
DATAFILE UNPROT COARSE DEC 26 11:00:00 Y UNDOTBS1.273.802440861
DATAFILE UNPROT COARSE MAY 29 14:00:00 Y UNDOTBS2.265.804173409
DATAFILE UNPROT COARSE DEC 26 11:00:00 Y UNDOTBS2.279.802441035
DATAFILE UNPROT COARSE MAY 29 14:00:00 Y USERS.264.804173239
DATAFILE UNPROT COARSE DEC 26 11:00:00 Y USERS.274.802440861
N sbl_data.dbf => +SBLDATA/SBLTST/DATAFILE/SBL_DATA.258.815440497
N sbl_idx.dbf => +SBLDATA/SBLTST/DATAFILE/SBL_IDX.259.815441389 -
Rapid install gettin error when create control file
hai all ,
i faced problem when im install fresh ebs R12
my environment :
sun sparc 64 bit
solaris 11
this occur when i try to install fresh R12
using rapidwiz , the error say ORA-00821: Specified value of sga_target 1024M is too small, needs to be at least 2100M
and when creating control file failed,
is any clue with this problem ?
all prerequisite reference to doc :
R12.1.1 : Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Oracle Solaris on SPARC (64-bit) (Doc ID 761568.1)
the detail log below this
Log file located at /oracle/PROD/db/tech_st/11.1.0/appsutil/log/PROD_SMJKT-PRFND01/ApplyDatabase_11071358.log
^M
| 0% completed ^M
/ 0% completed ^M
- 0% completed ^M
\ 0% completed RC-50004: Fatal: Error occurred in ApplyDatabase:
Control file creation failed
Cannot execute configure of database using RapidClone
RW-50010: Error: - script has returned an error: 1
RW-50004: Error code received when running external process. Check log file for details.
Running Database Install Driver for PROD instance
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORA-00821: Specified value of sga_target 1024M is too small, needs to be at least 2100M
ORA-01078: failure in processing system parameters
CREATE CONTROLFILE REUSE SET DATABASE "PROD"
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
alter database open resetlogs
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0hai asif,
solved my problem , with this doc
Oracle VM Server for SPARC (previously known as LDoms or Logical Domains) :
To set the number of VCPUs for a given Logical Domain (LDom), use the 'ldm(1M)' with the 'set-vcpu' option:
# /opt/SUNWldm/bin/ldm set-vcpu <number> <logical_domain>
For example to configure eight VCPUs for the Logical Domain named "ebs1":
# /opt/SUNWldm/bin/ldm set-vcpu 8 ebs1
Please review the Logical Domains Administration guide for detailed information.
Users can then revert the number of VPUs to the original or desired values as a post EBS install step.
thanks a lot..
regards
Imrons -
ORA-01503: CREATE CONTROLFILE failed
Hello.
I'm trying to install an ORACLE EBS 11i on an Oracle Linux Release 5 Update 5 Media Pack v1 for x86 (32 bit) from stage.
The process is going great until the "Creating the database controlfile..." step. It crashes there.
I've looked in the log file and this is what I can find:
ORACLE_HOME : /u01/oracle/visdb/9.2.0
ORACLE_SID : VIS
TWO_TASK :
PATH : /u01/oracle/visdb/9.2.0/Apache/perl/bin:/u01/oracle/visdb/9.2.0/bin:/usr/bin:/usr/sbin:/u01/oracle/visdb/9.2.0/jre/1.4.2/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/bin:/usr/bin:/u01/Stage11i/startCD/Disk1
/rapidwiz/unzip/Linux:/usr/bin:/usr/local/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
LD_LIBRARY_PATH : /u01/oracle/visdb/9.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/u01/oracle/visdb/9.2.0/ctx/lib
Executable : /u01/oracle/visdb/9.2.0/bin/sqlplus
The log information will be written to
/u01/oracle/visdb/9.2.0/appsutil/log/VIS_ebs/adcrdb_VIS.txt
Creating the control file for VIS_ebs database ...
SQL*Plus: Release 9.2.0.5.0 - Production on Wed Feb 23 17:28:54 2011
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 581506616 bytes
Fixed Size 452152 bytes
Variable Size 402653184 bytes
Database Buffers 167772160 bytes
Redo Buffers 10629120 bytes
CREATE CONTROLFILE REUSE SET DATABASE "VIS"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01565: error in identifying file '/u01/oracle/visdata/tx_data11.dbf'
ORA-27046: file size is not a multiple of logical block size
Additional information: 1
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP add tempfile '/u01/oracle/visdata/tmp1.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
ALTER DATABASE RENAME GLOBAL_NAME TO "VIS.gdmelectronics.com"
ERROR at line 1:
ORA-01109: database not open
ORA-01507: database not mounted
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 581506616 bytes
Fixed Size 452152 bytes
Variable Size 402653184 bytes
Database Buffers 167772160 bytes
Redo Buffers 10629120 bytes
ORA-00205: error in identifying controlfile, check alert log for more info
BEGIN dbms_backup_restore.zeroDbid(0); END;
ERROR at line 1:
ORA-00210: cannot open the specified controlfile
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 3284
ORA-06512: at line 1
ORACLE instance shut down.
Connected to an idle instance.
ORACLE instance started.
Total System Global Area 581506616 bytes
Fixed Size 452152 bytes
Variable Size 402653184 bytes
Database Buffers 167772160 bytes
Redo Buffers 10629120 bytes
CREATE CONTROLFILE REUSE SET DATABASE "VIS"
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01565: error in identifying file '/u01/oracle/visdata/tx_data11.dbf'
ORA-27046: file size is not a multiple of logical block size
Additional information: 1
alter database open resetlogs
ERROR at line 1:
ORA-01507: database not mounted
alter tablespace TEMP add tempfile '/u01/oracle/visdata/tmp1.dbf' REUSE
ERROR at line 1:
ORA-01109: database not open
Is there something I'm doing wrong ?
How do I create a new control file and use it ?
I don't know if I gave needed information. If you need more details, please ask and I will try to provide them.
Thank you and regards,
Sorin MiroiuHi schavali.
Thanks for the quick reply.
I've checked and that file doesn't exists.
[root@ebs ~]# ls /u01/oracle/visdata/
apps_ts_tx_interface.dbf media1.dbf owa1.dbf summary2.dbf sys4.dbf tx_data1.dbf tx_data8.dbf tx_idx4.dbf undo02.dbf
archive1.dbf media2.dbf portal.dbf summary3.dbf sys5.dbf tx_data2.dbf tx_data9.dbf tx_idx5.dbf undo03.dbf
archive2.dbf media3.dbf queues1.dbf summary4.dbf sys6.dbf tx_data3.dbf tx_idx10.dbf tx_idx6.dbf undo04.dbf
ctx1.dbf mobile01.dbf queues2.dbf summary5.dbf sys7.dbf tx_data4.dbf tx_idx11.dbf tx_idx7.dbf
log1.dbf nologging1.dbf reference1.dbf sys1.dbf tmp1.dbf tx_data5.dbf tx_idx1.dbf tx_idx8.dbf
log2.dbf odm.dbf reference2.dbf sys2.dbf tx_data10.dbf tx_data6.dbf tx_idx2.dbf tx_idx9.dbf
log3.dbf olap.dbf summary1.dbf sys3.dbf tx_data11.dbf tx_data7.dbf tx_idx3.dbf undo01.dbf
For some reason it stops at tx_data9.dbf.
I will try to start the install all over again and comeback with feedback.
I think I will redo the DB stage as well.
Regards,
Sorin Miroiu -
Problem in Creating controlfile
Hi All,
am planning to system copy, databse restored succesfuly on target system, created control file on source system.
copied the control file on target system in /oracle/MDQ/saptrace/usertrace and renamed it as control.sql.
when am trying to generate conrol file on target system as : @/oracle/MDQ/saptrace/usertrace/control.sql
getting error as :
ORACLE instance started.
Total System Global Area 2365587456 bytes
Fixed Size 2144144 bytes
Variable Size 1203685488 bytes
Database Buffers 1157627904 bytes
Redo Buffers 2129920 bytes
CREATE CONTROLFILE REUSE SET DATABASE "MDQ" RESETLOGS ARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01200: actual file size of 27520 is smaller than correct size of 110080
blocks
ORA-01110: data file 1: '/oracle/MDQ/sapdata1/system_1/system.data1'
ORA-01507: database not mounted
ALTER SYSTEM ARCHIVE LOG ALL
ERROR at line 1:
ORA-01507: database not mounted
ALTER DATABASE OPEN
ERROR at line 1:
ORA-01507: database not mounted
ALTER TABLESPACE PSAPTEMP ADD TEMPFILE '/oracle/MDQ/sapdata2/temp_1/temp.data1'
ERROR at line 1:
ORA-01109: database not open
ORA-01081: cannot start already-running ORACLE - shut it down first
CREATE CONTROLFILE REUSE SET DATABASE "MDQ" RESETLOGS ARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01200: actual file size of 27520 is smaller than correct size of 110080
blocks
ORA-01110: data file 1: '/oracle/MDQ/sapdata1/system_1/system.data1'
Kindly suggest.Hi,
i have chaecked the size of file system on source and target system, there is a huge differnce.
Please refer this useful document to perform complete [Oracle DB Restore using Offline/Online Backup|http://www.basisconsultant.com/component/remository/Sytem-Copy-Guides/Homogeneous-System-Copy-using-OnlineandOffline-Backup/] in systematic way .
BRARCHIVE - Return code: 0001 Success with warnings ( some offline redolog files not found).
Perform manual Log switching and ensure the availability of Offline Redo log files at Log Archive location (log_archive_dest). Then run Archive Log Backup Job.
Also please refer this useful SAP Note 490976 - BR013W No offline redo log files found for processing, to get info about the other possible causes.
Regards
Bhavik G. Shroff -
RMAN-06067: RECOVER DATABASE required with a backup or created controlfile
Hi,
DB:9.2.0.8
OS: AIX 5.3
I am restoring DB with until time(12/06/2012) for needed tablespaces.
I restored the 12th date controlfile ,which is backed up with archivedlogs. I also have one more controlfile which backed up with full DB..
Restore of tablespaces are completed..
When recovery is going , failed with following error..
allocated channel: c7
channel c7: sid=22 devtype=SBT_TAPE
channel c7: VERITAS NetBackup for Oracle - Release 5.1 (2006040520)
allocated channel: c8
channel c8: sid=21 devtype=SBT_TAPE
channel c8: VERITAS NetBackup for Oracle - Release 5.1 (2006040520)
executing command: SET until clause
Starting recover at 23-06-2012 02:00:15
released channel: c1
released channel: c2
released channel: c3
released channel: c4
released channel: c5
released channel: c6
released channel: c7
released channel: c8
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 06/23/2012 03:36:57
RMAN-06067: RECOVER DATABASE required with a backup or created controlfile
RMAN>
Restore Script:
connect target /
connect catalog rmanc/recom@lgn_rmanc
run {
allocate channel c1 type 'SBT_TAPE';
allocate channel c2 type 'SBT_TAPE';
allocate channel c3 type 'SBT_TAPE';
allocate channel c4 type 'SBT_TAPE';
allocate channel c5 type 'SBT_TAPE';
allocate channel c6 type 'SBT_TAPE';
allocate channel c7 type 'SBT_TAPE';
allocate channel c8 type 'SBT_TAPE';
allocate channel c9 type 'SBT_TAPE';
allocate channel c10 type 'SBT_TAPE';
allocate channel c11 type 'SBT_TAPE';
allocate channel c12 type 'SBT_TAPE';
set until time '12-06-2012 00:01:26';
restore tablespace SYSTEM,UNDO_GEN01,UNDO_GEN02,TAB_80K_GENCON,TAB_25M_GENCON;
release channel c1;
release channel c2;
release channel c3;
release channel c4;
release channel c5;
release channel c6;
release channel c7;
release channel c8;
release channel c9;
release channel c10;
release channel c11;
release channel c12;
Recover Script:
connect catalog rmanc/recom@lgn_rmanc
connect target /
run {
allocate channel c1 type 'SBT_TAPE';
allocate channel c2 type 'SBT_TAPE';
allocate channel c3 type 'SBT_TAPE';
allocate channel c4 type 'SBT_TAPE';
allocate channel c5 type 'SBT_TAPE';
allocate channel c6 type 'SBT_TAPE';
allocate channel c7 type 'SBT_TAPE';
allocate channel c8 type 'SBT_TAPE';
set until time '12-06-2012 00:01:26';
recover tablespace SYSTEM,UNDO_GEN01,UNDO_GEN02,TAB_80K_GENCON,TAB_25M_GENCON;
release channel c1;
release channel c2;
release channel c3;
release channel c4;
release channel c5;
release channel c6;
release channel c7;
release channel c8;
Any suggestion in this is helpful to me..
Thanks in advance,Hello;
I read your post and here's the thoughts that came to mind : ( my largest concern is you might restore something that damages your current system )
1. So you want to restore the whole DB back to 12/06/2012 to get some tablespaces from then right?
2. Are you restoring to a different system?
3. How did you start the database ( NOMOUNT, MOUNT )
4. If you are restoring the whole DB back to 12/06/2012 how did you restore the control file?
5. Your command shows :
restore tablespace SYSTEM,UNDO_GEN01,UNDO_GEN02,TAB_80K_GENCON,TAB_25M_GENCON;
COMMENT : Generally I use recover tablespace for point in time recovery and use an auxilary destination.
Meaning I don't use restore at all, in fact using restore may cause an issue.
SUMMARY : I don't see how this will work as is.
It seems you want data from five tablespaces from about six months ago including the SYSTEM tablespace.
This is an Incomplete Recovery. I believe I would rethink this completely.
Give the time that has past I would consider restoring the whole database to a different server where cannot damage anything.
Once this is done I would decide how to get the data I need.
Or I would check for a daily export file and recover the tablespace data that way.
So you have some good details on your question but it seems the plan is either missing something or you need to add a few more details.
Example
I'm recovering old tablespaces into a test system.
Here's how I'm not damaging my current production system.
I don't have an export from that date.
So take a step back and either rethink or give a few more details on how this is safe.
Best Regards
mseberg -
Hi All,
OS:Solaris
DB:10G
When i am trying to create database manually over putty i am facing the below mantioned error:
SQL> CREATE DATABASE ettest>2 USER SYS IDENTIFIED BY ****
>3 USER SYSTEM IDENTIFIED BY *****
>4 LOGFILE GROUP 1 ('/11g/oradata/admin/data/logfiles/redo01.log') SIZE 50M,
>5 GROUP 2 ('/11g/oradata/admin/data/logfiles/redo02.log') SIZE 50M,
>6 GROUP 3 ('/11g/oradata/admin/data/logfiles/redo03.log') SIZE 50M
>7 MAXLOGFILES 5
>8 MAXLOGMEMBERS 5
>9 MAXLOGHISTORY 1
>10 MAXDATAFILES 100
>11 MAXINSTANCES 1
>12 CHARACTER SET US7ASCII
>NATIONAL CHARACTER SET AL16UTF16
>13 14 DATAFILE '/11g/oradata/admin/data/datafiles/system01.dbf' SIZE 325M REUSE
>15 EXTENT MANAGEMENT LOCAL
>16 sysaux datafile 'D:\oracle\databases\ora10\sysaux.dbf'
>17 size 10M autoextend on next 10M maxsize unlimited
>18 DEFAULT TEMPORARY TABLESPACE tempts1
>19 TEMPFILE '/vobs/oracle/oradata/mynewdb/temp01.dbf'
>20 UNDO TABLESPACE undotbs
>21 DATAFILE '/11g/oradata/admin/data/datafiles/undotbs01.dbf'
>22 SIZE 200M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED;
CREATE DATABASE ettest
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forcedThis seeems to be a generic error, kinldy help.
Regards,
Sphinx
Edited by: $phinx19 on Oct 28, 2012 8:54 PMHi SB,
Well i did try this earlier also, here is the o/p of alert:
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as /data3/ora10/dbs/arch
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
processes = 150
control_files = /11g/oradata/admin/data/controlfiles/control01.ctl, /11g/oradata/admin/data/controlfiles/control02.ctl
db_block_size = 8192
compatible = 10.2.0.1.0
undo_management = AUTO
undo_tablespace = undotbs
cursor_sharing = FORCE
background_dump_dest = /11g/oradata/admin/ettest/bdump
user_dump_dest = /11g/oradata/admin/ettest/udump
core_dump_dest = /11g/oradata/admin/ettest/cdump
db_name = ettest
open_cursors = 300
PMON started with pid=2, OS id=16987
PSP0 started with pid=3, OS id=16989
MMAN started with pid=4, OS id=16991
DBW0 started with pid=5, OS id=16993
DBW1 started with pid=6, OS id=16995
LGWR started with pid=7, OS id=16997
CKPT started with pid=8, OS id=16999
SMON started with pid=9, OS id=17001
RECO started with pid=10, OS id=17003
MMON started with pid=11, OS id=17005
MMNL started with pid=12, OS id=17007
^[Mon Oct 29 09:46:14 2012
CREATE DATABASE ettest
USER SYS IDENTIFIED BY ****USER SYSTEM IDENTIFIED BY ****LOGFILE GROUP 1 ('/11g/oradata/admin/data/logfiles/redo01.log') SIZE 50M,
GROUP 2 ('/11g/oradata/admin/data/logfiles/redo02.log') SIZE 50M,
GROUP 3 ('/11g/oradata/admin/data/logfiles/redo03.log') SIZE 50M
MAXLOGFILES 5
MAXLOGMEMBERS 5
MAXLOGHISTORY 1
MAXDATAFILES 100
MAXINSTANCES 1
CHARACTER SET US7ASCII
NATIONAL CHARACTER SET AL16UTF16
DATAFILE '/11g/oradata/admin/data/datafiles/system01.dbf' SIZE 325M REUSE
EXTENT MANAGEMENT LOCAL
sysaux datafile 'D:\oracle\databases\ora10\sysaux.dbf'
size 10M autoextend on next 10M maxsize unlimited
DEFAULT TEMPORARY TABLESPACE tempts1
TEMPFILE '/vobs/oracle/oradata/mynewdb/temp01.dbf'
UNDO TABLESPACE undotbs
DATAFILE '/11g/oradata/admin/data/datafiles/undotbs01.dbf'
SIZE 200M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
Mon Oct 29 09:46:14 2012
Database mounted in Exclusive Mode
Mon Oct 29 09:46:16 2012
Successful mount of redo thread 1, with mount id 4239425638
Assigning activation ID 4239425638 (0xfcb08066)
Thread 1 opened at log sequence 1
Current log# 1 seq# 1 mem# 0: /11g/oradata/admin/data/logfiles/redo01.log
Successful open of redo thread 1
Mon Oct 29 09:46:16 2012
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Mon Oct 29 09:46:16 2012
SMON: enabling cache recovery
Mon Oct 29 09:46:16 2012
create tablespace SYSTEM datafile '/11g/oradata/admin/data/datafiles/system01.dbf' SIZE 325M REUSE
EXTENT MANAGEMENT LOCAL online
Mon Oct 29 09:46:18 2012
Completed: create tablespace SYSTEM datafile '/11g/oradata/admin/data/datafiles/system01.dbf' SIZE 325M REUSE
EXTENT MANAGEMENT LOCAL online
Mon Oct 29 09:46:18 2012
create rollback segment SYSTEM tablespace SYSTEM
storage (initial 50K next 50K)
Completed: create rollback segment SYSTEM tablespace SYSTEM
storage (initial 50K next 50K)
Mon Oct 29 09:46:41 2012
CREATE UNDO TABLESPACE UNDOTBS DATAFILE '/11g/oradata/admin/data/datafiles/undotbs01.dbf'
SIZE 200M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
Mon Oct 29 09:46:43 2012
Successfully onlined Undo Tablespace 1.
Completed: CREATE UNDO TABLESPACE UNDOTBS DATAFILE '/11g/oradata/admin/data/datafiles/undotbs01.dbf'
SIZE 200M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
Mon Oct 29 09:46:43 2012
create tablespace SYSAUX datafile 'D:\oracle\databases\ora10\sysaux.dbf'
size 10M autoextend on next 10M maxsize unlimited
EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO online
ORA-1119 signalled during: create tablespace SYSAUX datafile 'D:\oracle\databases\ora10\sysaux.dbf'
size 10M autoextend on next 10M maxsize unlimited
EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO online
Mon Oct 29 09:46:43 2012
Errors in file /11g/oradata/admin/ettest/udump/ettest_ora_17008.trc:
ORA-00604: error occurred at recursive SQL level 1
ORA-01119: error in creating database file 'D:\oracle\databases\ora10\sysaux.dbf'
ORA-27038: created file already exists
Additional information: 1
Mon Oct 29 09:46:43 2012
Errors in file /11g/oradata/admin/ettest/udump/ettest_ora_17008.trc:
ORA-01501: CREATE DATABASE failed
ORA-01519: error while processing file '?/rdbms/admin/sql.bsq' near line 5801
ORA-00604: error occurred at recursive SQL level 1
ORA-01119: error in creating database file 'D:\oracle\databases\ora10\sysaux.dbf'
ORA-27038: created file already exists
Additional information: 1
Error 1519 happened during db open, shutting down database
USER: terminating instance due to error 1519
Instance terminated by USER, pid = 17008
ORA-1092 signalled during: CREATE DATABASE ettest
USER SYS IDENTIFIED BY ****USER SYSTEM IDENTIFIED BY ****LOGFILE GROUP 1 ('/11g/oradata/admin/data/logfiles/redo01.log') SIZE 50M,
GROUP 2 ('/11g/oradata/admin/data/logfiles/redo02.log') SIZE 50M,
GROUP 3 ('/11g/oradata/admin/data/logfiles/redo03.log') SIZE 50M
MAXLOGFILES 5
MAXLOGMEMBERS 5
MAXLOGHISTORY 1
MAXDATAFILES 100
MAXINSTANCES 1
CHARACTER SET US7ASCII
NATIONAL CHARACTER SET AL16UTF16
DATAFILE '/11g/oradata/admin/data/datafiles/system01.dbf' SIZE 325M REUSE
EXTENT MANAGEMENT LOCAL
sysaux datafile 'D:\oracle\databases\ora10\sysaux.dbf'
size 10M autoextend on next 10M maxsize unlimited
DEFAULT TEMPORARY TABLESPACE tempts1
TEMPFILE '/vobs/oracle/oradata/mynewdb/temp01.dbf'
UNDO TABLESPACE undotbs
DATAFILE '/11g/oradata/admin/data/datafiles/undotbs01.dbf'
SIZE 200M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED...
Regards,
Sphinx -
When I try create controlfile reuse resetlogs database 'cms';
ORA-01503: CREATE CONTROLFILE failed
ORA-01565: error in identifying file
'%ORACLE_HOME%\DATABASE\DBS1%ORACLE_SID%.ORA'
ORA-27048: skgfifi: file header information is invalid
OSD-04001: invalid logical block size (OS 1919900730)
What could be the problem? And why is it looking for DBS1%ORACLE_SID%.ORA' should there be such file?
ora11, Win2003 serveranilreddy wrote:
Go to the Trace file location and edit the trace file, recreate the control file at nomount stateI don't get this advice... why should you go to the tracefile location.
In this stadium there might not even be a tracefile.
Have a look at the statement you use. Usually it looks something like this:
CREATE CONTROLFILE REUSE DATABASE "REPT01" NORESETLOGS FORCE LOGGING NOARCHIVELOG
MAXLOGFILES 29
MAXLOGMEMBERS 4
MAXDATAFILES 254
MAXINSTANCES 2
MAXLOGHISTORY 11685
LOGFILE
GROUP 1 '/opt/rept01/re01/repprd_redo1.log' SIZE 50M,
GROUP 2 '/opt/rept01/re01/repprd_redo2.log' SIZE 50M,
GROUP 3 '/opt/rept01/re01/repprd_redo3.log' SIZE 50M,
DATAFILE
'/opt/rept01/db01/repprd_system01.dbf',
'/opt/rept01/db01/undotbs1.dbf',
'/opt/rept01/db01/repprd_sysaux.dbf',
'/opt/rept01/db01/data01.dbf',
'/opt/rept01/db01/data06.dbf'
CHARACTER SET UTF8
;In your case you should check the files mentioned in the DATAFILE section
Maybe post the complete command you're using.
Thanks
FJFranken -
EBS 11.5.10.2 installation Fails - create controlfile
Hello All
I am trying to install EBS 11.5.10.2 (test system) on Oracle Linux 5.8 (Apps tier 32-bit, database tier 64-bit). During the database creation phase I am getting this error: RW-50004 (Creating controlfile), so I checked log files and its says
ORA-01031: insufficient privileges
I tried to login to instance on database tier after sourcing env file but I got the same error. But if I create password file and then login sys/password as sysdba, it logs me in to an idle instance.
But I need rapidwiz to pass this step. So please suggest what should I do?.
Regards
AmitHi Amit,
Hello All
I am trying to install EBS 11.5.10.2 (test system) on Oracle Linux 5.8 (Apps tier 32-bit, database tier 64-bit). During the database creation phase I am getting this error: RW-50004 (Creating controlfile), so I checked log files and its says
ORA-01031: insufficient privileges
I tried to login to instance on database tier after sourcing env file but I got the same error. But if I create password file and then login sys/password as sysdba, it logs me in to an idle instance.
But I need rapidwiz to pass this step. So please suggest what should I do?.
Regards
AmitFirst of all, please note that Oracle 9i (which comes with 11.5.10.2) is not certified on OEL 5
Have you added the OS user who owns the database tier files to the dba group?
OERR: ORA 1031 "insufficient privileges" [ID 18622.1]
Troubleshooting ORA-1031: Insufficient Privileges While Connecting As SYSDBA [ID 730067.1]
At what stage/step you get this error?
Please upload all the installation log files to any free hosting website and post the link here (in one zip file).
You do not need to create a password file at this level, and connecting as sysdba through oracle user and after sourcing the database env file does not need a password file.
Also, please confirm that md5sum was run successfully -- MD5 Checksums for 11i10 Rapid Install Media [ID 289821.1]
Thanks,
Hussein
Maybe you are looking for
-
Transferred data to new macBook Pro, iPhoto won't open
I just recently purchased a new 15" MacBook Pro (2.2GHz) and transferred all data from old 17" MacBook Pro to the new computer. Transfer when without problems. Tried to launch iPhoto and only get the spinning beach ball - not responding on force quit
-
Exporting slices from multiple states doesn't name the 1st state
I've tried various setups in the File > HTML Setup > Document Specific options for setting state names for exported slices, and i've tried the defaults. Whenever I have a page with multiple states, and i want to export a slice from each state, when i
-
Does anyone know how to deal with a HP3054A printer wireless connection that continually tries to connect when the printer is off. This is really annoying and the only way to stop it I can find is to leave the printer on. I have a Dell Studio XPS l
-
Information on the flow of a backing map put() call?
Hi, I've been trying to find information on the flow of a backing map put() call. Can you explain how/when/if the put() is backed up in a distributed cache? e.g. is the backup copy updated during the put call as in the case of a normal put through th
-
Reader Extend to use Web Service?
Quick question that I can't seem to find an answer for, do you need to Reader Extend a form to be able to use a Web Service in Acrobat Reader through Workspace??? Thanks