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
Solved

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

Posted on 2013-02-04
4
647 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)
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 76

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

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
database upgrade 8 110
Oracle - SQL Query with Function 3 53
Fill Date time Field 12 23
setting local variables in a cursor block 3 18
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
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.

839 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