SQL>> alter database open
*
ERROR at line 1:
ORA-00313: open failed for members of log group 2 of thread 1
ORA-00312: online log 2 thread 1: '/u01/app/oracle/oradata/jiagulun/redo02.log'
启动报错。
尝试将redo01复制重命名redo02,启动不行,证明文件肯定不一样的。
[oracle@redhat4 jiagulun]$ cp redo01.log redo02.log
SQL> startup;
ORACLE instance started.
Total System Global Area 285212672 bytes
Fixed>
Variable> Database Buffers 180355072 bytes
Redo Buffers 2973696 bytes
Database mounted.
ORA-00341: log 2 of thread 1, wrong log # in header
ORA-00312: online log 2 thread 1: '/u01/app/oracle/oradata/jiagulun/redo02.log'
改回来后启动成功
[oracle@redhat4 jiagulun]$ mv redo002.log redo02.log
SQL> startup;
ORACLE instance started.
Total System Global Area 285212672 bytes
Fixed>
Variable> Database Buffers 180355072 bytes
Redo Buffers 2973696 bytes
Database mounted.
Database opened.
改变DBF数据文件
[oracle@redhat4 jiagulun]$ mv example01.dbf example001.dbf
SQL> startup
ORACLE instance started.
Total System Global Area 285212672 bytes
ORA-01157: cannot> ORA-01110: data file 5: '/u01/app/oracle/oradata/jiagulun/example01.dbf'
启动失败。
改回来后启动成功
[oracle@redhat4 jiagulun]$ mv example001.dbf example01.dbf
SQL> startup;
ORACLE instance started.
Total System Global Area 285212672 bytes