PowerProtect: PPDM Oracle backups fail with: AppBackupAssetsOp: Backup failed with error Process /home/oracle/opt/dpsapps/rmanagent/bin/ddbmcon failed with error code -6, stdout data: , stderr data: ..

Summary: This article provides a workaround for the following issue. A backup failure occurs because the Operating system user configured to do backups does not have permission to access Oracle client side libraries. ...

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 Backups fail after an Oracle patch or upgrade. The the following message is seen.
 
AppBackupAssetsOp: Backup failed with error Process /home/oracle/opt/dpsapps/rmanagent/bin/ddbmcon failed with error code -6, stdout data: , stderr data: ..


ddbmcon log shows the following error when connecting to the database
 
[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 was upgraded/patched and the Operating system user configured to do backup does not have permissions to open the following Oracle client libraries
 
-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 must be able open the previous Oracle client libraries to be able to connect to the Oracle Database.

Resolution

Change permissions to the Oracle client libraries so that the Oracle user has permission to open them and connect to  the Oracle Database.
 
Example:
chmod 755 *clnt*
The above is only an example. Consult the DBA before changing permissions on the Oracle libraries.
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.