Avamar Oracle Backupsが失敗して、エラー メッセージ「Oracle not Available」が表示されました(000519839)
更新済み
バージョン:2
記事タイプ:不具合修正
対象読者:レベル30 = お客様
最終発行日:2018年4月4日水曜日10:13:46(GMT)
サマリー:
Avamar Oracle Backupsがエラー メッセージ「Oracle not Available」で失敗する。
問題:
この環境は、Avamar - IDPA環境内の新しいOracleインストール環境でした。次のエラー メッセージが表示され、Oracleバックアップが失敗しました。 RMANには次の情報が記録されました。 connected to target database (not started) using target database control file instead of recovery catalog RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of configure command at 04/02/2018 17:40:54 RMAN-06403: could not obtain a fully authorized session ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist Linux-x86_64 Error: 2: No such file or directory Recovery Manager complete. Avoracle ログには次の情報が記録されました。 2018-04-02 17:41:02 avoracle Error <7934>: Snapup of PPGIS aborted due to rman terminated abnormally - check the logs
2018-04-02 17:41:02 avoracle Info <7271>: Final summary generated subwork 1, cancelled/aborted 1, snapview 0, exitcode 157
原因:
同じデータベースに対して、Oratab内に競合するエントリーがあります。
解決策:
最初に、DBがアーカイブ ログ モードにあることを確認しました。
SQL> select log_mode from v$database; LOG_MODE ------------ ARCHIVELOG SQL>
次に、データベースが実行状態にあるかどうかを確認しました。
SQL> select open_mode,db_unique_name from v$database; OPEN_MODE DB_UNIQUE_NAME -------------------- ------------------------------ READ WRITE ppgis database is running
SQL> select instance_name,status,database_status from v$instance; INSTANCE_NAME STATUS DATABASE_STATUS ---------------- ------------ ----------------- ppgis OPEN ACTIVE SQL>
この段階で、lsnrctlのステータスを確認しました。
[oracle@ppgisdb03 oracle11204]$ lsnrctl status LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 02-APR-2018 18:20:44 Copyright (c) 1991, 2013, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ppgisdb03)(PORT=1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production Start Date 03-MAR-2018 22:56:41 Uptime 29 days 19 hr. 24 min. 2 sec
Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /oracle11204/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora Listener Log File /oracle11204/app/oracle/diag/tnslsnr/ppgisdb03/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ppgisdb03)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0))) Services Summary... Service "PLSExtProc" has 1 instance(s). Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service... Service "ppgis" has 1 instance(s). Instance "ppgis", status READY, has 1 handler(s) for this service... Service "ppgisXDB" has 1 instance(s). Instance "ppgis", status READY, has 1 handler(s) for this service... The command completed successfully
最後に、oratabファイルを確認しました。
[oracle@ppgisdb03 etc]$ cat oratab # # This file is used by ORACLE utilities. It is created by root.sh # and updated by either Database Configuration Assistant while creating # a database or ASM Configuration Assistant while creating ASM instance. # A colon, ':', is used as the field terminator. A new line terminates # the entry. Lines beginning with a pound sign, '#', are comments. # # Entries are of the form: # $ORACLE_SID:$ORACLE_HOME: : # # The first and second fields are the system identifier and home # directory of the database respectively. The third filed indicates # to the dbstart utility that the database should , "Y", or should not, # "N", be brought up at system boot time. # # Multiple entries with the same $ORACLE_SID are not allowed. # # PPGIS:/oracle/app/oracle/product/11.2.0/dbhome_1:N ppgis:/oracle11204/app/oracle/product/11.2.0/dbhome_1:N
oratabファイルでOracleホーム情報を確認したところ、次のようにORACLE_HOMEを使用してOracleが起動されたことがわかりましました。 /oracle11204/app/oracle/product/11.2.0/dbhome_1 ただし、Avamar rmanプラグインは、oratabからORACLE_HOMEを次のように取得します。 PPGIS:/oracle/app/oracle/product/11.2.0/dbhome_1:N この指定は無効なエントリーでした。
この問題を解決するには、次の2つの方法があります。 a)無効なエントリーを削除する。 b)正しいホーム ディレクトリを使用するようにAvOracleに指定する。 Oratabには変更を加えたくないため、ここでは、正しいホーム ディレクトリ をAvamar Oracleに指定する方法を選択しました。したがって、/usr/local/avamar/var/avoracle.cmdにあるavoracle.cmdファイルを使用して、正しいoracleホームを設定しました。 --oracle_home=/oracle11204/app/oracle/product/11.2.0/dbhome_1 この変更後、バックアップが実行され、正常に完了するようになりました。
プライマリ製品:Oracle用Avamarプラグ イン
製品:Integrated Data Protection Appliance、Avamar Plug-in for Oracle