ORA-16038: log 2 sequence# 30 cannot be archived

本文介绍了一种解决Oracle数据库启动时遇到ORA-16038错误的方法,通过清除未归档的redo日志文件并重新打开数据库来解决此问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

启动数据库遭遇ORA-16038: log 2 sequence# 30 cannot be archived错误

SYS@ORCL>startup
ORACLE instance started.
Total System Global Area 1224736768 bytes
Fixed Size                  2020384 bytes
Variable Size             318770144 bytes
Database Buffers          889192448 bytes
Redo Buffers               14753792 bytes
Database mounted.
ORA-16038: log 2 sequence# 30 cannot be archived
ORA-19502: write error on file "", blockno  (blocksize=)
ORA-00312: online log 2 thread 1: '/u01/app/oracle/oradata/ORCL/redo02.log'

关闭数据库

SYS@ORCL>shu immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.

启动数据到mount状态下

SYS@ORCL>startup mount
ORACLE instance started.
Total System Global Area 1224736768 bytes
Fixed Size                  2020384 bytes
Variable Size             318770144 bytes
Database Buffers          889192448 bytes
Redo Buffers               14753792 bytes
Database mounted.

清除未归档的redo logfile

SYS@ORCL>alter database clear unarchived logfile '/u01/app/oracle/oradata/ORCL/redo02.log';
Database altered.

打开数据库

SYS@ORCL>alter database open;
Database altered

故障解决了。。。。。。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10271187/viewspace-1163500/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10271187/viewspace-1163500/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值