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
SID: sd_login error unable to communicate with Authentication server 45Number of Views Unable to start Apache for after installing RSA Access Manager Agent 5.0 SP4 for Apache on Windows 2012 R2 50Number of Views Access denied error while running the RSA Authentication Manager 8.x Administration SDK 87Number of Views Unable to check Database. java.lang.SecurityException: PBOX000016: Access denied: authentication failed 231Number of Views Server Error - Proxy unable to access remote Workpoint Server on RSA Identity Governance and Lifecycle 7.0.x when attempti… 13Number of Views
Trending Articles
RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA Release Notes for RSA Authentication Manager 8.8 RSA Authentication Manager 8.9 Release Notes (January 2026) Download RSA SecurID Access Cloud User Event audit logs using Cloud Administration REST API CLU Disabling weak ciphers using port 1813 in RSA Authentication Manager 8.3 patch 1
Don't see what you're looking for?