Error 2004: Unable to communicate with server Access Denied when running RSA Authentication Manager Bulk Admin (AMBA) script
Originally Published: 2020-04-28
Last Modified: 2023-10-06
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
Unable to check Database. java.lang.SecurityException: PBOX000016: Access denied: authentication failed 236Number of Views SID: sd_login error unable to communicate with Authentication server 47Number 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 Access denied error while running the RSA Authentication Manager 8.x Administration SDK 96Number of Views Alert sent 'EM-006 : Unable to communicate with Network Controller' 61Number of Views
Trending Articles
RSA Authentication Manager 8.9 Patches and Hotfixes Readme RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide Troubleshooting RSA MFA Agent for Microsoft Windows RSA SecurID Software Token for Microsoft Windows shows blank screen when asked to select a device where the token will be … RSA SecurID software token .sdtid file fails to import into RSA SecurID Software Token 5.0 for Windows
Don't see what you're looking for?