PowerProtect:PPDM Oracle 備份失敗,並顯示:AppBackupAssetsOp:備份失敗,並顯示錯誤程式 /home/oracle/opt/dpsapps/rmanagent/bin/ddbmcon failed with error code -6, stdout data:,stderr 資料:..

Summary: 本文提供下列問題的因應措施。備份失敗是因為設定為執行備份的作業系統使用者沒有存取 Oracle 用戶端程式庫的許可權。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Oracle 備份會在 Oracle 修補程式或升級後失敗。會看到下列訊息。
 
AppBackupAssetsOp: Backup failed with error Process /home/oracle/opt/dpsapps/rmanagent/bin/ddbmcon failed with error code -6, stdout data: , stderr data: ..


連線至資料庫時,ddbmcon 記錄檔會顯示下列錯誤
 
[TRACE_ID:a8d14cc3ba61af79;JOB_ID:807baa3f0ebb6ac1;EXEC_ID:900b0d63c550ebd6] ddbmcon: build machine = linux86w
[TRACE_ID:a8d14cc3ba61af79;JOB_ID:807baa3f0ebb6ac1;EXEC_ID:900b0d63c550ebd6] ddbmcon: Oracle library: /opt/oracle/product/19.0.0/dbhome_1/lib64/libclntsh.so not found.
[TRACE_ID:a8d14cc3ba61af79;JOB_ID:807baa3f0ebb6ac1;EXEC_ID:900b0d63c550ebd6] ddbmcon: Oracle library: /opt/oracle/product/19.0.0/dbhome_1/lib/libclntsh.so not found.
[TRACE_ID:a8d14cc3ba61af79;JOB_ID:807baa3f0ebb6ac1;EXEC_ID:900b0d63c550ebd6] ddbmcon: Please verify correct ORACLE_HOME.
[TRACE_ID:a8d14cc3ba61af79;JOB_ID:807baa3f0ebb6ac1;EXEC_ID:900b0d63c550ebd6] ddbmcon: ====auth:1 dbver:19====failing with sysbkp oci authmode====


Cause

Oracle 已升級/修補,且設定為執行備份的作業系統使用者沒有開啟下列 Oracle 用戶端程式庫的許可權
 
-rwx------. 1 oracle oinstall   2247120 Apr 14 03:38 libasmclntsh19.so
-rwx------. 1 oracle oinstall   8056664 Apr 14 03:38 libclntshcore.so.19.1
-rw-------. 1 oracle oinstall   1771463 Apr 14 03:38 clntshcore.map
-rwx------. 1 oracle oinstall  81182280 Apr 14 03:38 libclntsh.so.19.1
-rw-------. 1 oracle oinstall   6165285 Apr 14 03:38 clntsh.map
PPDM 必須能夠開啟先前的 Oracle 用戶端程式庫,才能連線至 Oracle 資料庫。

Resolution

變更 Oracle 用戶端程式庫的許可權,使 Oracle 使用者擁有開啟許可權並聯機至 Oracle 資料庫。
 
範例:
chmod 755 *clnt*
以上僅範例。在變更 Oracle 程式庫的許可權之前,請先諮詢 DBA。
Article Properties
Article Number: 000212641
Article Type: Solution
Last Modified: 25 May 2023
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.