Troubleshooting
Problem
When using IBM Spectrum Protect for Enterprise Resource Planning - Data Protection for SAP solution under non-root users on UNIX and Linux systems, the following error message may get reported during initialization:
ANS1331E (RC927) Only a TSM authorized user can perform this Action
even though settings are correct and the user running backup can access password files in the directory specified by the PASSWORDDIR parameter of the appropriate server stanza inside the dsm.sys file.
Cause
This issue is caused by the way IBM Spectrum Protect API is being initialized without having fully defined environment.
Diagnosing The Problem
Per Data Protection for SAP documentation having a dsm.opt file is recommended but not required since server stanza to use is defined within the .utl file.
When running Data Protection for SAP where dsm.opt file is not created or it does not have server entry, and within dsm.sys file the first defined server stanza is not the one meant for Data Protection for SAP, API initialization will attempt to access password files in the directory defined in this first server stanza of dsm.sys.
For example having dsm.sys file defined like this:
SERVER BA_SERVER
...
SERVER DP_SERVER
PASSWORDDIR <some dir>
Running Data Protection for SAP as a non-root user will cause an attempt to access files in the default directory of /etc/adsm or /etc/security/adsm depending on the operating system. These files are by default unreachable for the non-root users leading to ANS1331E.
Resolving The Problem
Create the dsm.opt file with the appropriate SERVER line for Data Protection for SAP purposes or reorganize dsm.sys file to have, as the first entry, server stanza for Data Protection for SAP purposes defined.
Related Information
Document Location
Worldwide
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEQVQ","label":"IBM Spectrum Protect"},"ARM Category":[{"code":"a8m0z00000006mWAAQ","label":"Data Protection (DP)->ERP (R3)"},{"code":"a8m0z00000006lTAAQ","label":"Data Protection (DP)->SAP HANA"},{"code":"a8m0z00000006lUAAQ","label":"Data Protection (DP)->SAP for DB2"},{"code":"a8m0z00000006lYAAQ","label":"Data Protection (DP)->SAP for Oracle"}],"ARM Case Number":"TS003673763","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)","Line of Business":{"code":"LOB26","label":"Storage"}}]
Was this topic helpful?
Document Information
Modified date:
27 May 2020
UID
ibm16214142