ORA-16014: log 2 sequence# not archived, no available destinations"

DB服务器磁盘满了,从log中看到如下错误,

ORA-00312: online log 1 thread 1: '/data/ora_data01/SELADEVW/SELADEVW/redo01.log'

 <txt>ORACLE Instance SELADEVW - Archival Error
 <txt>ORA-16014: log 2 sequence# 9389 not archived, no available destinations
ORA-00312: online log 2 thread 1: &apos;/data/ora_data01/SELADEVW/SELADEVW/redo02.log&apos;
ORA-16014: log 1 sequence# 9388 not archived, no available destinations
ORA-00312: online log 1 thread 1: &apos;/data/ora_data01/SELADEVW/SELADEVW/redo01.log&apos;

shutdown 不掉,就直接把进程kill 掉,再启动报ORA-16014错误,

ORA-16014: log 2 sequence# not archived, no available destinations"


oracle support  上查到解决方法:

Symptoms

Unable to access the Oracle XE database.  When database open is attempted, error is similar to

SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-16014: log 2 sequence# 1245 not archived, no available destinations
ORA-00312: online log 2 thread 1:
'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_5FX8YHWT_.LOG'

Cause

The Oracle XE database is running in archivelog mode. Archivelog mode may run successfully until the archivelog area fills due to Oracle XE size limitations. The database will not permit any additional files to be written to the archive area, and the database will not open.

Solution

An Oracle XE database is not intended to be run with the same functionality provided with the Oracle Standard or Enterprise versions. Archivelog mode is not supported as it will eventually reach an XE size limitation,

Since archivelog mode should not be used for an Oracle XE database, other backup methods should be used by customers. Suggested backup methods are:
  • Scheduled Oracle exports - see Document 1093551.1
  • P6 exports of projects
  • Cold Oracle backups - (If using 3rd party backup software)
    • Windows services must be stopped (OracleServiceXE and OracleXETNSListener)
    • Copy the flash_recovery_area and oradata folders

To attempt recovery:
1. Go to a command prompt (Start - Run - cmd)

2. Type the following:  sqlplus /@xe as sysdba
3.  Type the following at the SQL> prompt:  alter database open;
It should generate the following error:

alter database open
*
ERROR at line 1:
ORA-16014: log 2 sequence# 1245 not archived, no available destinations
ORA-00312: online log 2 thread 1:
'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_5FX8YHWT_.LOG'


4. Type the following at the SQL> prompt:  alter database clear unarchived logfile group 2;
The number entered for the logfile group should match the log identified in the ORA-16014 error from Step 3.
5.  Type the following at the SQL> prompt to turn off archiving:  alter database noarchivelog;
6.  Type the following at the SQL> prompt:  alter system set log_archive_start = false scope=spfile;
7.  Type the following at the SQL> prompt:  alter database open;
If the database opened successfully, it is necessary for you to take a complete backup of the database, as it is no longer running in archivelog mode.  To set up a scheduled Oracle export, see Document 1093551.1.


解决命令过程:

SQL> startup mount

alter database clear unarchived logfile group 1;
alter database noarchivelog;

alter system set log_archive_start=false scope=spfile;

alter database open

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值