错误处理“ORA-00257: archiver error”

 上次在连接数据库的时候,遇到了如下错误:

 

$ sqlplus user/pass@TNSNAME

SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jun 10 02:17:16 2008

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

ERROR:
ORA-00257: archiver error. Connect internal only, until freed.


Enter user-name:

 

从网上找了一下,可以用下面方法解决。

 

1、 检查。

sqlplus "/as sysdba"

SQL> select * from v$recovery_file_dest;

SQL> select * from v$flash_recovery_area_usage;

 

 

2、 删除过时的archive log 文件。

 

3、 使用RMAN。

 

$ rman

Recovery Manager: Release 10.2.0.1.0 - Production on Tue Jun 10 02:19:21 2008

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

RMAN> connect target xxxxdb

target database Password:
connected to target database: XXXXDB (DBID=3995198640)

RMAN> crosscheck archivelog all;
RMAN> delete expired archivelog all;
RMAN> exit


Recovery Manager complete.

 

4、重启instance。

 

 

你可能感兴趣的:(错误处理“ORA-00257: archiver error”)