SQL> startup
ORACLE instance started.
Total System Global Area 285212672 bytes
Fixed Size 1273276 bytes
Variable Size 260047428 bytes
Database Buffers 20971520 bytes
Redo Buffers 2920448 bytes
Database mounted.
ORA-16038: log 1 sequence# 19 cannot be archived
ORA-19502: write error on file "", blockno (blocksize=)
ORA-00312: online log 1 thread 1: '/u01/app/oracle/oradata/orcl/redo01.log'
解决:
select group#,sequence#,archived,status from v$log;
GROUP# SEQUENCE# ARC STATUS
---------- ---------- --- ----------------
1 19 NO INACTIVE
3 21 NO CURRENT
2 20 NO INACTIVE
SQL> alter database clear unarchived logfile group 1;
Database altered.
SQL> alter database clear unarchived logfile group 2;
Database altered.
SQL> alter database clear unarchived logfile group 3;
Database altered.
SQL> shutdown immediate
Database dismounted.
startup mount
ORACLE instance shut down.
SQL> ORACLE instance started.
Total System Global Area 285212672 bytes
Fixed Size 1273276 bytes
Variable Size 260047428 bytes
Database Buffers 20971520 bytes
Redo Buffers 2920448 bytes
Database mounted.
问题解决。。。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29668428/viewspace-1170220/
,如需转载,请注明出处,否则将追究法律责任。