error:control file or data file 1 is from before the last RESETLOGS
2012-12-02 19:48
597 查看
error:control file or data file 1 is from before the last RESETLOGS
起因:做rman备份恢复实验,通过resetlogs恢复了redo.log后,没有做rman备份,
又将控制文件、数据文件和日志文件都删除了,再用rman恢复时,提示上述错误。
解决办法:1.恢复控制文件,restore controlfile from autobackup;
2.还原数据文件 restore database;
3.恢复数据文件 recover database using backup controlfile until cancel;
4.设置隐含参数:alter system set “_allow_resetlogs_corruption”=true scope=spfile;
5.然后关闭数据库,用下面命令重启:startup mount;
6.重建日志文件 alter database open resetlogs;
使用隐含参数_allow_resetlogs_corruption强制启动数据库,设置此参数之后,在数据库Open过程中,Oracle会跳过某些一致性检查,从而使数据库可能跳过不一致状态,Open打开
使用该参数强制可能会导致数据库遗留问题,建议使用exp/imp来重建数据库。
教训:rman恢复完记得做备份。
起因:做rman备份恢复实验,通过resetlogs恢复了redo.log后,没有做rman备份,
又将控制文件、数据文件和日志文件都删除了,再用rman恢复时,提示上述错误。
解决办法:1.恢复控制文件,restore controlfile from autobackup;
2.还原数据文件 restore database;
3.恢复数据文件 recover database using backup controlfile until cancel;
4.设置隐含参数:alter system set “_allow_resetlogs_corruption”=true scope=spfile;
5.然后关闭数据库,用下面命令重启:startup mount;
6.重建日志文件 alter database open resetlogs;
使用隐含参数_allow_resetlogs_corruption强制启动数据库,设置此参数之后,在数据库Open过程中,Oracle会跳过某些一致性检查,从而使数据库可能跳过不一致状态,Open打开
使用该参数强制可能会导致数据库遗留问题,建议使用exp/imp来重建数据库。
教训:rman恢复完记得做备份。
相关文章推荐
- MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error
- android 出现Make sure the Cursor is initialized correctly before accessing data from it
- ImportError: The Python Imaging Library (PIL) is required to load data from jpeg files
- (转)fatal error C1853: precompiled header file is from a previous version of the compiler, or the pre
- 解决 Make sure the Cursor is initialized correctly before accessing data from it
- recompiled header file is from a previous version of the compiler, or the precompiled header is C++
- Could not load file or assembly ‘AjaxControlToolkit’ or one of its dependencies. The parameter is incorrect. (Exception
- SharePoint Designer Check In and Check Out Error – Cannot perform this operation.The file is no longer check out or has been del
- MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error
- 问题记录-Get data from file(fonts/arial.ttf) failed, error code is 32
- Could not load file or assembly ‘AjaxControlToolkit’ or one of its dependencies. The parameter is incorrect.
- #Redis Error #MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details a
- fatal error C1853:pecompiled header file is from a previous version of the compiler,or the precompil
- RMAN-20207: UNTIL TIME or RECOVERY WINDOW is before RESETLOGS time
- MOSS爬网问题Error from SharePoint site: Data is Null. This method or property cannot be called on Null values
- 重建控制文件时提示ORA-01189: file is from a different RESETLOGS than previous files
- Error: The project file ' ' has been renamed or is no longer in the solution
- SharePoint 2010 Server Error: The URL "XXX" is invalid, it may refer to a nonexistent file or ...
- cocos2d-x3.x连接CSV文件Get data from file("Tower.csv")failed,error code is 32 问题及解决方案
- Make sure the Cursor is initialized correctly before accessing data from it.