问题:ORA-01122: 数据库文件 6 验证失败
ORA-01110: 数据文件 6: 'E:\ORACLE_DATABAK\RMAN\CATALOG.DBF'
ORA-01207: 文件比控制文件更新 - 旧的控制文件
原因:把控制文件移到不同的位置,自己操作问题,数据库startup的时候出现下面错误。
数据文件里面的控制文件序列号比控制文件的高。
根据oracle文档的解释:
Cause: The control file change sequence number in the datafile 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 CONTROLFILE RECOVERY to make the control file current. Be sure to follow all restrictions on doing a BACKUP CONTROLFILE RECOVERY.
Solution:
1. Check alert file,kill monitor process
2. Startup mount,
3. “alter database backup control to trace”
4. Find the trace file,and open it
5. Startup nomount
6. recreate controlfile using resetlogs
7. “recover database using backup controlfile”
8. “alter database open resetlogs;”
9. “alter tablespace temp add tempfile '.dbf' reuse;”
解决办法
重建控制文件
recover database using backup controlfile;
出现
ORA-00279: 更改 962998 (在 08/22/2008 09:03:51 生成) 对于线程 1 是必需的
ORA-00289: 建议:
E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2008_08_22\O1_MF_1_
16_%U_.ARC
ORA-00280: 更改 962998 (用于线程 1) 在序列 #16 中
指定日志: {=suggested | filename | AUTO | CANCEL}
在窗口输入日志文件的位置:E:\oracle\product\10.2.0\oradata\orcl\REDO01.LOG
出现
ORA-00310: 归档日志包含序列 14; 要求序列 16
ORA-00334: 归档日志: 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG'
输入
recover database using backup controlfile;
出现
ORA-00279: 更改 962998 (在 08/22/2008 09:03:51 生成) 对于线程 1 是必需的
ORA-00289: 建议:
E:\ORACLE\PRODUCT\10.2.0 \FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2008_08_22\O1_MF_1_
16_%U_.ARC
ORA-00280: 更改 962998 (用于线程 1) 在序列 #16 中
指定日志: {=suggested | filename | AUTO | CANCEL}
输入 E:\oracle\product\10.2.0\oradata\orcl\REDO03.LOG (注:这里是你的日志文件的位置,有几个日志慢慢试)
出现
已应用的日志。
完成介质恢复。
最后
alter database open resetlogs;
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/25112695/viewspace-682131/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/25112695/viewspace-682131/