on 07-14-2013 9:45 PM
Dear Experts,
I have restore online database using differnt SID. Now i am trying 2 create controlfile using below command but i m not able to create.I m getting below error.
CREATE CONTROLFILE SET DATABASE "QAS" RESETLOGS ARCHIVELOG
MAXLOGFILES 255
MAXLOGMEMBERS 3
MAXDATAFILES 254
MAXINSTANCES 50
MAXLOGHISTORY 11680
LOGFILE
GROUP 1 (
'C:\ORACLE\QAS\ORIGLOGA\LOG_
CREATE CONTROLFILE SET DATABASE "QAS" RESETLOGS ARCHIVELOG
*
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00200: control file could not be created
ORA-00202: control file: 'C:\ORACLE\QAS\ORIGLOGA\CNTRL\
Hello
Go to the control file locations (Check pfile or spfile) and delete all the existing control files and then execute the script.
Regards
RB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear deepak /Reagan,
I have delete old file then applied command.control file created. Now I m facing problem during applying log.
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
AUTO
ORA-00308: cannot open archived log
'C:\ORACLE\QAS\ORAARCH\QASARCHARC33413_0733502573.001'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-00308: cannot open archived log
'C:\ORACLE\QAS\ORAARCH\QASARCHARC33413_0733502573.001'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01195: online backup of file 1 needs more recovery to be consistent
ORA-01110: data file 1: 'C:\ORACLE\QAS\SAPDATA1\SYSTEM_1\SYSTEM.DATA1'
Please do needful
Hello Sahil,
Check note 546006 point 3 to verify if you are able to access the directory that contains the file.
Regards,
Eduardo Rezende
Hello
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
AUTO
ORA-00308: cannot open archived log
'C:\ORACLE\QAS\ORAARCH\QASARCHARC33413_0733502573.001'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
I believe you are trying to apply the archived logs of the source system. In that case you cannot specify AUTO here when you have just created the control files with the new SID which is QAS.
You need to specify the archived log file manually. that is instead of AUTO you will specify the archived log file with the complete location.
C:\ORACLE\QAS\ORAARCH\QASARCHARC33413_0733502573.001
Here what you need to change is the SID of the archived log as the archived logs from the source system will have a different naming conventions.
Eg:
From: QASARCHARC33413_0733502573.001
To: PASARCHARC33413_0733502573.001
So you probably will need to adapt the full string like this to apply.
C:\ORACLE\QAS\ORAARCH\PASARCHARC33413_0733502573.001
Regards
RB
Hi Sahil,
Please update the initSID.ora file for parameter log_archive_format to match your archive file nomenclature. Probably if you have SID specified in this paramter , change the SID to QAS instead to PRA & save the file.
Shutdown database
execute command create spfile from pfile;
startup database in mount state
execute recovery command.
Hope this helps.
Regards,
Deepak Kori
Hi Sahil,
Based on the error message
CNTRLQAS.DBF'
ORA-27038: created file already exists
OSD-04010: <create> option specified, file already
Please rename all the control files existing in your system before re-creating new control files.
Hope this helps.
Regards,
Deepak Kori
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.