ORA-19602:NOARCHIVELOGモードのバックアップを押すことも、アクティブなファイルをコピーすることもできません



Ora 19602 Unable Press Noarchivelog Mode Backup



非アーカイブモードのバックアップデータファイルRMANを使用すると、ORA-19602エラーが発生しました。次のようなエラー:

[root@xxxxx ~]$ rman target / Recovery Manager: Release 11.2.0.1.0 - Production on Tuesday, August 20 2019 14:01:47 Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. Connected to the target database: ORCL (DBID=1523101237, unopened) RMAN> backup datafile 5 format '/u01/backup/xxxx' Start backup at 20-8 Yue -19 Use alternative target database control file recovery catalog Distribution channels: ORA_DISK_1 Channel ORA_DISK_1: SID=10 device type=DISK Channel ORA_DISK_1: Starting all data file backup set Channel ORA_DISK_1: are specified in the data file backup set RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03009: backup command (ORA_DISK_1 the channel, on 08/20/2019 14:01:50) Failure ORA-19602: unable to press NOARCHIVELOG mode backup or copy active file RMAN> quit

エラーの原因:

Oracleをシャットダウンすると、正しくシャットダウンされませんでした。

SQL> shutdown immediate

ここでハングしました。データファイルへの書き込みが適切にシャットダウンされなかったため、データファイルへの書き込み操作の一部が適切に記録されなかったと思います。

RMANエラーを使用してデータファイルをバックアップする場合、データベースを閉じるだけでなく、一部の操作がデータファイルに書き込まれないようにする必要があります。以下を解決できます。

解決策:Oracleを完全にシャットダウンし、Oracleを適切に起動します。

ここでは、非アーカイブモードでバックアップを行っていたため、startup mountを使用していました。

非アーカイブモードで。

SQL> archive log list Database log mode Archive Mode non Disable automatic archive Archive destination / u01 / log / 2 The earliest online log sequence 6 Current log sequence 9 SQL>

Oracleを通常どおり停止し、マウントとして起動します。

SQL> startup force ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance ORACLE instance started. Total System Global Area 217157632 bytes Fixed Size 2211928 bytes Variable Size 159387560 bytes Database Buffers 50331648 bytes Redo Buffers 5226496 bytes Database loading is completed. Database has been opened. SQL> shutdown normal Database closed. Database has been uninstalled. ORACLE instance shut down. SQL> startup mount ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance ORACLE instance started. Total System Global Area 217157632 bytes Fixed Size 2211928 bytes Variable Size 159387560 bytes Database Buffers 50331648 bytes Redo Buffers 5226496 bytes Database loading is completed. SQL>

成功した結果は次のとおりです。

[root@xxxxx ~]$ rman target / Recovery Manager: Release 11.2.0.1.0 - Production on Tuesday, August 20 2019 14:04:54 Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. Connected to the target database: ORCL (DBID=1523101237, unopened) RMAN> backup datafile 5 format '/u01/backup/xxxx' Start backup at 20-8 Yue -19 Use alternative target database control file recovery catalog Distribution channels: ORA_DISK_1 Channel ORA_DISK_1: SID=10 device type=DISK Channel ORA_DISK_1: Starting all data file backup set Channel ORA_DISK_1: are specified in the data file backup set Input data file: file number=00005 Name=/u01/yy/yy.dbf Channel ORA_DISK_1: Starting paragraph 1 to 20-8 Yue -19 Channel ORA_DISK_1: Completed sections 1 to 20-8 Yue -19 Segment handle=/ U01 / backup / xxxx tag=TAG20190820T140458 comments=NONE Channel ORA_DISK_1: backup set is complete, elapsed time: 00: 00: 01 Complete backup to 20-8 Yue -19 RMAN>

Oracle Database Management>マウント状態、アーカイブモードなし、rmanはデータファイルをコピーしません
Oracleはシャットダウンしません。「即時シャットダウン」を使用してください。