on 07-02-2014 6:58 AM
Hi ,
I'm performing system copy using backup/ restore method (swpm),while target system installation
I have successfully restored backup but after restoring while continuing with SWPM it stops ORA-01503: CREATE CONTROLFILE failed
but the control file is already created attached the screenshots related to the error and control.sql &alert_SID .log file below .
And implemented SAP notes :205501 & 1983045 .
Kindly give your suggestion to fix or alternative method to build the new system using offline backup .
select name, open_mode, log_mode from v$database;
Could you supply the output of this SQL query ?
Regards
RB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have tried changing the script with startup once & second time with removing CREATE CONTROLFILE SET DATABASE 'MEC' RESETLOGS ARCHIVELOG.
Two times i faced the below error
Error message: ORA-01503: CREATE CONTROLFILE failed ORA-01100: database already mounted ORA-01109: database not open Database dismounted. ORACLE instance shut down. ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance ORACLE instance started. Total System Global Area 2254876672 bytes Fixed Size 2257152 bytes Variable Size 1140854528 bytes Database Buffers 1107296256 bytes Redo Buffers 4468736 bytes Database mounted. Database altered. Database altered. Database closed. Database dismounted. ORACLE instance shut down. Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options . SOLUTION: For more information, see ora_sql_results.log and the Oracle documentation.)
Based on the previous error attached i have modified the control.sql by adding ALTER DATABASE OPEN RESETLOGS;
now i have overcome the error facing , new error hits now details attached below .
now the status is :
SQL> select name, open_mode, log_mode from v$database;
NAME OPEN_MODE LOG_MODE
--------- -------------------- ------------
MEC READ WRITE ARCHIVELOG
Reagan,
I used below in the Control.sql it went through previously attached error messaged occurred now .
STARTUP NOMOUNT
CREATE CONTROLFILE SET DATABASE "QEC" RESETLOGS ARCHIVELOG
----
----
ALTER DATABASE OPEN RESETLOGS;
_________________________
FYI,
the offline backup(which was taken 3 months back) has tablespace PSAPSR3700 , but the control file was taken from source system recently ( which doesn't contain this table PSAPSR3700) .
Do i need to create the table space manually to fix the error facing now
PSAPTEMP tablespace is there but there are no tempfiles.
You need to recreate the tempfiles.
Eg: ALTER TABLESPACE PSAPTEMP ADD TEMPFILE 'G:\ORACLE\MEC\SAPDATA1\temp_1\temp.data1' SIZE 30000M REUSE AUTOEXTEND OFF;
STARTUP NOMOUNT
CREATE CONTROLFILE SET DATABASE "QEC" RESETLOGS ARCHIVELOG
----
----
ALTER DATABASE OPEN RESETLOGS;
To be honest I don't what you are doing now.
Is you database QEC or MEC ?
Regarding the backup, use a valid backup and create the control file script based on that.
Regards
RB
Hello Krishna,
Control files might me from old backup , rename them as .old (from all locations mentioned in pfile) and retry the step in SWPM.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deep ,
As you said i have removed the control file and shutdown the DB , rerun the SWPM it gives below error
DIAGNOSIS: Error message: ORA-00205: error in identifying control file, check alert log for more info Control file created. ORA-01109: database not open Database dismounted. ORACLE instance shut down. ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance ORACLE instance started. Total System Global Area 2254876672 bytes Fixed Size 2257152 bytes Variable Size 1140854528 bytes Database Buffers 1107296256 bytes Redo Buffers 4468736 bytes Database mounted. Database altered. ALTER DATABASE OPEN * ERROR at line 1: ORA-01589: must use RESETLOGS or NORESETLOGS option for database open ORA-01109: database not open Database dismounted. ORACLE instance shut down. Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options . SOLUTION: For more information, see ora_sql_results.log and the Oracle documentation.). You can now:
Hi,
""ALTER DATABASE OPEN * ERROR at line 1: ORA-01589: must use RESETLOGS or NORESETLOGS option for database open ORA-01109: database not open Database dismounted ""
You have to modify control file (control.sql) which is being read by SWPM and maintain alter database open resetlogs there.
As retry will try to create control file again , so kindly rename old control files to .old once again.
Option 2: Start your DB manually using control.sql file and maintain alter database open (only one command in control.sql which is being read by SWPM)
Regards,
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.