Enable verbose logging for Operations Console backups for RSA Authentication Manager 8.x
Originally Published: 2015-09-08
Article Number
Applies To
RSA Product Set: SecurID
RSA Product/Service Type: Authentication Manager
RSA Version/Condition: 8.x
Issue
Resolution
Take a VMware snapshot or a backup before continuing.
Perform the following tasks and capture the logs for analysis.
- SSH to the primary server
- Take the backup of the oc_cmd.sh using the following command:
cp /opt/rsa/am/utils/bin/appliance/oc_cmd.sh /home/rsaadmin/oc_cmd.sh.bkp
- Edit the oc_cmd.sh file and add the line echo "$@" >>/home/rsaadmin/oc_cmd_parameters.out above CMD="$1", as shown:
#!/bin/bash echo "$@" >>/home/rsaadmin/oc_cmd_parameters.out CMD="$1"
- Back up the log4j.xml and ops-log4j.xml files:
cp /opt/rsa/am/utils/resources/log4j.xml /opt/rsa/am/utils/resources/log4j.xml.bkp cp /opt/rsa/am/utils/resources/ops-log4j.xml /opt/rsa/am/utils/resources/ops-log4j.xml.bkp
- Use vi on each of the files above and enter the following command in each file:
vi /opt/rsa/am/utils/resources/log4j.xml :%s/"ERROR"/"TRACE"/g vi /opt/rsa/am/utils/resources/ops-log4j.xml :%s/"ERROR"/"TRACE"/g
- Restart the Authentication Manager services for the changes to take effect:
/opt/rsa/am/server/rsaserv restart all
- Perform a backup from the Operations Console. Note the timestamp and capture the troubleshooting logs for analysis. The backup verbose log should be created in /home/rsaadmin/oc_cmd_parameters.out.
- Revert to the old configuration files and restart the Authentication Manager services:
cp /opt/rsa/am/utils/bin/appliance/oc_cmd.sh.bkp /home/rsaadmin/oc_cmd.sh cp /opt/rsa/am/utils/resources/log4j.xml.bkp /opt/rsa/am/utils/resources/log4j.xml cp /opt/rsa/am/utils/resources/ops-log4j.xml.bkp /opt/rsa/am/utils/resources/ops-log4j.xml /opt/rsa/am/server/rsaserv restart all
Related Articles
Are security objects cached like keys are? 10Number of Views Support the use of OAuth 2.0 tokens for the RSA Identity Governance & Lifecycle Web Service API 73Number of Views How to obtain the newer version of database public schema? 51Number of Views Would like to get the original URL accessed by the user after they have authenticated to Access Manager 11Number of Views A user registered through Activation On the Fly and would like to change the login name the system generated and the defau… 16Number of Views
Trending Articles
Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide How to Download OTP Token Seed Files from myRSA RSA Authentication Manager 8.9 Release Notes (January 2026)
Don't see what you're looking for?