1

I moved data file and database started fine but I did the following steps:

SQL> shutdown
SQL> startup nomount
SQL> alter system set control_files='/var/oracle/oradata/control.dbf' scope=spfile;
# shut immediate
# chown oracle:dba /var/oracle/oradata/control.dbf
# chmod 755 /var/oracle/oradata/control.dbf
# su – oracle
sqlplus / as sysdba
SQL> startup
Total System Global Area 1068937216 bytes 
Fixed Size 2233344 bytes 
Variable Size 813698048 bytes 
Database Buffers 247463936 bytes 
Redo Buffers 5541888 bytes 
Database mounted. 
ORA-01122: database file 1 failed verification check 
ORA-01110: data file 1: '/var/oracle/oradata/system.dbf' 
ORA-01207: file is more recent than control file - old control file 

and now I'm unable to resolve this error.

asked Dec 27, 2015 at 0:11
1
  • what did you move from where to where? How did you move it? Commented Dec 27, 2015 at 14:50

1 Answer 1

1

The SCN in the data file is greater than the SCN in the control file or wrong control file is being used. Please use correct control file.

If the the control fle is correct then do BACKUP CONTROLFILE RECOVERY.

Steps:

SQL>startup mount
SQL> recover database using backup controlfile until cancel;

it will ask you for archive logs, give the path of all archive logs which it needs until it gives you message,

MEDIA RECOVERY COMPLETED.

Open the database.

SQL> alter database open;
PhilTM
32k10 gold badges86 silver badges108 bronze badges
answered Dec 27, 2015 at 6:42
3
  • Thanks Shamim but is there any way to check path of all archive logs? Commented Dec 28, 2015 at 12:28
  • I am still waiting for your reply Commented Dec 29, 2015 at 20:59
  • Sorry for late. Actually I am on vacation. You can find the path of all archive log from this query - select name,thread#,sequence#,first_time,next_time,completion_time,archived from V$ARCHIVED_LOG order by FIRST_TIME desc Commented Jan 1, 2016 at 19:50

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.