Article Number
000038321
Applies To
RSA Product Set: SecurID
RSA Product/Service Type: Authentication Manager
RSA Version/Condition: 8.3
Issue
When 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.
Cause
This 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:
- Stop the boot by pressing the up arrow.
- Type init=/bin/sh.
Image description
- 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
Resolution
Take a backup of the old sudoers file from the affected server by following these commands:
- Make a copy of /etc/sudoers:
cp /etc/sudoers /etc/sudoers.old
- 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/
- Enter the rsaadmin password of the remote server when prompted.
- From the affected server change the ownership of the sudoers file to root:
chown root /etc/sudoers
chgrp root /etc/sudoers
- Reboot the affected the device and it should boot successfully.
Notes
- To boot the device without memory tuning use the following commands:
mv /etc/init.d/memorycontrol /tmp
mv /etc/init.d/rsaservmgr /tmp