SAP Note 437648 - DB13: External program terminated with exit code 1/2

Composant : Database Administration with Oracle - CCMS/Database Monitors for Oracle

Solution : https://service.sap.com/sap/support/notes/437648 (Connexion à SAP Service Marketplace requise)

Résumé :
Transaction DB13 in SAP environments is utilized for scheduling database tools like BRCONNECT or BRBACKUP. Errors such as "External program terminated with exit code 1" mainly occur due to warnings identified in the tools' logs, whereas "exit code 2" typically implicates issues with the OPS$ user setup, including incorrect creation or inadequate permissions. To resolve these issues, relevant SAP Notes (400241, 50088, 361641 for UNIX, and 134592) suggest verifying OPS$ user configuration, improving error handling by implementing the correct syslog setup, and ensuring sufficient permissions for database-related programs by setting correct file ownership and access rights. Additionally, the use of Transaction SM49 for executing related commands is recommended for further troubleshooting.

Mots Clés :
chown ora<sid> sapdba brarchive brbackup brconnect brtools  chmod 4775     sapdba brarchive brbackup brconnect brtools 4, exit code 2sapdba returned error status ebrconnect returned error status, exit code 1external program terminated, call runs error-free, job scheduling system interprets, / -checkopt psap%  -method ein, respective log file sapdba_role, brbackup regularly, brarchive action, informative error messages

Notes associées :

651452DB13: No action log found for this action
400241Problems with ops$ or sapr3 connect to Oracle
361641Creating OPS$ users on UNIX
134592Importing the SAPDBA role (sapdba_role.sql)