Error 2004: Unable to communicate with server Access Denied when running RSA Authentication Manager Bulk Admin (AMBA) script
Originally Published: 2020-04-28
Article Number
Applies To
RSA Product/Service Type: Authentication Manager Bulk Administration
Issue
Error 2004: Unable to communicate with server Access DeniedCause
- The RSA Authentication Manager password policy forced changes for the super admin password, so incorrect credentials are entered.
- Correct credentials are entered, but the password contains a special character like $.
- The AMBulkAdmin.jar file has incorrect permissions. This happens when the customer copies the .jar file from one RSA Authentication Manager instance to another without setting the correct permission on the file.
Resolution
- Ensure that the super admin user ID and password are correct by using them to log in to the Security Console.
- If the super admin's password contains any special characters and you are passing it in the command ./rsautil AMBulkAdmin -i <test.txt> -o outputlog --verbose -a <super admin name> -P <super admin password>, the special character has to be enclosed in single quotes to avoid any confusion. For example, in the command below the dollar sign is in single quotes:
./rsautil AMBulkAdmin -i <test.txt> -o outputlog --verbose -a superadmin -P P4$$w0rd'$'
Optionally, use a super admin account where the password does not contain special characters.
- Check the permissions on the AMBulkAdmin.jar file:
- Launch an SSH client, such as PuTTY.
- Log in to the primary RSA Authentication Manager server as rsaadmin and enter the operating system password.
- Go to /opt/rsa/am/utils/lib:
login as: rsaadmin Using keyboard-interactive authentication. Password:<enter operating system password> Last login: Fri 1 May 16:39:41 2020 from jumphost.vcloud.local RSA Authentication Manager Installation Directory: /opt/rsa/am rsaadmin@alaa:~> cd /opt/rsa/am/utils/lib
- Run the following command to identify the AMBulkAdmin.jar file permissions:
rsaadmin@alaa:/opt/rsa/am/utils/lib> ls -l /opt/rsa/am/utils/lib/ | grep AMBulkAdmin -rw-r--r-- 1 rsaadmin rsaadmin 307446 Aug 2 2019 AMBulkAdmin-8.4.0.5.0.jar
- If permissions are not set as shown above, use following commands to change the permissions and ownership of the AMBulkAdmin.jar file:
rsaadmin@alaa:/opt/rsa/am/utils/lib> chmod 644 /opt/rsa/am/utils/lib/AMBulkAdmin* rsaadmin@alaa:/opt/rsa/am/utils/lib> chown rsaadmin:rsaadmin /opt/rsa/am/utils/lib/AMBulkAdmin*
- Go to /opt/rsa/am/utils and run the AMBulkAdmin.jar script again:
rsaadmin@alaa:/opt/rsa/am/utils/lib> cd .. rsaadmin@alaa:/opt/rsa/am/utils> ./rsautil AMBulkAdmin -i <test.txt> -o outputlog --verbose -a <super admin ID> -P <super admin password>
Replace the <test.txt> value above with the appropriate AMBA .txt or .csv file name, along with the file location, super admin user ID, and password. For example:
rsaadmin@alaa:/opt/rsa/am/utils> ./rsautil AMBulkAdmin -i addgroup.csv -o outputlog --verbose -a superadmin -P P4ssw0rd'$'
Related Articles
Error message "Access denied - User not a member of any identity source in access policy" in RSA SecurID Access 80Number of Views Access denied error when running sync-tokens command in Authentication Manager 8.x 289Number of Views "Access Denied" error when attempting to view detailed information on the RSA Via Lifecycle and Governance Users page 68Number of Views Unable to check Database. java.lang.SecurityException: PBOX000016: Access denied: authentication failed 225Number of Views Access denied error while running the RSA Authentication Manager 8.x Administration SDK 70Number of Views
Trending Articles
Passwordless Authentication in Windows MFA Agent for Active Directory – Quick Setup Guide RSA Authentication Manager 8.9 Release Notes (January 2026) RSA Authentication Manager Upgrade Process RSA Authentication Manager 8.7 SP2 Setup and Configuration Guide An example of SSO using SAML and ADFS with RSA Identity Management and Governance 6.9.x
Don't see what you're looking for?