Solved

Control file 'file1' version 'xxx' is inconsistent with file 'file2' version 'xxy' error

Posted on 2013-02-04
4
651 Views
Last Modified: 2013-02-04
I had 3 control files in my database in the same location:

/u01/oradata/DBName/control01.ctl, /u01/oradata/DBName/control02.ctl, and /u01/oradata/DBName/control03.ctl and since it is not a good practice, I have decided to move two of my control files to different locations.

So I modified PFILE CONTROL_FILES parameter to

CONTROL_FILES=('/u01/oradata/DBName/control01.ctl', '/u02/oradata/DBName/control02.ctl', '/u03/oradata/DBName/control03.ctl')

Then I copied the files:

cp /u01/oradata/DBName/control02.ctl /u02/oradata/DBName/control02.ctl

cp /u01/oradata/DBName/control03.ctl /u03/oradata/DBName/control03.ctl

Then I shutdown and started up my database and got an error:

ORA-00214: control file 'u01/oradata/DBName/control01.ctl' version 12659
inconsistent with file '/u02/oradata/DBName/control02.ctl' version 12655

I tried correcting it by modifying my PFILE to reflect only control01.ctl then deleted cotrol02.ctl and control03.ctl and re-created them from a copy of control01.ctl file:

cp /u01/oradata/DBName/control01.ctl /u02/oradata/DBName/control02.ctl

cp /u01/oradata/DBName/control01.ctl /u03/oradata/DBName/control03.ctl

and attempted to startup database again but gotten same error.

Can someone tell me why this is happening and how can I fix it?

P.S. Database is in NOARCHIVELOG mode and there is no autobackup of the control file
0
Comment
Question by:YZlat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 38852358
>>Then I shutdown and started up my database and got an error:

Shut down first.

Shut down again, then copy the control files to their new location.
0
 
LVL 35

Author Comment

by:YZlat
ID: 38852450
It seems to work now but I'd appreciate if you explained why it happened on the first place
0
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 38852475
You copied a live control file.

When you shut down, the system performed a checkpoint.  Among other things, this updates the SCN in the header of every file.  This made the controlf files you copied live, 'old'.

When you started up, among other things, oracle checks for file integrity.  Part of this makes sure the SCN's of all files match.

If they don't, you have problems.
0
 
LVL 35

Author Closing Comment

by:YZlat
ID: 38852508
thank you!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
date show only hh:mm 2 50
How to combine two oracle database together 9 72
Oracle Join issue. 3 47
ORACLE SQL DEVELOPER + Compare Tables 5 37
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question