- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
3#
发表于 2012-3-19 21:11:02
[oracle@vrh8 ~]$ oerr ora 1152
01152, 00000, "file %s was not restored from a sufficiently old backup "
// *Cause: An incomplete recovery session was started, but an insufficient
// number of logs were applied to make the database consistent. This
// file is still in the future of the last log applied. The most
// likely cause of this error is forgetting to restore the file
// from a backup before doing incomplete recovery.
// *Action: Either apply more logs until the database is consistent or
// restore the database file from an older backup and repeat recovery.
The database was not shutdown when you created a copy of the control file.
If the database and/or OracleService<sid> service (<SID> is the SID (ORCL is
the default SID) of the database) is not shutdown before making a
copy of the control file then they will be out of synchronization and cause the
ORA-1152 on startup. By shutting down the database and services you can be
assured that Oracle is not accessing the original control file and that the
copy will be an exact synchronized replica. If the you forget to reference
the additional control file in the INIT<sid>.ORA file before starting the
database then the duplicate control file must be deleted and the run through
all the steps above again.
This error occurs when a file is ahead in time (SCN) than the stopping point of recovery. |
|