Solved

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

Posted on 2013-02-04
4
642 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
  • 2
  • 2
4 Comments
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
Comment Utility
>>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
Comment Utility
It seems to work now but I'd appreciate if you explained why it happened on the first place
0
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
Comment Utility
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
Comment Utility
thank you!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to take different types of Oracle backups using RMAN.

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now