记录一次客户Oracle启动不了的解决过程
1. 启动时发生以下错误
2. 执行如下语句
alter system set control_files='E:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\CONTROL02.CTL' scope=spfile;
startup
3. 执行上面语句后出现
4. 执行如下语句
select * from v$log;
select Group#,Member from v$logfile;
shutdown immediate;
startup mount;
recover database until cancel;
alter database open resetlogs;
5.
shutdown immediate;startup mount;
ALTER SYSTEM SET "_allow_resetlogs_corruption"= TRUE SCOPE = SPFILE;
ALTER SYSTEM SET undo_management=MANUAL SCOPE = SPFILE;
shutdown immediate;
startup mount;
alter database open resetlogs;
CREATE UNDO TABLESPACE undo1 datafile 'E:\app\Administrator\oradata\ORCL\undo1_1.dbf' size 200m autoextend on maxsize unlimited;
ALTER SYSTEM SET undo_tablespace = undo1 SCOPE=spfile;
alter system set undo_management=auto scope=spfile;
shutdown immediate;startup;