RMAN-04006:補助データベースからのエラー:ORA-01017:ユーザー名/パスワードが無効です。ログオンが拒否されました



Rman 04006 Error From Auxiliary Database



今日DGに乗っているときに、次のエラーが発生しました。




$ rman target sys/root@xxxxx auxiliary sys/root@xxxxx ………… RMAN-00554: initialization of internal recovery manager package failed RMAN-04006: error from auxiliary database: ORA-01017: invalid username/password logon deniedクエリにより、このエラーには3つの理由があることがわかりました。

1.メインデータベースとスタンバイデータベースのパスワードファイルに一貫性がありません
2.remote_login_passwordfileを排他的に設定する必要があります

3.パスワードファイル名が間違っていますが、これはこの理由によるものです。私のORACLE_SIDはjxdspですが、そのときに作成したコマンドは次のとおりです。

orapwd file = $ ORACLE_HOME / dbs / orapworcl password = oracle entry = 5



次のコマンドで再作成した後、問題はスムーズに解決されました

orapwd file = $ ORACLE_HOME / dbs / orapwjxdsp password = oracle entry = 5





第二に、

RMAN> duplicate target database for standby from active database nofilenamecheck Starting Duplicate Db at 2018/05/17 17:41:40 using channel ORA_AUX_DISK_1 contents of Memory Script: { backup as copy reuse targetfile '/oracle/database/11.2.0/db_1/dbs/orapwjxdsp1' auxiliary format '/oracle/database/11.2.0/db_1/dbs/orapwjxdsp' } executing Memory Script Starting backup at 2018/05/17 17:41:40 using channel ORA_DISK_1 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of Duplicate Db command at 05/17/2018 17:41:42 RMAN-05501: aborting duplication of target database RMAN-03015: error occurred in stored script Memory Script RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/17/2018 17:41:42 ORA-17629: Cannot connect to the remote database server ORA-17627: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor ORA-17629: Cannot connect to the remote database server送信元と宛先の間の接続でエラーが発生している可能性があります。ソースの接続文字列を確認して、実際に問題があることを確認してください。修正後、エラーは解決されます。