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.
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.
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
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.
To boot the device without memory tuning use the following commands: