Archivelog error
hi,
I am trying to backup archivelog using rman and I get below error in one of the archives over n over. Do I have any option except to either delete or ignore this archivelog and run crosscheck archive all; . I am not interested in missing one archive.
Kindly help !!!
input archive log thread=1 sequence=126888 recid=121969 stamp=660132438
input archive log thread=1 sequence=126889 recid=121970 stamp=660132457
input archive log thread=1 sequence=126890 recid=121971 stamp=660132626
input archive log thread=1 sequence=126891 recid=121972 stamp=660132655
channel ORA_DISK_1: starting piece 1 at 15-JUL-08
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 07/15/2008 10:14:57
ORA-19575: expected 51198 blocks in file /admin/epsi002/arch/p312p/1268581.arc, found 8035
RMAN>
Recovery Manager complete.
you can try
Check archivelogs sequence
RMAN>list archivelog all;
RMAN>BACKUP ARCHIVELOG
FROM SEQUENCE 126888 UNTIL SEQUENCE 126891
RMAN>BACKUP ARCHIVELOG
FROM SEQUENCE 126893 UNTIL SEQUENCE <last sequence from list archivelog result>BTW why you want to skip archivelog yours these archivelog backup would not be able to make recover yours database.
Khurram
Similar Messages
-
Archivelog errors...EVERYTHING CHECKS OUT!?
10.2.0
HPUX
I don't know if anyone has ever come across this before.
But I was receiving errors that archiving couldn't find valid locations
ORA-16014: log 1 sequence# 18959 not archived, no available destinations
ORA-00312: online log 1 thread 1: '/ora2/oradata/peregrine/redo01.log'
also
ERROR at line 1:
ORA-16020: less destinations available than specified by LOG_ARCHIVE_MIN_SUCCEED_DEST
and messages like this in the trace file...
ARC6: Failed to archive thread 1 sequence 18956 (4)
Fri Mar 27 06:36:06 2009
ARC7: Archiving not possible: No available destinations
ARC7: Failed to archive thread 1 sequence 18956 (4)
Fri Mar 27 06:36:07 2009
ARC8: Archiving not possible: No available destinations
ARC8: Failed to archive thread 1 sequence 18956 (4)
Fri Mar 27 06:36:07 2009
ARC9: Archiving not possible: No available destinations
ARC9: Failed to archive thread 1 sequence 18956 (4)
I cleaned everything out, cleared out flash recovery area, deleted old logs, you name it. Partition was at 12% used...PLENTY of space.
Thought I would share with you all that might not know this...
Sometimes the state of the archive destination gets corrupted in a way that it just doesn't know what it wants to think.
I ran:
alter system switch logfile
alter system checkpoint
shutdown immediate
startup mount
alter database noarchivelog
alter system open
alter system switch logfile
alter system shutdown immediate;
startup mount
alter database archivelog
alter database open
this resets the state of the archiver. It worked.
This was relayed to me via oracle support...hope it can help someone else that is at their wits end with this situation.Hi.
What is LOG_ARCHIVE_MIN_SUCCEED_DEST parameter set to.
Post the output of
>
sql> show parameter LOG_ARCHIVE_MIN_SUCCEED_DEST
sql> show parameter log_archive
>
Anand -
System copy post DB refresh error
Hi,
I am doing a post db refresh (Oracle/Solaris) and while creating control file getting error
SQL> CREATE CONTROLFILE SET DATABASE "XXX" RESETLOGS ARCHIVELOG;
CREATE CONTROLFILE SET DATABASE "XXX" 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
SVR4 Error: 2: No such file or directory
Additional information: 3
ALSO
SQL> startup nomount
ORACLE instance started.
Total System Global Area 2214592512 bytes
Fixed Size 2053640 bytes
Variable Size 1174407672 bytes
Database Buffers 1006632960 bytes
Redo Buffers 31498240 bytes
SQL> @control.sql
SP2-0310: unable to open file "control.sql"
Please help.Hi Anshul,
First please refer System copy guide for successful procedure http://www.basisconsultant.com/j/index.php?option=com_k2&view=item&layout=item&id=1&Itemid=185 .In addition please follow SAP Note 546006 - Problems with Oracle due to operating system errors
and try to execute SQL command create spfile from pfile ; ( ORA-01565: error in identifying file &#8216;?/dbs/[email protected] )
Regards,
Gaurav -
Alter database into Archivelog mode.
HI Team,
I am using ORACLE 9i.
I want to convert database into archivelog mode from noarchivelog mode.
Using the following SQL Commands I can able to convert my database into the Archivelog.
SQL> connect sys as sysdba
Enter password: *****************
Connected.
SQL> alter database archivelog;
alter database archivelog
ERROR at line 1:
ORA-01126: database must be mounted EXCLUSIVE and not open for this operation
SQL> startup mount;
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 252779340 bytes
Fixed Size 453452 bytes
Variable Size 125829120 bytes
Database Buffers 125829120 bytes
Redo Buffers 667648 bytes
Database mounted.
SQL> alter database archivelog;
Database altered.
My problem is that I had to shutdown the database before converting it in to the archivelog mode...
Is there any way that without shuting down the database i can switch to archivelog mode.
Please comments...
Shatrughanif we shutdown immediate one's database..do
it's listener terminated too???The database registration with the listener yes, the listener itself no. That is, if you execute a command like "lsnrctl stat" you won't see the database anymore, but the listener is still active. Example :
[ora102 ~ db102]$ lsnrctl stat
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 05-MAY-2007 18:57:51
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 05-MAY-2007 18:27:34
Uptime 0 days 0 hr. 30 min. 16 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /home/ora102/OraHome1/network/admin/listener.ora
Listener Log File /home/ora102/OraHome1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "db102" has 1 instance(s).
Instance "db102", status READY, has 2 handler(s) for this service...
The command completed successfully
[ora102 ~ db102]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sat May 5 18:58:03 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SYS@db102 SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SYS@db102 SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
[ora102 ~ db102]$ lsnrctl stat
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 05-MAY-2007 18:58:33
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 05-MAY-2007 18:27:34
Uptime 0 days 0 hr. 30 min. 58 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /home/ora102/OraHome1/network/admin/listener.ora
Listener Log File /home/ora102/OraHome1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[ora102 ~ db102]$ -
Error during solution manager 3.2 installation.
Hi !
I am getting the error in solution manager 3.2 installation . I am doing installation using system copy / backup restore method .
Getting ther following error -
"CJS-00084 SQL statement or script failed. DIAGNOSIS: Error message: SP2-0310: unable to open file
"CONTROL.SQL"ORA-01012: not logged onORACLE instance started."
Kindly suggest the solution.
Regards-
sanjayhi Markus!
The ora_sql_results.log file shows the following-
"2007-06-07, 18:32:21 SAPINST ORACLE start logging for
connect / as sysdba ;
CONNECT / AS SYSDBA
SHUTDOWN ABORT
@CONTROL.SQL
SHUTDOWN IMMEDIATE
STARTUP MOUNT
ALTER DATABASE ARCHIVELOG;
ALTER DATABASE OPEN;
EXIT
exit;
Output of SQL executing program:
SQL*Plus: Release 9.2.0.6.0 - Production on Thu Jun 7 18:32:21 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected.
Connected.
ORACLE instance shut down.
SP2-0310: unable to open file "CONTROL.SQL"
ORA-01012: not logged on
ORACLE instance started.
Total System Global Area 546906764 bytes
Fixed Size 455308 bytes
Variable Size 293601280 bytes
Database Buffers 251658240 bytes
Redo Buffers 1191936 bytes
ORA-00205: error in identifying controlfile, check alert log for more info
ALTER DATABASE ARCHIVELOG
ERROR at line 1:
ORA-01507: database not mounted
ALTER DATABASE OPEN
ERROR at line 1:
ORA-01507: database not mounted
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.6.0 - Production
SAPINST: End of output of SQL executing program E:\oracle\SMP\920/bin/sqlplus.
SAPINST found errors.
SAPINST The current process environment may be found in sapinst_ora_environment.log.
2007-06-07, 18:32:28 SAPINST ORACLE stop logging"
What to follow... pls guide
Regards-
sanjay -
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 -
Kindly advise all experts - cloning db error
Hi,
I encountered an error when trying to create controlfile for my cloned database.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 42741800 bytes
Fixed Size 450600 bytes
Variable Size 41943040 bytes
Database Buffers 204800 bytes
Redo Buffers 143360 bytes
SQL> CREATE CONTROLFILE SET DATABASE "TEST" RESETLOGS ARCHIVELOG;
CREATE CONTROLFILE SET DATABASE "TEST" 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
Linux Error: 2: No such file or directory
Additional information: 3
Could you tell me what this above error is about? I'm sure that the db do not have this [email protected] file.. how come is oracle looking for it?Hi,
my create control file script:
i have crossed check, and no such file the error mentioned is in the db.
CREATE CONTROLFILE SET DATABASE "TEST" RESETLOGS ARCHIVELOG
MAXLOGFILES 5
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 1
MAXLOGHISTORY 453
LOGFILE
GROUP 1 '/oracle_data1/proppsi/log/redo01.log' SIZE 100M,
GROUP 2 '/oracle_data1/proppsi/log/redo02.log' SIZE 100M,
GROUP 3 '/oracle_data1/proppsi/log/redo03.log' SIZE 100M,
GROUP 4 '/oracle_data1/proppsi/log/redo04.log' SIZE 100M;
DATAFILE
'/oracle_data1/proppsi/data/system01.dbf',
'/oracle_data1/proppsi/data/undotbs01.dbf',
'/oracle_data1/proppsi/data/indx01.dbf',
'/oracle_data1/proppsi/data/tools01.dbf',
'/oracle_data1/proppsi/data/users01.dbf',
'/oracle_data1/proppsi/data/d2pay01.dbf',
'/oracle_data1/proppsi/data/pctrans01.dbf',
'/oracle_data1/proppsi/data/log_security_phase2_01.dbf',
'/oracle_data1/proppsi/data/log_security_phase2_02.dbf',
'/oracle_data1/proppsi/data/patrol01.dbf',
'/oracle_data1/proppsi/data/psi_csm04.dbf',
'/oracle_data1/proppsi/data/psi_ep02.dbf',
'/oracle_data1/proppsi/data/psi_ep01.dbf',
'/oracle_data1/proppsi/data/prod_indx_11.dbf',
'/oracle_data1/proppsi/data/prod_indx_08.dbf',
'/oracle_data1/proppsi/data/prod_indx_03.dbf',
'/oracle_data1/proppsi/data/log_tmf_phase2_feb06_02.dbf',
'/oracle_data1/proppsi/data/log_tmf_phase2_apr06_02.dbf',
'/oracle_data1/proppsi/data/fm_audit01.dbf',
'/oracle_data1/proppsi/data/log_tmf_phase2_jan06_01.dbf',
'/oracle_data1/proppsi/data/indexesQ405_08.dbf',
'/oracle_data1/proppsi/data/indexesQ405_09.dbf',
'/oracle_data1/proppsi/data/log_tmf_phase2_feb06_01.dbf',
'/oracle_data1/proppsi/data/log_tmf_phase2_mar06_01.dbf',
'/oracle_data1/proppsi/data/log_tmf_phase2_apr06_01.dbf',
'/oracle_data1/proppsi/data/psi01.dbf',
'/oracle_data1/proppsi/data/psi02.dbf',
'/oracle_data1/proppsi/data/log_tmf_phase2_mar06_02.dbf',
'/oracle_data1/proppsi/data/log_edx_aug07_01.dbf',
'/oracle_data1/proppsi/data/log_edx_sep07_01.dbf',
'/oracle_data1/proppsi/data/log_edx_oct07_01.dbf',
'/oracle_data1/proppsi/data/log_edx_nov07_01.dbf',
'/oracle_data1/proppsi/data/log_edx_dec07_01.dbf',
'/oracle_data1/proppsi/data/log_tmf_phase2_aug07_01.dbf',
'/oracle_data1/proppsi/data/log_tmf_phase2_sep07_01.dbf',
'/oracle_data1/proppsi/data/log_tmf_phase2_oct07_01.dbf',
'/oracle_data1/proppsi/data/log_tmf_phase2_nov07_01.dbf',
'/oracle_data1/proppsi/data/log_tmf_phase2_dec07_01.dbf',
'/oracle_data1/proppsi/data/log_edx_jul07_02.dbf',
'/oracle_data1/proppsi/data/log_edx_jan08_01.dbf',
'/oracle_data1/proppsi/data/log_tmf_phase2_jul07_01.dbf',
'/oracle_data1/proppsi/data/log_tmf_phase2_jan08_01.dbf'
CHARACTER SET WE8ISO8859P1
; -
Good Morning: I am trying to open a database in archive mode and the output is this error:
SQL> connect / as sysdba
Connected.
SQL> shutdown
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
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
Database mounted.
SQL> alter database open archivelog;
alter database open archivelog
ERROR at line 1:
ORA-02288: invalid OPEN mode
I already set the parameter LOG_ARCHIVE_START TO TRUE.
Any idea why is this error?
Thanks a lot[email protected]> alter database archivelog
2 /
Database altered.
[email protected]> alter database open
2 /
Database altered.
[email protected]> select *
2 from v$instance
3 /
Best Regards
Krzstian zieja - mob -
ORA-27046: file size is not a multiple of logical block size
Hi All,
Getting the below error while creating Control File after database restore. Permission and ownership of CONTROL.SQL file is 777 and ora<sid>:dba
ERROR -->
SQL> !pwd
/oracle/SID/sapreorg
SQL> @CONTROL.SQL
ORACLE instance started.
Total System Global Area 3539992576 bytes
Fixed Size 2088096 bytes
Variable Size 1778385760 bytes
Database Buffers 1744830464 bytes
Redo Buffers 14688256 bytes
CREATE CONTROLFILE SET DATABASE "SID" RESETLOGS ARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01565: error in identifying file
'/oracle/SID/sapdata5/p11_19/p11.data19.dbf'
ORA-27046: file size is not a multiple of logical block size
Additional information: 1
Additional information: 1895833576
Additional information: 8192
Checked in target system init<SID>.ora and found the parameter db_block_size is 8192. Also checked in source system init<SID>.ora and found the parameter db_block_size is also 8192.
/oracle/SID/102_64/dbs$ grep -i block initSID.ora
Kindly look into the issue.
Regards,
SoumyaPlease chk the following things
1.SPfile corruption :
Startup the DB in nomount using pfile (ie init<sid>.ora) create spfile from pfile;restart the instance in nomount state
Then create the control file from the script.
2. Check Ulimit of the target server , the filesize parameter for ulimit shud be unlimited.
3. Has the db_block_size parameter been changed in init file by any chance.
Regards
Kausik -
Problem in Database Recovery..
I m working at Test Environment, My database is running in ArchiveLogMode. I have current backup and old backup (one month old),
For practice of Backup & Recovery, I deleted the control files, online redo logs and data files and restored from old backup(one month old).
Note: I want to let you know that I have all the ArchivedRedoLog files and I have also created one tablespace (tablespace: abamco_test)that is not available in old backup.
Is it possible to recover that tablespace with only ArchivedRedoLog files (No datafile backup)??????????
=========================================================================
SQL> select name from v$database;
NAME
ROCK
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
<><> deleted all the datafiles, redologs, and control files.
<><> copied & pasted all the redologs, and control files from one month old backup
SQL> startup
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1247876 bytes
Variable Size 83887484 bytes
Database Buffers 75497472 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.
<><> COpied One month old control file and pasted in OraData folder.
SQL> startup
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1247876 bytes
Variable Size 83887484 bytes
Database Buffers 75497472 bytes
Redo Buffers 7139328 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSTEM01.DBF'
SQL> shutdown immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
<><> Copied all the datafiles, oneline redo log files from one month Old backup.
SQL> startup
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1247876 bytes
Variable Size 83887484 bytes
Database Buffers 75497472 bytes
Redo Buffers 7139328 bytes
Database mounted.
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSTEM01.DBF'
SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-01110: data file 6: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\ABAMCO_TEST01.DBF'
ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
ORA-01110: data file 6: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\ABAMCO_TEST01.DBF'
SQL> shutdown immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1247876 bytes
Variable Size 83887484 bytes
Database Buffers 75497472 bytes
Redo Buffers 7139328 bytes
Database mounted.
ORA-01122: database file 1 failed verification check
ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSTEM01.DBF'
ORA-01207: file is more recent than control file - old control file
SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-01122: database file 1 failed verification check
ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSTEM01.DBF'
ORA-01207: file is more recent than control file - old control file
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount;
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1247876 bytes
Variable Size 83887484 bytes
Database Buffers 75497472 bytes
Redo Buffers 7139328 bytes
SQL> alter database backup controlfile to trace;
alter database backup controlfile to trace
ERROR at line 1:
ORA-01507: database not mounted
SQL> alter database mount;
Database altered.
SQL> alter database backup controlfile to trace;
Database altered.
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
<><> copied the (contents) from generated file and saved in controlfile_recover.sql script.
STARTUP NOMOUNT
CREATE CONTROLFILE REUSE DATABASE "ROCK" NORESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\REDO01.LOG' SIZE 50M,
GROUP 2 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\REDO02.LOG' SIZE 50M,
GROUP 3 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\REDO03.LOG' SIZE 50M
-- STANDBY LOGFILE
DATAFILE
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSTEM01.DBF',
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\UNDOTBS01.DBF',
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSAUX01.DBF',
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\USERS01.DBF',
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSTEM03.DBF',
'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\ABAMCO_TEST01.DBF'
CHARACTER SET WE8MSWIN1252
SQL> @D:\controlfile_recover.sql
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1247876 bytes
Variable Size 83887484 bytes
Database Buffers 75497472 bytes
Redo Buffers 7139328 bytes
CREATE CONTROLFILE REUSE DATABASE "ROCK" RESETLOGS ARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01565: error in identifying file 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\ABAMCO_TEST01.DBF'
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-01507: database not mounted
ALTER DATABASE OPEN RESETLOGS
ERROR at line 1:
ORA-01507: database not mounted
ALTER TABLESPACE TEMP ADD TEMPFILE 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\TEMP01.DBF' REUSE
ERROR at line 1:
ORA-01109: database not open
SQL> alter tablespace ABAMCO_TEST offline;
alter tablespace ABAMCO_TEST offline
ERROR at line 1:
ORA-01109: database not open
SQL>
SQL>
SQL> shutdown immediate;
ORA-01507: database not mounted
ORACLE instance shut down.
<><> I removed one line 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\ABAMCO_TEST01.DBF' from controlfile_recover.sql
SQL> @D:\controlfile_recover.sql
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1247876 bytes
Variable Size 83887484 bytes
Database Buffers 75497472 bytes
Redo Buffers 7139328 bytes
CREATE CONTROLFILE REUSE DATABASE "ROCK" RESETLOGS ARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01163: SIZE clause indicates 12800 (blocks), but should match header 1536
ORA-01110: data file 5: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSTEM03.DBF'
ORA-01507: database not mounted
ALTER DATABASE OPEN RESETLOGS
ERROR at line 1:
ORA-01507: database not mounted
ALTER TABLESPACE TEMP ADD TEMPFILE 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\TEMP01.DBF' REUSE
ERROR at line 1:
ORA-01109: database not open
SQL> SHUTDOWN IMMEDIATE;
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> @D:\controlfile_recover.sql
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1247876 bytes
Variable Size 83887484 bytes
Database Buffers 75497472 bytes
Redo Buffers 7139328 bytes
CREATE CONTROLFILE REUSE DATABASE "ROCK" RESETLOGS ARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01163: SIZE clause indicates 16384 (blocks), but should match header 1536
ORA-01110: data file 5: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSTEM03.DBF'
ORA-01507: database not mounted
ALTER DATABASE OPEN RESETLOGS
ERROR at line 1:
ORA-01507: database not mounted
ALTER TABLESPACE TEMP ADD TEMPFILE 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\TEMP01.DBF' REUSE
ERROR at line 1:
ORA-01109: database not open
SQL> shutdown immediate;
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> @D:\controlfile_recover.sql
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1247876 bytes
Variable Size 83887484 bytes
Database Buffers 75497472 bytes
Redo Buffers 7139328 bytes
CREATE CONTROLFILE REUSE DATABASE "ROCK" RESETLOGS ARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01163: SIZE clause indicates 32768 (blocks), but should match header 1536
ORA-01110: data file 5: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSTEM03.DBF'
ORA-01507: database not mounted
ALTER DATABASE OPEN RESETLOGS
ERROR at line 1:
ORA-01507: database not mounted
ALTER TABLESPACE TEMP ADD TEMPFILE 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\TEMP01.DBF' REUSE
ERROR at line 1:
ORA-01109: database not open
SQL> shutdown immediate;
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> @D:\controlfile_recover.sql
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1247876 bytes
Variable Size 83887484 bytes
Database Buffers 75497472 bytes
Redo Buffers 7139328 bytes
CREATE CONTROLFILE REUSE DATABASE "ROCK" RESETLOGS ARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01163: SIZE clause indicates 65536 (blocks), but should match header 1536
ORA-01110: data file 5: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSTEM03.DBF'
ORA-01507: database not mounted
ALTER DATABASE OPEN RESETLOGS
ERROR at line 1:
ORA-01507: database not mounted
ALTER TABLESPACE TEMP ADD TEMPFILE 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\TEMP01.DBF' REUSE
ERROR at line 1:
ORA-01109: database not open
SQL>
Any suggestions? what should I do now?Here's what I found on Metalink :
Subject: ORA-1163 creating a controlfile
Doc ID: Note:377933.1 Type: PROBLEM
Last Revision Date: 24-JUL-2006 Status: REVIEWED
Problem Description:
====================
You are attempting to recreate your controlfile after a clean shutdown ( shutdown normal or immediate)
Upon running the create controlfile script you receive:
CREATE CONTROLFILE REUSE DATABASE "PRODAB" NORESETLOGS ARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01163: SIZE clause indicates 12800 (blocks), but should match header 240160
ORA-01110: data file X: '<full path of datafile>'
Problem Explanation:
====================
Sample controlfile.sql
CREATE CONTROLFILE REUSE DATABASE "PRODAB" NORESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 454
LOGFILE
GROUP 1 '/oradata/PROD/redo01.log' SIZE 10M,
GROUP 2 '/oradata/PROD/redo02.log' SIZE 10M,
GROUP 3 '/oradata/PROD/redo03.log' SIZE 10M
-- STANDBY LOGFILE
DATAFILE
'/oradata/PROD/system01.dbf',
'/oradata/PROD/undotbs01.dbf',
'/oradata/PROD/sysaux01.dbf',
'/oradata/PROD/users01.dbf', <----------------Notice the extra comma after thelast datafile.
CHARACTER SET WE8ISO8859P1
Search Words:
=============
create controlfile ORA-1503 ORA-1163 ORA-1110
Solution Description:
=====================
This extra comma is causing the create controlfile to raise this unexpected error as seen above.
Solution Explanation:
=====================
This is a syntax error and by removing the trailing comma the create control should bypass this error.
Wow ! Oracle made a syntax error ! why am i not surprised ? :)
Thanks Khurram for your help ! -
Database name ORCL in file header does not match given name of
Hi all,
DB version is 10.2.0.4
While doing db cloning..restoring the database..made a mistake of restoring the db to a different running mountpoint database..But in 20 minutes realised that after a while and restarted the clone.
But that running db went down..trying to recover it shows
ERROR at line 1:
ORA-01161: database name ORCL in file header does not match given name of
PRODhow can i recover it?
thanks,
baskar.lbaskar.l wrote:
Hi all,
DB version is 10.2.0.4
While doing db cloning..restoring the database..made a mistake of restoring the db to a different running mountpoint database..But in 20 minutes realised that after a while and restarted the clone.
But that running db went down..trying to recover it shows
ERROR at line 1:
ORA-01161: database name ORCL in file header does not match given name of
PRODhow can i recover it?
thanks,
baskar.lHi,Baskar.How you clone your database and which command after you got this error.You can resolve this problem with re-create controlfile as(It mean is you actually change your database name):
C:\Documents and Settings\Administrator>sqlplus "sys/sm as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Jun 20 15:34:21 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> startup nomount pfile=D:\oracle\product\10.2.0\admin\SB\pfile\init.ora.5152
010163530
ORACLE instance started.
Total System Global Area 138412032 bytes
Fixed Size 1247732 bytes
Variable Size 62916108 bytes
Database Buffers 71303168 bytes
Redo Buffers 2945024 bytes
SQL> CREATE CONTROLFILE reuse DATABASE "SB1" RESETLOGS ARCHIVELOG
2 MAXLOGFILES 16
3 MAXLOGMEMBERS 3
4 MAXDATAFILES 100
5 MAXINSTANCES 8
6 MAXLOGHISTORY 292
7 LOGFILE
8 GROUP 1 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\REDO01.LOG' SIZE 50M,
9 GROUP 2 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\REDO02.LOG' SIZE 50M,
10 GROUP 3 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\REDO03.LOG' SIZE 50M
11 DATAFILE
12 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\SYSTEM01.DBF',
13 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\UNDOTBS01.DBF',
14 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\SYSAUX01.DBF',
15 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\USERS01.DBF',
16 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\EXAMPLE01.DBF';
CREATE CONTROLFILE reuse DATABASE "SB1" NORESETLOGS ARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01161: database name SB in file header does not match given name of SB1
ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\SYSTEM01.DBF'
SQL> CREATE CONTROLFILE set DATABASE "SB1" RESETLOGS ARCHIVELOG
2 MAXLOGFILES 16
3 MAXLOGMEMBERS 3
4 MAXDATAFILES 100
5 MAXINSTANCES 8
6 MAXLOGHISTORY 292
7 LOGFILE
8 GROUP 1 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\REDO01.LOG' SIZE 50M,
9 GROUP 2 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\REDO02.LOG' SIZE 50M,
10 GROUP 3 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\REDO03.LOG' SIZE 50M
11 DATAFILE
12 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\SYSTEM01.DBF',
13 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\UNDOTBS01.DBF',
14 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\SYSAUX01.DBF',
15 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\USERS01.DBF',
16 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\EXAMPLE01.DBF';
CREATE CONTROLFILE set DATABASE "SB1" RESETLOGS ARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00200: control file could not be created
ORA-00202: control file: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\CONTROL01.CTL'
ORA-27038: created file already exists
OSD-04010: <create> option specified, file already exists
/*remove all controlfile from D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\ */
SQL> CREATE CONTROLFILE set DATABASE "SB1" RESETLOGS ARCHIVELOG
2 MAXLOGFILES 16
3 MAXLOGMEMBERS 3
4 MAXDATAFILES 100
5 MAXINSTANCES 8
6 MAXLOGHISTORY 292
7 LOGFILE
8 GROUP 1 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\REDO01.LOG' SIZE 50M,
9 GROUP 2 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\REDO02.LOG' SIZE 50M,
10 GROUP 3 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\REDO03.LOG' SIZE 50M
11 DATAFILE
12 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\SYSTEM01.DBF',
13 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\UNDOTBS01.DBF',
14 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\SYSAUX01.DBF',
15 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\USERS01.DBF',
16 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\SB\EXAMPLE01.DBF';
Control file created.
SQL> recover database using backup controlfile until cancel;
ORA-00279: change 742571 generated at 06/20/2010 15:32:41 needed for thread 1
ORA-00289: suggestion :
D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SB1\ARCHIVELOG\2010_06_20\O1_MF_1_1
1_%U_.ARC
ORA-00280: change 742571 for thread 1 is in sequence #11
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
D:\oracle\product\10.2.0\oradata\SB\REDO01.LOG
Log applied.
Media recovery complete.
SQL> alter database open resetlogs;
Database altered.
SQL> create spfile from pfile;
File created.
SQL>In additionally see metalink note
ORA-01503 ORA-01161 While creating a clone database. [ID 294555.1]
Edited by: Chinar on Jun 20, 2010 3:52 AM -
ORA-01161: database name DEV in file header does not match given name UAT
This is my cloning process.... I get the following errors.. I also double check with my process and still couldn't find anything.
SQL> @backup_control.sql
ORACLE instance started.
Total System Global Area 479298392 bytes
Fixed Size 742232 bytes
Variable Size 385875968 bytes
Database Buffers 81920000 bytes
Redo Buffers 10760192 bytes
CREATE CONTROLFILE REUSE DATABASE "UAT" NORESETLOGS ARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01161: database name OBS in file header does not match given name of UAT
ORA-01110: data file 1: '/u01/oracle/uatdata/system01.dbf'
Any ideas of this error?
Best Regards,
AmyPlease see followings:
STARTUP NOMOUNT
CREATE CONTROLFILE SET DATABASE "OBS" RESETLOGS ARCHIVELOG
-- SET STANDBY TO MAXIMIZE PERFORMANCE
MAXLOGFILES 16
MAXLOGMEMBERS 2
MAXDATAFILES 500
MAXINSTANCES 1
MAXLOGHISTORY 2042
LOGFILE
GROUP 1 '/u01/oracle/obsdata/log01a.dbf' SIZE 10M,
GROUP 2 '/u01/oracle/obsdata/log02a.dbf' SIZE 10M,
GROUP 3 '/u01/oracle/obsdata/log03a.dbf' SIZE 10M,
GROUP 4 '/u01/oracle/obsdata/log04a.dbf' SIZE 10M
-- STANDBY LOGFILE
DATAFILE
'/u01/oracle/obsdata/system01.dbf',
'/u01/oracle/obsdata/system02.dbf',
'/u01/oracle/obsdata/system03.dbf',
'/u01/oracle/obsdata/system04.dbf',
'/u01/oracle/obsdata/system05.dbf',
'/u01/oracle/obsdata/rbs01.dbf',
'/u01/oracle/obsdata/ctxd01.dbf',
'/u01/oracle/obsdata/owad01.dbf',
'/u01/oracle/obsdata/abmd01.dbf',
'/u01/oracle/obsdata/abmx01.dbf',
'/u01/oracle/obsdata/akd01.dbf',
'/u01/oracle/obsdata/akx01.dbf',
'/u01/oracle/obsdata/alrd01.dbf',
'/u01/oracle/obsdata/alrx01.dbf',
'/u01/oracle/obsdata/amsd01.dbf',
'/u01/oracle/obsdata/amsx01.dbf',
'/u01/oracle/obsdata/amvd01.dbf',
'/u01/oracle/obsdata/amvx01.dbf',
'/u01/oracle/obsdata/apd01.dbf',
'/u01/oracle/obsdata/apx01.dbf',
'/u01/oracle/obsdata/applsysd01.dbf',
'/u01/oracle/obsdata/applsysx01.dbf',
'/u01/oracle/obsdata/ard01.dbf',
'/u01/oracle/obsdata/arx01.dbf',
'/u01/oracle/obsdata/asfd01.dbf',
'/u01/oracle/obsdata/asfx01.dbf',
'/u01/oracle/obsdata/asgd01.dbf',
'/u01/oracle/obsdata/asgx01.dbf',
'/u01/oracle/obsdata/asod01.dbf',
'/u01/oracle/obsdata/asox01.dbf',
'/u01/oracle/obsdata/astd01.dbf',
'/u01/oracle/obsdata/astx01.dbf',
'/u01/oracle/obsdata/axd01.dbf',
'/u01/oracle/obsdata/axx01.dbf',
'/u01/oracle/obsdata/azd01.dbf',
'/u01/oracle/obsdata/azx01.dbf',
'/u01/oracle/obsdata/bend01.dbf',
'/u01/oracle/obsdata/benx01.dbf',
'/u01/oracle/obsdata/bicd01.dbf',
'/u01/oracle/obsdata/bicx01.dbf',
'/u01/oracle/obsdata/bild01.dbf',
'/u01/oracle/obsdata/bilx01.dbf',
'/u01/oracle/obsdata/bimd01.dbf',
'/u01/oracle/obsdata/bimx01.dbf',
'/u01/oracle/obsdata/bisd01.dbf',
'/u01/oracle/obsdata/bisx01.dbf',
'/u01/oracle/obsdata/bixd01.dbf',
'/u01/oracle/obsdata/bixx01.dbf',
'/u01/oracle/obsdata/bomd01.dbf',
'/u01/oracle/obsdata/bomx01.dbf',
'/u01/oracle/obsdata/bscd01.dbf',
'/u01/oracle/obsdata/bscx01.dbf',
'/u01/oracle/obsdata/cctd01.dbf',
'/u01/oracle/obsdata/cctx01.dbf',
'/u01/oracle/obsdata/ced01.dbf',
'/u01/oracle/obsdata/cex01.dbf',
'/u01/oracle/obsdata/cnd01.dbf',
'/u01/oracle/obsdata/cnx01.dbf',
'/u01/oracle/obsdata/crpd01.dbf',
'/u01/oracle/obsdata/crpx01.dbf',
'/u01/oracle/obsdata/csd01.dbf',
'/u01/oracle/obsdata/csx01.dbf',
'/u01/oracle/obsdata/cscd01.dbf',
'/u01/oracle/obsdata/cscx01.dbf',
'/u01/oracle/obsdata/csdd01.dbf',
'/u01/oracle/obsdata/csdx01.dbf',
'/u01/oracle/obsdata/csfd01.dbf',
'/u01/oracle/obsdata/csfx01.dbf',
'/u01/oracle/obsdata/cspd01.dbf',
'/u01/oracle/obsdata/cspx01.dbf',
'/u01/oracle/obsdata/csrd01.dbf',
'/u01/oracle/obsdata/csrx01.dbf',
'/u01/oracle/obsdata/cssd01.dbf',
'/u01/oracle/obsdata/cssx01.dbf',
'/u01/oracle/obsdata/cuad01.dbf',
'/u01/oracle/obsdata/cuax01.dbf',
'/u01/oracle/obsdata/cufd01.dbf',
'/u01/oracle/obsdata/cufx01.dbf',
'/u01/oracle/obsdata/cuid01.dbf',
'/u01/oracle/obsdata/cuix01.dbf',
'/u01/oracle/obsdata/cund01.dbf',
'/u01/oracle/obsdata/cunx01.dbf',
'/u01/oracle/obsdata/cupd01.dbf',
'/u01/oracle/obsdata/cupx01.dbf',
'/u01/oracle/obsdata/cusd01.dbf',
'/u01/oracle/obsdata/cusx01.dbf',
'/u01/oracle/obsdata/czd01.dbf',
'/u01/oracle/obsdata/czx01.dbf',
'/u01/oracle/obsdata/eaad01.dbf',
'/u01/oracle/obsdata/eaax01.dbf',
'/u01/oracle/obsdata/ecd01.dbf',
'/u01/oracle/obsdata/ecx01.dbf',
'/u01/oracle/obsdata/ecxd01.dbf',
'/u01/oracle/obsdata/ecxx01.dbf',
'/u01/oracle/obsdata/engd01.dbf',
'/u01/oracle/obsdata/engx01.dbf',
'/u01/oracle/obsdata/evmd01.dbf',
'/u01/oracle/obsdata/evmx01.dbf',
'/u01/oracle/obsdata/fad01.dbf',
'/u01/oracle/obsdata/fax01.dbf',
'/u01/oracle/obsdata/femd01.dbf',
'/u01/oracle/obsdata/femx01.dbf',
'/u01/oracle/obsdata/fiid01.dbf',
'/u01/oracle/obsdata/fiix01.dbf',
'/u01/oracle/obsdata/flmd01.dbf',
'/u01/oracle/obsdata/flmx01.dbf',
'/u01/oracle/obsdata/fptd01.dbf',
'/u01/oracle/obsdata/fptx01.dbf',
'/u01/oracle/obsdata/frmd01.dbf',
'/u01/oracle/obsdata/frmx01.dbf',
'/u01/oracle/obsdata/fvd01.dbf',
'/u01/oracle/obsdata/fvx01.dbf',
'/u01/oracle/obsdata/gld01.dbf',
'/u01/oracle/obsdata/glx01.dbf',
'/u01/oracle/obsdata/gmad01.dbf',
'/u01/oracle/obsdata/gmax01.dbf',
'/u01/oracle/obsdata/gmdd01.dbf',
'/u01/oracle/obsdata/gmdx01.dbf',
'/u01/oracle/obsdata/gmed01.dbf',
'/u01/oracle/obsdata/gmex01.dbf',
'/u01/oracle/obsdata/gmfd01.dbf',
'/u01/oracle/obsdata/gmfx01.dbf',
'/u01/oracle/obsdata/gmid01.dbf',
'/u01/oracle/obsdata/gmix01.dbf',
'/u01/oracle/obsdata/gmld01.dbf',
'/u01/oracle/obsdata/gmlx01.dbf',
'/u01/oracle/obsdata/gmpd01.dbf',
'/u01/oracle/obsdata/gmpx01.dbf',
'/u01/oracle/obsdata/gmsd01.dbf',
'/u01/oracle/obsdata/gmsx01.dbf',
'/u01/oracle/obsdata/grd01.dbf',
'/u01/oracle/obsdata/grx01.dbf',
'/u01/oracle/obsdata/hrd01.dbf',
'/u01/oracle/obsdata/hrx01.dbf',
'/u01/oracle/obsdata/hrid01.dbf',
'/u01/oracle/obsdata/hrix01.dbf',
'/u01/oracle/obsdata/hxcd01.dbf',
'/u01/oracle/obsdata/hxcx01.dbf',
'/u01/oracle/obsdata/hxtd01.dbf',
'/u01/oracle/obsdata/hxtx01.dbf',
'/u01/oracle/obsdata/ibad01.dbf',
'/u01/oracle/obsdata/ibax01.dbf',
'/u01/oracle/obsdata/ibed01.dbf',
'/u01/oracle/obsdata/ibex01.dbf',
'/u01/oracle/obsdata/ibpd01.dbf',
'/u01/oracle/obsdata/ibpx01.dbf',
'/u01/oracle/obsdata/ibud01.dbf',
'/u01/oracle/obsdata/ibux01.dbf',
'/u01/oracle/obsdata/ibyd01.dbf',
'/u01/oracle/obsdata/ibyx01.dbf',
'/u01/oracle/obsdata/icxd01.dbf',
'/u01/oracle/obsdata/icxx01.dbf',
'/u01/oracle/obsdata/iebd01.dbf',
'/u01/oracle/obsdata/iebx01.dbf',
'/u01/oracle/obsdata/iemd01.dbf',
'/u01/oracle/obsdata/iemx01.dbf',
'/u01/oracle/obsdata/ieod01.dbf',
'/u01/oracle/obsdata/ieox01.dbf',
'/u01/oracle/obsdata/iesd01.dbf',
'/u01/oracle/obsdata/iesx01.dbf',
'/u01/oracle/obsdata/ieud01.dbf',
'/u01/oracle/obsdata/ieux01.dbf',
'/u01/oracle/obsdata/iexd01.dbf',
'/u01/oracle/obsdata/iexx01.dbf',
'/u01/oracle/obsdata/igcd01.dbf',
'/u01/oracle/obsdata/igcx01.dbf',
'/u01/oracle/obsdata/igfd01.dbf',
'/u01/oracle/obsdata/igfx01.dbf',
'/u01/oracle/obsdata/igsd01.dbf',
'/u01/oracle/obsdata/igsx01.dbf',
'/u01/oracle/obsdata/igwd01.dbf',
'/u01/oracle/obsdata/igwx01.dbf',
'/u01/oracle/obsdata/invd01.dbf',
'/u01/oracle/obsdata/invx01.dbf',
'/u01/oracle/obsdata/ipad01.dbf',
'/u01/oracle/obsdata/ipax01.dbf',
'/u01/oracle/obsdata/iscd01.dbf',
'/u01/oracle/obsdata/iscx01.dbf',
'/u01/oracle/obsdata/jad01.dbf',
'/u01/oracle/obsdata/jax01.dbf',
'/u01/oracle/obsdata/jed01.dbf',
'/u01/oracle/obsdata/jex01.dbf',
'/u01/oracle/obsdata/jgd01.dbf',
'/u01/oracle/obsdata/jgx01.dbf',
'/u01/oracle/obsdata/jld01.dbf',
'/u01/oracle/obsdata/jlx01.dbf',
'/u01/oracle/obsdata/jtfd01.dbf',
'/u01/oracle/obsdata/jtfx01.dbf',
'/u01/oracle/obsdata/med01.dbf',
'/u01/oracle/obsdata/mex01.dbf',
'/u01/oracle/obsdata/mfgd01.dbf',
'/u01/oracle/obsdata/mfgx01.dbf',
'/u01/oracle/obsdata/mrpd01.dbf',
'/u01/oracle/obsdata/mrpx01.dbf',
'/u01/oracle/obsdata/mscd01.dbf',
'/u01/oracle/obsdata/mscx01.dbf',
'/u01/oracle/obsdata/msdd01.dbf',
'/u01/oracle/obsdata/msdx01.dbf',
'/u01/oracle/obsdata/msod01.dbf',
'/u01/oracle/obsdata/msox01.dbf',
'/u01/oracle/obsdata/mwad01.dbf',
'/u01/oracle/obsdata/mwax01.dbf',
'/u01/oracle/obsdata/oed01.dbf',
'/u01/oracle/obsdata/oex01.dbf',
'/u01/oracle/obsdata/okcd01.dbf',
'/u01/oracle/obsdata/okcx01.dbf',
'/u01/oracle/obsdata/oked01.dbf',
'/u01/oracle/obsdata/okex01.dbf',
'/u01/oracle/obsdata/oksd01.dbf',
'/u01/oracle/obsdata/oksx01.dbf',
'/u01/oracle/obsdata/okxd01.dbf',
'/u01/oracle/obsdata/okxx01.dbf',
'/u01/oracle/obsdata/ontd01.dbf',
'/u01/oracle/obsdata/ontx01.dbf',
'/u01/oracle/obsdata/opid01.dbf',
'/u01/oracle/obsdata/opix01.dbf',
'/u01/oracle/obsdata/osmd01.dbf',
'/u01/oracle/obsdata/osmx01.dbf',
'/u01/oracle/obsdata/otad01.dbf',
'/u01/oracle/obsdata/otax01.dbf',
'/u01/oracle/obsdata/ozfd01.dbf',
'/u01/oracle/obsdata/ozfx01.dbf',
'/u01/oracle/obsdata/ozpd01.dbf',
'/u01/oracle/obsdata/ozpx01.dbf',
'/u01/oracle/obsdata/ozsd01.dbf',
'/u01/oracle/obsdata/ozsx01.dbf',
'/u01/oracle/obsdata/pad01.dbf',
'/u01/oracle/obsdata/pax01.dbf',
'/u01/oracle/obsdata/pjmd01.dbf',
'/u01/oracle/obsdata/pjmx01.dbf',
'/u01/oracle/obsdata/pmid01.dbf',
'/u01/oracle/obsdata/pmix01.dbf',
'/u01/oracle/obsdata/pnd01.dbf',
'/u01/oracle/obsdata/pnx01.dbf',
'/u01/oracle/obsdata/pod01.dbf',
'/u01/oracle/obsdata/pox01.dbf',
'/u01/oracle/obsdata/poad01.dbf',
'/u01/oracle/obsdata/poax01.dbf',
'/u01/oracle/obsdata/pomd01.dbf',
'/u01/oracle/obsdata/pomx01.dbf',
'/u01/oracle/obsdata/psad01.dbf',
'/u01/oracle/obsdata/psax01.dbf',
'/u01/oracle/obsdata/psbd01.dbf',
'/u01/oracle/obsdata/psbx01.dbf',
'/u01/oracle/obsdata/pspd01.dbf',
'/u01/oracle/obsdata/pspx01.dbf',
'/u01/oracle/obsdata/qad01.dbf',
'/u01/oracle/obsdata/qax01.dbf',
'/u01/oracle/obsdata/qpd01.dbf',
'/u01/oracle/obsdata/qpx01.dbf',
'/u01/oracle/obsdata/rgd01.dbf',
'/u01/oracle/obsdata/rgx01.dbf',
'/u01/oracle/obsdata/rhxd01.dbf',
'/u01/oracle/obsdata/rhxx01.dbf',
'/u01/oracle/obsdata/rlad01.dbf',
'/u01/oracle/obsdata/rlax01.dbf',
'/u01/oracle/obsdata/rlmd01.dbf',
'/u01/oracle/obsdata/rlmx01.dbf',
'/u01/oracle/obsdata/sspd01.dbf',
'/u01/oracle/obsdata/sspx01.dbf',
'/u01/oracle/obsdata/vead01.dbf',
'/u01/oracle/obsdata/veax01.dbf',
'/u01/oracle/obsdata/vehd01.dbf',
'/u01/oracle/obsdata/vehx01.dbf',
'/u01/oracle/obsdata/wipd01.dbf',
'/u01/oracle/obsdata/wipx01.dbf',
'/u01/oracle/obsdata/wmsd01.dbf',
'/u01/oracle/obsdata/wmsx01.dbf',
'/u01/oracle/obsdata/wpsd01.dbf',
'/u01/oracle/obsdata/wpsx01.dbf',
'/u01/oracle/obsdata/wshd01.dbf',
'/u01/oracle/obsdata/wshx01.dbf',
'/u01/oracle/obsdata/wsmd01.dbf',
'/u01/oracle/obsdata/wsmx01.dbf',
'/u01/oracle/obsdata/xdpd01.dbf',
'/u01/oracle/obsdata/xdpx01.dbf',
'/u01/oracle/obsdata/xlad01.dbf',
'/u01/oracle/obsdata/xlax01.dbf',
'/u01/oracle/obsdata/xncd01.dbf',
'/u01/oracle/obsdata/xncx01.dbf',
'/u01/oracle/obsdata/xnmd01.dbf',
'/u01/oracle/obsdata/xnmx01.dbf',
'/u01/oracle/obsdata/xnpd01.dbf',
'/u01/oracle/obsdata/xnpx01.dbf',
'/u01/oracle/obsdata/xnsd01.dbf',
'/u01/oracle/obsdata/xnsx01.dbf',
'/u01/oracle/obsdata/xtrd01.dbf',
'/u01/oracle/obsdata/xtrx01.dbf',
'/u01/oracle/obsdata/applsysd02.dbf',
'/u01/oracle/obsdata/applsysx02.dbf',
'/u01/oracle/obsdata/asld01.dbf',
'/u01/oracle/obsdata/aslx01.dbf',
'/u01/oracle/obsdata/pvd01.dbf',
'/u01/oracle/obsdata/pvx01.dbf',
'/u01/oracle/obsdata/system06.dbf',
'/u01/oracle/obsdata/itgd01.dbf',
'/u01/oracle/obsdata/itgx01.dbf',
'/u01/oracle/obsdata/ipdd01.dbf',
'/u01/oracle/obsdata/ipdx01.dbf',
'/u01/oracle/obsdata/eamd01.dbf',
'/u01/oracle/obsdata/eamx01.dbf',
'/u01/oracle/obsdata/enid01.dbf',
'/u01/oracle/obsdata/enix01.dbf',
'/u01/oracle/obsdata/okrd01.dbf',
'/u01/oracle/obsdata/okrx01.dbf',
'/u01/oracle/obsdata/cued01.dbf',
'/u01/oracle/obsdata/cuex01.dbf',
'/u01/oracle/obsdata/fted01.dbf',
'/u01/oracle/obsdata/ftex01.dbf',
'/u01/oracle/obsdata/msrd01.dbf',
'/u01/oracle/obsdata/msrx01.dbf',
'/u01/oracle/obsdata/igid01.dbf',
'/u01/oracle/obsdata/igix01.dbf',
'/u01/oracle/obsdata/portal01.dbf',
'/u01/oracle/obsdata/ahld01.dbf',
'/u01/oracle/obsdata/ahlx01.dbf',
'/u01/oracle/obsdata/ahmd01.dbf',
'/u01/oracle/obsdata/ahmx01.dbf',
'/u01/oracle/obsdata/aspd01.dbf',
'/u01/oracle/obsdata/aspx01.dbf',
'/u01/oracle/obsdata/bivd01.dbf',
'/u01/oracle/obsdata/bivx01.dbf',
'/u01/oracle/obsdata/csed01.dbf',
'/u01/oracle/obsdata/csex01.dbf',
'/u01/oracle/obsdata/csid01.dbf',
'/u01/oracle/obsdata/csix01.dbf',
'/u01/oracle/obsdata/csld01.dbf',
'/u01/oracle/obsdata/cslx01.dbf',
'/u01/oracle/obsdata/cugd01.dbf',
'/u01/oracle/obsdata/cugx01.dbf',
'/u01/oracle/obsdata/iecd01.dbf',
'/u01/oracle/obsdata/iecx01.dbf',
'/u01/oracle/obsdata/imcd01.dbf',
'/u01/oracle/obsdata/imcx01.dbf',
'/u01/oracle/obsdata/imtd01.dbf',
'/u01/oracle/obsdata/imtx01.dbf',
'/u01/oracle/obsdata/jtmd01.dbf',
'/u01/oracle/obsdata/jtmx01.dbf',
'/u01/oracle/obsdata/jtsd01.dbf',
'/u01/oracle/obsdata/jtsx01.dbf',
'/u01/oracle/obsdata/okbd01.dbf',
'/u01/oracle/obsdata/okbx01.dbf',
'/u01/oracle/obsdata/okid01.dbf',
'/u01/oracle/obsdata/okix01.dbf',
'/u01/oracle/obsdata/okod01.dbf',
'/u01/oracle/obsdata/okox01.dbf',
'/u01/oracle/obsdata/posd01.dbf',
'/u01/oracle/obsdata/posx01.dbf',
'/u01/oracle/obsdata/xnid01.dbf',
'/u01/oracle/obsdata/xnix01.dbf',
'/u01/oracle/obsdata/system07.dbf',
'/u01/oracle/obsdata/system08.dbf',
'/u01/oracle/obsdata/system09.dbf',
'/u01/oracle/obsdata/rbs02.dbf',
'/u01/oracle/obsdata/amfd01.dbf',
'/u01/oracle/obsdata/amfx01.dbf',
'/u01/oracle/obsdata/bned01.dbf',
'/u01/oracle/obsdata/bnex01.dbf',
'/u01/oracle/obsdata/csmd01.dbf',
'/u01/oracle/obsdata/csmx01.dbf',
'/u01/oracle/obsdata/dddd01.dbf',
'/u01/oracle/obsdata/dddx01.dbf',
'/u01/oracle/obsdata/domd01.dbf',
'/u01/oracle/obsdata/domx01.dbf',
'/u01/oracle/obsdata/egod01.dbf',
'/u01/oracle/obsdata/egox01.dbf',
'/u01/oracle/obsdata/ibcd01.dbf',
'/u01/oracle/obsdata/ibcx01.dbf',
'/u01/oracle/obsdata/okld01.dbf',
'/u01/oracle/obsdata/oklx01.dbf',
'/u01/oracle/obsdata/pjid01.dbf',
'/u01/oracle/obsdata/pjix01.dbf',
'/u01/oracle/obsdata/pond01.dbf',
'/u01/oracle/obsdata/ponx01.dbf',
'/u01/oracle/obsdata/qotd01.dbf',
'/u01/oracle/obsdata/qotx01.dbf',
'/u01/oracle/obsdata/qrmd01.dbf',
'/u01/oracle/obsdata/qrmx01.dbf',
'/u01/oracle/obsdata/discoverer01.dbf',
'/u01/oracle/obsdata/cinvd01.dbf',
'/u01/oracle/obsdata/cinvx01.dbf',
'/u01/oracle/obsdata/cpod01.dbf',
'/u01/oracle/obsdata/cpox01.dbf',
'/u01/oracle/obsdata/capd01.dbf',
'/u01/oracle/obsdata/capx01.dbf',
'/u01/oracle/obsdata/card01.dbf',
'/u01/oracle/obsdata/carx01.dbf',
'/u01/oracle/obsdata/cqcd01.dbf',
'/u01/oracle/obsdata/cqcx01.dbf',
'/u01/oracle/obsdata/cfndd01.dbf',
'/u01/oracle/obsdata/cfndx01.dbf',
'/u01/oracle/obsdata/cgld01.dbf',
'/u01/oracle/obsdata/cglx01.dbf',
'/u01/oracle/obsdata/convd01.dbf',
'/u01/oracle/obsdata/applsysd03.dbf',
'/u01/oracle/obsdata/applsysx03.dbf',
'/u01/oracle/obsdata/cwpld01.dbf',
'/u01/oracle/obsdata/cwplx01.dbf',
'/u01/oracle/obsdata/csyd01.dbf',
'/u01/oracle/obsdata/csyx01.dbf',
'/u01/oracle/obsdata/cpod02.dbf',
'/u01/oracle/obsdata/csyd02.dbf'
CHARACTER SET UTF8
ALTER DATABASE OPEN RESETLOGS;
DROP tablespace TEMP;
DROP tablespace TEMPSYN;
CREATE temporary tablespace TEMP TEMPFILE '/u01/oracle/obsdata/temp01.dbf'
SIZE 1048576000 REUSE extent management local uniform size 128K;
CREATE temporary tablespace TEMPSYN TEMPFILE '/u01/oracle/obsdata/tempsyn01.dbf'
SIZE 1048576000 REUSE extent management local uniform size 128K;
Edited by: amychan60 on Jun 17, 2009 9:30 PM -
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 -
ORA-01033:- oracle initialization or Shutdown in progress Problem
C:\>sqlplus
SQL*Plus: Release 10.1.0.2.0 - Production on Thu Oct 11 09:56:23 2012
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Enter user-name: sys as sysdba
Enter password:
Connected to:
Oracle Database 10g Release 10.1.0.2.0 - Production
SQL> startup nomount;
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount;
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145488364 bytes
Database Buffers 25165824 bytes
Redo Buffers 524288 bytes
SQL> alter database mount;
Database altered.
SQL> alter database open ;
alter database open
ERROR at line 1:
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SQL>SYS
SQL> shutdown abort
ORACLE instance shut down.
SQL> disconnect
Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> conn sys/sys as sysdba
Connected to an idle instance.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145750508 bytes
Database Buffers 25165824 bytes
Redo Buffers 262144 bytes
Deleted alls controlfile from OS
Recreate controlfile
while i am creating control file i am face problem,(D:\oracle\product\10.1.0\oradata\orcl)
SQL> EDIT
Wrote file afiedt.buf
1 CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS ARCHIVELOG
2 MAXLOGFILES 16
3 MAXLOGMEMBERS 3
4 MAXDATAFILES 100
5 MAXINSTANCES 8
6 MAXLOGHISTORY 454
7 LOGFILE
8 GROUP 1 'D:\oracle\product\10.1.0\oradata\orcl\REDO01.LOG' SIZE 10M,
9 GROUP 2 'D:\oracle\product\10.1.0\oradata\orcl\REDO02.LOG' SIZE 10M,
10 GROUP 3 'D:\oracle\product\10.1.0\oradata\orcl\REDO03.LOG' SIZE 10M
11 -- STANDBY LOGFILE
12 DATAFILE
13 'D:\oracle\product\10.1.0\oradata\orcl\SYSTEM01.DBF',
14 'D:\oracle\product\10.1.0\oradata\orcl\UNDOTBS01.DBF',
15 'D:\oracle\product\10.1.0\oradata\orcl\SYSAUX01.DBF',
16 'D:\oracle\product\10.1.0\oradata\orcl\EXAMPLE01.DBF',
17 'D:\oracle\product\10.1.0\oradata\orcl\USERS01.DBF',
18* CHARACTER SET WE8MSWIN1252
SQL> /
CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS ARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01565: error in identifying file
'D:\oracle\product\10.1.0\oradata\orcl\SYSTEM01.DBF'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified. -
Oracle 11.2.0.1
Windows 7 Home Premium
RMAN> backup database;
Starting backup at 05-MAR-12
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 03/05/2012 12:25:05
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
continuing other job steps, job failed will not be re-run
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
including current control file in backup set
including current SPFILE in backup set
channel ORA_DISK_1: starting piece 1 at 05-MAR-12
channel ORA_DISK_1: finished piece 1 at 05-MAR-12
piece handle=E:\APP\NISHA\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2012_03_05\O1_MF_NCSNF_TAG20120305T122505_7O8RTBXJ_.BKP tag=TAG20120305T122505 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 03/05/2012 12:25:05
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
RMAN> 1.What is the problem in above scnerio ?
2.How to take RMAN backup when db is down ?
3.How to take RMAN backup when db is noarchivelog mode ?
Please help me. Thank you.I am trying to do a full RMAN cold backup and am getting the following :
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
What’s the cause ?
Here’s the example
connected to target database (not started)
Oracle instance started
database mounted Total System Global Area 1610612736 bytes Fixed Size 2056504 bytes
Variable Size 603983560 bytes
Database Buffers 989855744 bytes
Redo Buffers 14716928 bytes using target database control file instead of recovery catalog
allocated channel: backup_disk1
channel backup_disk1: sid=4977 instance=TEST1 devtype=DISK Starting backup at 31-OCT-13
channel backup_disk1: starting full datafile backupset
channel backup_disk1: specifying datafile(s) in backupset
RMAN-03009: failure of backup command on backup_disk1 channel at 31/10/2013 20:18:45
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
continuing other job steps, job failed will not be re-run
channel backup_disk1: starting full datafile backupset
channel backup_disk1: specifying datafile(s) in backupset
RMAN-03009: failure of backup command on backup_disk1 channel at 13/10/2013 20:18:45
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
continuing other job steps, job failed will not be re-run
channel backup_disk1: starting full datafile backupset
channel backup_disk1: specifying datafile(s) in backupset
RMAN-03009: failure of backup command on backup_disk1 channel at 13/10/2013 20:18:46
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
continuing other job steps, job failed will not be re-run
channel backup_disk1: starting full datafile backupset
channel backup_disk1: specifying datafile(s) in backupset
released channel: backup_disk1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on backup_disk1 channel at 13/10/2013 20:18:47
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
RMAN>
The cause is simple, the database has not been shutdown cleanly. You will require to restart the database and shutdown again, if in a RAC you will have to shutdown all instances cleanly.
Disabing archive log and attempting to backup the database will demonstrate the cause.
SQL> startup force;
ORACLE instance started.
Total System Global Area 1235959808 bytes
Fixed Size 2175288 bytes
Variable Size 620760776 bytes
Database Buffers 603979776 bytes
Redo Buffers 9043968 bytes
Database mounted.
Database opened.
SQL> shutdown abort;
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 1235959808 bytes
Fixed Size 2175288 bytes
Variable Size 620760776 bytes
Database Buffers 603979776 bytes
Redo Buffers 9043968 bytes
Database mounted.
SQL>
Now we’ll try again to backup datafile 1.
RMAN> backup datafile 1;
Starting backup at 31-OCT-13
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=133 device type=DISK
channel ORA_DISK_1: starting compressed full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 13/10/2013 20:43:34
ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
This is simply because we issue a shutdown abort on the instance. However, just preforming a recovery will allow you to backup as required.
SQL> recover database;
Media recovery complete.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 – 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
C:UsersGary>rman target sys/passwd@db11g
Recovery Manager: Release 11.2.0.1.0 – Production on Thu Oct 31 20:44:15 2010
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: DB10G (DBID=3002158372, not open)
RMAN> backup datafile 1;
Starting backup at 06-DEC-10using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1channel ORA_DISK_1: SID=125 device type=DISK
channel ORA_DISK_1: starting compressed full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00001 name=C:APPGARYORACLEPRODUCT10.2.0DB_1ORADATADB10GSYSTEM01.DBF
channel ORA_DISK_1: starting piece 1 at 31-OCT-13
channel ORA_DISK_1: finished piece 1 at 31-OCT-13
piece handle=C:APPGARYORACLEPRODUCT10.2.0DB_1FLASH_RECOVERY_AREADB10GBACKUPSET2010_12_06O1_MF_NNNDF_TAG20101206T204423_6HTCR810_.BKP tag=TAG20101206T204423 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:45
Finished backup at 31-OCT-13
Starting Control File and SPFILE Autobackup at 31-OCT-13
piece handle=C:APPGARYORACLEPRODUCT10.2.0DB_1FLASH_RECOVERY_AREADB10GAUTOBACKUP2010_12_06O1_MF_S_737066556_6HTCSQVF_.BKP comment=NONE
Finished Control File and SPFILE Autobackup at 31-OCT-13
RMAN> exit
Interestingly, even with the recovery performed, we cannot switch back to archivelog mode without a clean shutdown.
SQL> alter database archivelog;
alter database archivelog*
ERROR at line 1:ORA-00265: instance recovery required, cannot set ARCHIVELOG mode
SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-00264: no recovery required
SQL> alter database archivelog;
alter database archivelog*
ERROR at line 1:ORA-00265: instance recovery required, cannot set ARCHIVELOG mode
So we’ll startup and shutdown again. You cannot use the force option since that still does not perform a normal shutdown and you’ll get the same error.
SQL> alter database open;
Database altered.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 1235959808 bytes
Fixed Size 2175288 bytes
Variable Size 620760776 bytes
Database Buffers 603979776 bytes
Redo Buffers 9043968 bytes
Database mounted.
SQL> alter database archivelog;
Database altered.
SQL> alter database open;
Database altered.
Maybe you are looking for
-
Satellite P100 PSPAD: Unable to update BIOS 3.8 and poor video performance
Hello, I have absolute shoddy video performance on my machine as well as the fan on/off issues. To add to my frustrations the WinPhlash programme included in BIOS version 3.8 dumps out when trying to flash giving a PHLASHNT.SYS unable to load message
-
Tips and links for using Flash to create a CD
Hi, Does anyone have any tips or links to share concering the creation of a CD? Should I use AIR or a Projector file? Any tips are welcome : ) Cheers.
-
Server-side workflows against Service Link updated parameter/data
Is there a way to attach any server-side workflows to service link inbound updates/data other than what is available via parameter mapping and prebuilt functions? I need to manipulate a piece of data that is being updated in to a field by service lin
-
Lightroom displays files and exports files darker than the original or from Photoshop
Hello all. I would first like to preface this by stating I am not technically minded, and I know nothing (or very little) of ICC profiles etc. Though assume someone will attempt to tell me to do something with them in a really technical way which I w
-
Z-Series and Hardware Off-loading?
I consider that the audio hardware off-loading feature for Windows 8 truelly is a correction for sad software mixer in Windows Vista and Seven. Hardware based enginering produce a clear superior sound in audio cards. DirectSound hardware based soundc