000038321 - An error occured while attempting to configure the JVM memory setting for RSA Authentication Manager 8.3

Document created by RSA Customer Support Employee on Jan 24, 2020
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000038321
Applies ToRSA Product Set: SecurID
RSA Product/Service Type: Authentication Manager
RSA Version/Condition: 8.3
IssueWhen booting the appliance, the following error displays and the boot does not continue:

Configuring JVM settings...

An error occured while attempting to configure the JVM memory setting.
Please provide enough memory and try again.

CauseThis error is not connected to the device running out of memory, as it might indicate. Instead, the error is thrown because the sudoers file in /etc/sudoers is not configured correctly. Because of this, the rsaadmin user is not able to run specific scripts to configure the memory.

To check the logs, boot in single user mode:
  1. Stop the boot by pressing the up arrow.
  2. Type init=/bin/sh.

User-added image

  1. Open the /opt/rsa/am/install_logs/config/InstallAM_updateMemoryTuning.Log. The following error is seen:

sudo: no tty present and no askpass program specified

ResolutionTake a backup of the old sudoers file from the affected server by following these commands:
  1. Make a copy of /etc/sudoers:

cp /etc/sudoers /etc/sudoers.old

  1. Copy the sudoers file from a replica or another appliance of the same version to the /etc directory of the affected appliance. Use WinSCP if ssh is enabled or SCP:

scp /etc/sudoers rsaadmin@remoteserver:/etc/

  1. Enter the rsaadmin password of the remote server when prompted.
  2. From the affected server change the ownership of the sudoers file to root:

chown root /etc/sudoers
chgrp root /etc/sudoers

  1. Reboot the affected the device and it should boot successfully. 
  • To boot the device without memory tuning use the following commands:

mv /etc/init.d/memorycontrol /tmp
mv /etc/init.d/rsaservmgr /tmp