Recovary Problem. ORA-01194 & ORA-01110
I had a problem with the database and had to recover.But some reason I didn't do it right.
At the time of crash it was is archive log mode. So I tried to recover using archive log. But Some reason I'm missing the archive#37. I have 36 and 38.
If I use 36 or 38 it doesn't take it.
SVRMGR> startup mount
ORACLE instance started.
Total System Global Area 8744464 bytes
Fixed Size 48656 bytes
Variable Size 7487488 bytes
Database Buffers 1126400 bytes
Redo Buffers 81920 bytes
Database mounted.
SVRMGR> recover database until time '2000-03-13:17:00:10' using backup controlfile;
ORA-00279: change 579476 generated at 03/13/00 17:36:46 needed for thread 1
ORA-00289: suggestion : /db0/u05/oradata/db01/archive/arch0000001737.log
ORA-00280: change 579476 for thread 1 is in sequence #1737
ORA-00308: cannot open archived log '/db0/u05/oradata/db01/archive/arch0000001737.log'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/db0/u01/oradata/db01/system01.dbf'
So I shutdown and restart mount and I'm getting this problem:-
SVRMGR> startup mount;
ORACLE instance started.
Total System Global Area 8744464 bytes
Fixed Size 48656 bytes
Variable Size 7487488 bytes
Database Buffers 1126400 bytes
Redo Buffers 81920 bytes
Database mounted.
SVRMGR> alter database open;
alter database open
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
SVRMGR> alter database open resetlogs;
alter database open resetlogs
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/db0/u01/oradata/db01/system01.dbf'
What should I do? It is not a production database. So, datalost is not a problem. All I want to do is open the database.
Thanks
null
Nagaraj,
I believe a more appropriate forum would be General Database Discussions
Good Luck,
Avi.
Similar Messages
-
Error in Recover Database - ORA-01547 , ORA-01194 and ORA-01110
Hello folks,
I am facing a problem when recovering a database..
I made each tablespace in backup mode, then copied the datafile. I revert back the tablespace status to normal status.Once all datafiles are copied to target location, i created the control file from the source db.
I started the target db by
sqlplus "/ as sysdba"
then i executed the control file
SQL>@ctrlfile.sql
Control file got created.
SQL>recover database until cancel using backup controlfile;
it asked for archives. I gave the path one by one until everything was done.Now i gave 'cancel' as below.
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
cancel
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 377 needs more recovery to be consistent
ORA-01110: data file 377: '<path>/xxfndx01.dbf'
ORA-01112: media recovery not started
Could anyone please tell me where I went wrong and how can I move ahead from this stage???
Later on, when I gave open resetlogs, it gave the same error(as below)
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01194: file 377 needs more recovery to be consistent
ORA-01110: data file 377: '<path>/xxfndx01.dbf'
Please let me know the mistake I made, how to avoid that and how to proceed now ???
Thanks,
Cherrish Vaidiyan
[email protected]Hello Cherrish,
A very good question you have asked. I hope you realize that you're doing an incomplete recovery. There is some amount of information that is still there in the online redo-log, that would not be applied on your target db. Moreover when you're using backup controlfile, you do not know till which point you need to apply archive logs.
For incomplete recovery, Oracle for some reason has been very strict about the recover database command. i.e.
recover database using backup controlfile
recover database using backup controlfile until cancel
Is not same. It also applies to the command that you had given. By giving the command 'recover database using backup controlfile until cancel', you're telling Oracle that incomplete recovery is in process, and you would do resetelogs, to make sure all files are in sync. This is required when you have lost the redo-logs
In case you have just lost the control file. All latest redo-logs, archive-logs and datafiles are okay (or have been restored), then recover database using backup controlfile; would work perfectly okay. and resetlogs would not be required.. and that would be a complete recovery
I hope this all makes sense to you
Regards
Sudhanshu -
ORA 01180 and ORA 01110 during restore
Hi there
Env: Oracle 10g R2 EE on ASM (10.2.0.5.0) - non-RAC, RHEL 5.8 64bit
RMAN backup location: /ora_backup
I have a database on PROD server. I took full RMAN backup of this database and it is stored in "/ora_backup".
I have a new DEV server which has this "/ora_backup" mounted on it. DEV has same Oracle version/patches, directory structure, etc.
I have to create the database with same name as in PROD on the DEV server.
I create the ASM instance with required diskgroups (same names and size as in PROD) and creating same directories on the filesystem for the database. I copied the pfile from PROD to the DEV server and started the database in NOMOUNT mode. I issued following commands to initiate the restore.
$ RMAN target /
RMAN> restore controlfile from '/ora_backup/CA411/autobackup/2013_11_28/o1_mf_s_832702400_99hmjjhr_.bkp';
Starting restore at 28-NOV-13
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=320 devtype=DISK
channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:11
output filename=+DATA/ca411/controlfile/current.257.832712891
output filename=+RECOVERY/ca411/controlfile/current.260.832712891
Finished restore at 28-NOV-13
RMAN> alter database mount;
database mounted
released channel: ORA_DISK_1
RMAN> restore database;
Starting restore at 28-NOV-13
Starting implicit crosscheck backup at 28-NOV-13
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=320 devtype=DISK
Crosschecked 172 objects
Finished implicit crosscheck backup at 28-NOV-13
searching for all files in the recovery area
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: /ora_backup/CA411/autobackup/2013_11_28/o1_mf_s_832702400_99hmjjhr_.bkp
File Name: /ora_backup/CA411/autobackup/2013_11_13/o1_mf_n_831408851_988495gc_.bkp
using channel ORA_DISK_1
creating datafile fno=1 name=+DATA/ca411/datafile/system.284.822662475
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/28/2013 21:08:41
ORA-01180: can not create datafile 1
ORA-01110: data file 1: '+DATA/ca411/datafile/system.284.822662475'
RMAN> list incarnation;
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
1 1 CA411 3492870531 PARENT 1 05-AUG-13
2 2 CA411 3492870531 CURRENT 13405519 13-NOV-13
RMAN> list backup summary;
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
785 B F A DISK 28-NOV-13 1 1 YES TAG20131128T175829
786 B F A DISK 28-NOV-13 1 1 YES TAG20131128T175829
787 B F A DISK 28-NOV-13 1 1 YES TAG20131128T175829
788 B F A DISK 28-NOV-13 1 1 YES TAG20131128T175829
789 B F A DISK 28-NOV-13 2 1 YES TAG20131128T175829
790 B F A DISK 28-NOV-13 1 1 NO TAG20131128T181244
791 B A A DISK 28-NOV-13 1 1 NO TAG20131128T181308
792 B A A DISK 28-NOV-13 1 1 NO TAG20131128T181308
793 B A A DISK 28-NOV-13 1 1 NO TAG20131128T181308
794 B F A DISK 28-NOV-13 1 1 NO TAG20131128T181320
795 B F A DISK 13-NOV-13 1 1 NO TAG20131113T185411
RMAN>
========================
SQL> select db.DBID,NAME,db.CREATED,db.CONTROLFILE_TIME, db.VERSION_TIME,dbinc.RESETLOGS_TIME, dbinc.PRIOR_RESETLOGS_TIME
from v$database db, v$database_incarnation dbinc where dbinc.INCARNATION# = db.LAST_OPEN_INCARNATION#;
DBID NAME CREATED CONTROLFI VERSION_T RESETLOGS PRIOR_RES
3492870531 CA411 05-AUG-13 28-NOV-13 28-NOV-13 05-AUG-13
SQL>
=========================================
drwxrwxr-x 7 oracle oinstall 420 Nov 15 06:20 ora_backup
I used this exact same method to restore the database on TEST server with no issues. I am not sure what is the problem?
Since I was able to restore the database on TEST server, this is definitely not due to the bug mentioned in MOS.
I have read some posts on the forum including these MOS docs (727655.1, 1265151.1, 392237.1) but none fits my situation or solves the problem.
Any clues?
Best regardsyes this is the error but I don't know the cause because I followed exact same steps to restore the DB to TEST server.
ASM does have free space.
ASMCMD> lsdg
State Type Rebal Unbal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Name
MOUNTED EXTERN N N 512 4096 1048576 1705984 1705853 0 1705853 0 DATA/
MOUNTED EXTERN N N 512 4096 1048576 602112 601939 0 601939 0 RECOVERY/
Best regards -
Errors-Ora-01157,ORA-01110,ORA-01033
HI all,
i am unable to login into database,i will explain clearly what has happened,please help me out...my /home directory was 100%,so i was unable to login,what i have did is i have not deleted
archive files but i have moved to other directory /ora_bkp,then i was able to login,today i have rebboted the system and later i have started database,started listener,but when i try to login
through sql*plus or toad i am getting this error.....ORA-01033 (ORACLE INITIALIZATION OR SHUTDOWN IN PROGRESS),and when i have tried to check from sql promt ....i am getting this
error....ORA-01157(CANNOT IDENTIFY/LOCK DATAFILE 6 -SEE DBWR TRACE FILE),& ORA-01110(DATA FILE 6: '/SAPDATA/SPO'...
HOW SHOULD I RECTIFY MY PROBLEM...AS I AM VERY NEW IAM TRYING TO EXPLAIN CLEARLY ...PLEASE HELP ME IN SOLVING THIS ISSUE....I HAVE EVEN TRIED ALTER DATABASE OPEN...I AM GETTING ERRORS OF ORA-01157,ORA-01110....WHAT IS MY PROBLEM HOW SHOULD I RECTIFY IT..PLEASE SORT THIS....
THANKS,
MIKEWell, did you check f.i. your alert.log and other dumps?
They will be on your server in the bdump, udump, cdump directories:
Where to Find Files for Analyzing Errors
Oracle records information about important events that occur in your Oracle RAC environment in trace files. The trace files for Oracle RAC are the same as those in single-instance Oracle databases. As a best practice, monitor and back up trace files regularly for all instances to preserve their content for future troubleshooting.
Information about ORA-600 errors appear in the alert_SID.log file for each instance where SID is the instance identifier. For troubleshooting, you may need to also provide files from the following bdump locations:
* $ORACLE_HOME/admin/db_name/bdump on UNIX-based systems
* %ORACLE_HOME%\admin\db_name\bdump on Windows-based systems
Some files may also be in the udump directory.
In addition, the directory cdmp_timestamp contains in-memory traces of Oracle RAC instance failure information. This directory is located in ORACLE_HOME/admin/db_name/bdump/cdmp_timestamp, where timestamp is the time at which the error occurred.
Trace dump files are stored under the cdmp directory. Oracle creates these files for each process that is connected to the instance. The naming convention for the trace dump files is same as for trace files, but with .trw as the file extension.
(http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/appsupport.htm#RACAD512) -
Stoping recovery process....ORA-01110
Hi experts;
I have created physical Standby. I am getting archives when I start the recovery process by issuing
alter database recover managed standby database using current logfile disconnect;
But when I stop this process & alter database open
alter database recover managed standby database cancel
logs reports no error but I get when "alter database open"
ERROR at line 1:
ORA-16004: backup database requires recovery
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/u02/app/oracle/oradata/orcl/system01.dbf'
this. Actually I had copied all datafiles without issuing "ALter database begin backup"
So please provide me the solution
Thanks in AdvanceFayn_dba wrote:
Hi experts;
I have created physical Standby. I am getting archives when I start the recovery process by issuing
alter database recover managed standby database using current logfile disconnect;
But when I stop this process & alter database open
alter database recover managed standby database cancel
logs reports no error but I get when "alter database open"
ERROR at line 1:
ORA-16004: backup database requires recovery
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/u02/app/oracle/oradata/orcl/system01.dbf'
this. Actually I had copied all datafiles without issuing "ALter database begin backup"What procedure you used exactly?
what is the version you are using?
Why cant use RMAN duplicate?
When you start MRP(recovery) do you see any progress there as it is applying?
Read methods to take backups when database is open and do the same.
http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmintro.htm -
Hi
i am using oracle9i and facing the faollowing problem when opening my database.
ora-01110:data file4 'D:\Oracle\Oradata\ORCL\DRSYS01.DBF'.
please help me.
thanks in advanceThere are some more credentials that come into play here, such as, is the database running in archivelog mode and what exactly happened to your database, and what steps have you done already?
RMAN recover is more user friendly than recover in SQL. You might want to try:
rman target /
RMAN> recover database
Edited by: Dude on Jan 11, 2011 4:49 AM -
Hi All,
My Db Version: 10.2.0
OS: Solaris 5
When i am trying to run below query:
SELECT * FROM ( SELECT DISTINCT CO.BUSINESS_UNIT_ID, DECODE(CO.TYPE, 'S', 'C','A', 'A'),
CU.CUSTCODE, CC.CCLNAME, CC.CCFNAME, CC.CCSTREET, CC.CCSTREETNO, CC.CCZIP, CC.CCCITY, CO.CO_ID,
--DECODE(CH.CH_STATUS, 'o',1, 'a', 2, 's',3,'d',4),
CO.SUBM_ID, CO.PLCODE, CO.CUSTOMER_ID, CU.CUSTNUM,
DECODE(CH.CH_STATUS, 'o',1, 'a', 2, 's',3,'d',4),
CO.CO_REL_TYPE, DECODE(CMV.PROVISION_EXT,null, 'False', 'X', 'True'), CO.TMCODE, CO.CO_ACTIVATED,
CO.CO_CODE, CC.CCNAME, CO.DESCRIPTION FROM CURR_CO_STATUS CH, CCONTACT CC, CUSTOMER CU, CONTRACT_ALL CO,
RATEPLAN CMV WHERE (CO.TMCODE=CMV.TMCODE) AND (CO.BUSINESS_UNIT_ID = 1) AND (CO.CUSTOMER_ID=CC.CUSTOMER_ID)
AND (CO.CO_CODE = 'CONTR0000022412') AND (CO.CONTRACT_TEMPLATE is null ) AND ( CO.SCCODE in (SELECT SCCODE FROM USER_MARKETS where username='TARUNS'))
AND (CO.CO_ID=CH.CO_ID) AND (CO.TYPE = 'S') AND (CO.CUSTOMER_ID=CU.CUSTOMER_ID) ) WHERE ROWNUM <= 51
I got the result
But when i try to run the the same query with minor modification:
SELECT * FROM ( SELECT DISTINCT CO.BUSINESS_UNIT_ID, DECODE(CO.TYPE, 'S', 'C','A', 'A'),
CU.CUSTCODE, CC.CCLNAME, CC.CCFNAME, CC.CCSTREET, CC.CCSTREETNO, CC.CCZIP, CC.CCCITY, CO.CO_ID,
DECODE(CH.CH_STATUS, 'o',1, 'a', 2, 's',3,'d',4),
CO.SUBM_ID, CO.PLCODE, CO.CUSTOMER_ID, CU.CUSTNUM,
--DECODE(CH.CH_STATUS, 'o',1, 'a', 2, 's',3,'d',4),
CO.CO_REL_TYPE, DECODE(CMV.PROVISION_EXT,null, 'False', 'X', 'True'), CO.TMCODE, CO.CO_ACTIVATED,
CO.CO_CODE, CC.CCNAME, CO.DESCRIPTION FROM CURR_CO_STATUS CH, CCONTACT CC, CUSTOMER CU, CONTRACT_ALL CO,
RATEPLAN CMV WHERE (CO.TMCODE=CMV.TMCODE) AND (CO.BUSINESS_UNIT_ID = 1) AND (CO.CUSTOMER_ID=CC.CUSTOMER_ID)
AND (CO.CO_CODE = 'CONTR0000022412') AND (CO.CONTRACT_TEMPLATE is null ) AND ( CO.SCCODE in (SELECT SCCODE FROM USER_MARKETS where username='TARUNS'))
AND (CO.CO_ID=CH.CO_ID) AND (CO.TYPE = 'S') AND (CO.CUSTOMER_ID=CU.CUSTOMER_ID) ) WHERE ROWNUM <= 51
I am getting below error:
SELECT * FROM ( SELECT DISTINCT CO.BUSINESS_UNIT_ID, DECODE(CO.TYPE, 'S', 'C','A', 'A'),
ERROR at line 1:
ORA-01187: cannot read from file 201 because it failed verification tests
ORA-01110: data file 201: '+WICS1/temp01.dbf'
Can anyone help over the sameHi srp
Thanks for your reply
i do the same and this is the result:
SQL> select status,name from v$tempfile;
STATUS
NAME
ONLINE
+WICS1/temp01.dbf
ONLINE
+WICS1/temp02.dbf
One thing more why it is not using temp file when i am getting correct result and why not when i am running prvious query in which i am getting error
And the problem is that this is production server that why it is critical for me. Please help me out
Edited by: Vikas Kohli on Jan 31, 2012 11:48 AM
Please help over the same
Edited by: Vikas Kohli on Jan 31, 2012 12:23 PM -
Oracle Error ORA-01578,ORA-01110
Sir,
As per verbal discussion regarding Problem of Oracle-7 database file curruption, below is the error message which I received
ORA-01578: ORACLE data block corrupted (file # 2, block # 5739)
ORA-01110: data file 2: 'C:\ORAWIN95\DATABASE\usr1orcl.ora'
Just one table is not working properly name: balance
Please not that this is a Personal Oracle 7 version database
I will be highly thankful to you if you will please findout the solution of my problem because it has very imortant data...
My email is [email protected]
thanksI have not worked with Oracle7 but check if this package is available in your version and if yes. You can work with it to fix the problem.
DBMS_REPAIR
DBMS_REPAIR contains data corruption repair procedures that enable you to detect and repair corrupt blocks in tables and indexes. You can address corruptions where possible and continue to use objects while you attempt to rebuild or repair them.
http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96612/d_repair.htm#ARPLS044
Joel Pérez -
ORA-01122, ORA-01110, ORA-01200 of an undo file
Hi,
Yesterday there had been a power-problem and when i want to startup the database i got the following error:
ORA-01122: database file 2 failed verification check
ORA-01110: data file 2: '/.../LDPLM000/UNDOTBS01.DBF'
ORA-01200: actual file size of 1589120 is smaller than correct size of 1592960
Blocks
This is an oracle 10.2g and it is not in archivelog mode.
There is a dump from yesterday but we don't have rman.
It is 'only' the file of the undo-tablespace.
How can i solve this problem?
Thanks in advance.
BiancaHi;
What is exact db version? Dont you have any backup of your db?
Please see:
Bug 5840434 - ORA-1200 if a datafile RESIZE is canceled either by instance crash or user [ID 5840434.8]
ORA-01200 AFTER INCREASING DATAFILE SIZE [ID 416502.1]
Regard
Helios -
Hi,
i got the following message after the db-copy!
Copy from AA1 to AB1
ORA-01190: controlfile or data file 75 is from before the last RESETLOGS
ORA-01110: data file 75: '/oracle/AB1/data2/data15/data15'
Can anybody advise me how i can solve tis problem?
ThanksFlow these steps
1. Take a physicall backup of the ur primary database
2. take a backup controlfile trace file from primary
3. restore only the datafiles and plan backup controlfile to secondary
4. recreate controlfile changing ur database name and file locations
5. issue recover automatic database until cancel using backup controlfile
6. alter database open resetlogs
7. add tempfiles
Regards
Marcio Paiva -
I accidently deleted some datafiles that were part of a tablespace. I don't care about the data because I had not yet used these datafiles. But when my database won't startup because it has the following error in the trace file.
I dont have a back up of these files.
How do I solve this problem.
Thanks
Venkat
ORA-01157: cannot identify/lock data file 54 - see DBWR trace file
ORA-01110: data file 54: 'E:\ORACLE\ORADATA\INDEXTABLESPACE\INDEXTABLESPACE2.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-01157: cannot identify/lock data file 55 - see DBWR trace file
ORA-01110: data file 55: 'E:\ORACLE\ORADATA\INDEXTABLESPACE\INDEXTABLESPACE3.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-01157: cannot identify/lock data file 56 - see DBWR trace file
ORA-01110: data file 56: 'E:\ORACLE\ORADATA\INDEXTABLESPACE\INDEXTABLESPACE4.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-01157: cannot identify/lock data file 57 - see DBWR trace file
ORA-01110: data file 57: 'E:\ORACLE\ORADATA\INDEXTABLESPACE\INDEXTABLESPACE5.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-01157: cannot identify/lock data file 58 - see DBWR trace file
ORA-01110: data file 58: 'E:\ORACLE\ORADATA\INDEXTABLESPACE\INDEXTABLESPACE6.DBF'
ORA-27041: unable to open file
OSD-04002: unable to open filesql>startup mount
sql>alter database datafile 'E:\ORACLE\ORADATA\INDEXTABLESPACE\INDEXTABLESPACE2.DBF'
offline drop;
same command for other files
sql>alter database open;
kuljeet pal singh -
ORA-01110: ORA-01207: on sysaux01.dbf file
Hi,
I have a an Oracle 11.2 database running on SuSE Linux, and I did a cold linux backup of the database (shutdown database, and tar all file system to tape). Now I have restored all the files on a new server, and when I try to start the database, it brings the below error.
SQL> startup mount
ORACLE instance started.
Total System Global Area 1603411968 bytes
Fixed Size 2213776 bytes
Variable Size 872417392 bytes
Database Buffers 721420288 bytes
Redo Buffers 7360512 bytes
Database mounted.
SQL>
SQL> alter database open
2 /
alter database open
ERROR at line 1:
ORA-01122: database file 2 failed verification check
ORA-01110: data file 2: '/data1/oradata/prod01/sysaux01.dbf'
ORA-01207: file is more recent than control file - old control file
When I do the restore, all the files have the same datestamp. But After the alter open database command, control01.dbf and system01.dbf files changed their timestamp to today.
Help.
KevinOracle Error :: ORA-01207
file is more recent than control file - old control file
Cause
The control file change sequence number in the data file is greater than the number in the control file. This implies that the wrong control file is being used. Note that repeatedly causing this error can make it stop happening without correcting the real problem. Every attempt to open the database will advance the control file change sequence number until it is great enough.
Action
Use the current control file or do backup control file recovery to make the control file current. Be sure to follow all restrictions on doing a backup control file recovery. -
ORA-01122, ORA-01110, ORA-01251 when starting up instance
Hi all,
When I startup instance, I have following error. What can I do?
SQL> startup
ORACLE instance started.
Total System Global Area 655434496 bytes
Fixed Size 455424 bytes
Variable Size 494927872 bytes
Database Buffers 159383552 bytes
Redo Buffers 667648 bytes
Database mounted.
ORA-01122: database file 1 failed verification check
ORA-01110: data file 1: 'C:\ORACLE\ORADATA\ORCL\SYSTEM01.DBF'
ORA-01251: Unknown File Header Version read for file number 1
SQL> select status from v$instance;
STATUS
MOUNTEDHi all,
Taking cold backup causes this problem. But I can't solve this problem.
result of select * from v$recover_file statement is below;
ROWNUM FILE# ONLINE ONLINE_STATUS ERROR CHANGE# TIME
1 1 ONLINE ONLINE WRONG FILE TYPE 0
2 2 ONLINE ONLINE WRONG FILE TYPE 0
3 8 ONLINE ONLINE WRONG FILE TYPE 0
4 9 ONLINE ONLINE WRONG FILE TYPE 0
5 10 ONLINE ONLINE WRONG FILE TYPE 0
6 11 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
7 12 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
8 13 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
9 14 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
10 15 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
11 16 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
12 17 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
13 18 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
14 19 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
15 20 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
16 21 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
17 22 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
18 23 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
19 24 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
20 25 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
21 26 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
22 27 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
23 28 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
24 29 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
25 30 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
26 31 ONLINE ONLINE UNKNOWN ERROR 30410625 11.06.2010 21:37:15
Edited by: ilke_altinpulluk on 16.Haz.2010 01:05 -
Cloning problem: ORA-00059: maximum number of DB_FILES exceeded
Hi everyone!
I'm trying to clone our data warehouse over an existing test instance, DMART01. Here's what I did:
1. on the data warehouse - alter database backup controlfile to trace;
2. edited the trace file to change the db name and path of the datafiles
3. logon to sqlplus in DMART01 and run my altered trace file.
4. Below is the error I'm getting:
SQL> @clone09142009.sql
ORACLE instance started.
Total System Global Area 1358954496 bytes
Fixed Size 2128280 bytes
Variable Size 1203668584 bytes
Database Buffers 150994944 bytes
Redo Buffers 2162688 bytes
CREATE CONTROLFILE REUSE SET DATABASE "DMART01" RESETLOGS NOARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00059: maximum number of DB_FILES exceeded
ORA-01110: data file 211:
'/data/oracle/dmart01/d05/oracle/dmart01data/DW_PROD_MEDIUM11.dbf'
In my trace file it has
CREATE CONTROLFILE REUSE SET DATABASE "DMART01" RESETLOGS NOARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 2
MAXDATAFILES 500
MAXINSTANCES 1
MAXLOGHISTORY 1816
Additional information - the data warehouse has an entire tablespace with many datafiles that I don't want in DMART01. I edited those datafile lines out of my trace file. Could some remnants of that be causing my problems? The DB_FILES parameter in the warehouse is set to 500. In DMART01 it's only 200. In the clone, I only want to bring over 61 datafiles. Besides, I thought that in the create controlfile statement would set the parameter, in this case to 500.
I'm stumped. Any suggestions?
Thanks!
SharonI answered my own question. If anyone is curious, here's what I did:
in DMART01
1. startup nomount;
2. create pfile from spfile;
3. shutdown immediate;
4. edited pfile to have dw_files=500
5. startup nomount pfile=initDMART01.ora;
6. create spfile from pfile;
7. shutdown immediate;
8. @clone09142009.sql -
ORA-00376,ORA-01110 의 조치 방법
제품 : ORACLE SERVER
작성날짜 : 2003-01-15
ORA-00376,ORA-01110 의 조치 방법
================================
Purpose
ORA-00376: file 29 cannot be read at this time
ORA-01110: data file 29: '/db/GICORP_4/axix01.dbf'
Problem Description
datafile의 size가 os에서 허용하는 filesize를 초과해서
발생하는 에러입니다.
Solution Description:
unix의 ulimit filesize를 확인해 보시기 바랍니다.
그리고 datafile size 보다 크도록 수정해 주어야 합니다.
1. unix ulimit filesize를 증가 시킨다
C shell인 경우
% limit filesize <number>
Bourne 이나 Korn shell 인 경우
$ ulimit -f <number>
2. archivelog mode인지 확인합니다
SVRMGR> select * from v$database;
NAME CREATED LOG_MODE CHECKPOINT ARCHIVE_CH
GICORP 05/17/00 13:44:56 ARCHIVELOG 36290290 36284249
1 row selected.
3. media recovery가 필요한 datafiles를 찾습니다
SVRMGR> select * from v$recover_file;
FILE# ONLINE ERROR CHANGE# TIME
9 OFFLINE 36287415 12/20/00 23:30:55
23 OFFLINE 36289350 12/21/00 08:40:54
28 OFFLINE 36287415 12/20/00 23:30:55
29 OFFLINE 36287415 12/20/00 23:30:55
37 OFFLINE 36287415 12/20/00 23:30:55
5 rows selected.
4. 각각의 datafile에 대해서 다음을 실행해 줍니다
SVRMGR> recover datafile '/db/GICORP_4/axix01.dbf';
Media recovery complete.
SVRMGR> alter database datafile '/db/GICORP_4/axix01.dbf' ONLINE;
Statement processed.
5. database를 restart합니다
SVRMGR> shutdown
Database closed.
Database dismounted.
ORACLE instance shut down.
SVRMGR> startup
ORACLE instance started.
Total System Global Area 54578916 bytes
Fixed Size 69348 bytes
Variable Size 20783104 bytes
Database Buffers 33554432 bytes
Redo Buffers 172032 bytes
Database mounted.
Database opened.
SVRMGR>
Reference Ducumment
---------------------Hi,
You have deleted the data files then how can you expect to query the data :). You need to recover from a valid backup to get the database back. You CAN NOT open database if current undo tablespace data file is gone
Salman
Maybe you are looking for
-
Newbie-made animation in graphic symbol timeline by mistake! Can't get it out
Tha't s only one problem... I am making a very simple stick figure animation which will be intended for tv, specifically HDTV 1080p I have no idea how i did it but I did the animation and before I knew it it was not on scene 1, but on the graphic sym
-
For home sharing do all computers have to be on same wifi?
I have iTunes at home, I would like to get it at work also. Is this possible since it's on 2 different internet connections?
-
How many wikis and blogs can a user have?
I recently set up web services. It is true that each user can create one blog and multiple wikis (how many wikis)? This is how it appears at the initial setup. I want to make sure I'm giving the correct information to my users.
-
Where is the templates folder?
Hi, sounds stupid, but I can't find the folder Pages is saving the templates in. Even Spotlight doesn't find any template, nor the templates folder. I'm asking because I want to delete certain templates, and HELP says, I can do it with the finder - "
-
Messages "An error occurred while activating. Try again later"
Hi have an iMac (2,5 GHz Intel Core i5, 4GB 1333 MHz DDR3 latest OS 10.9.4) and I keep getting errors while logging in to messages - I can send and receive imessages on my iPhone and iPad with no problems - my apple ID is verified - I don't have modi