Article Number
000067884
Applies To
Product: RSA Authentication Manager
Version: 8.6
Product Set: SecurID
Issue
Installing patch 2 on Authentication Manager 8.6 p1 fails with an error "Cannot allocate memory" The installation log shows below errors:
[INFO] Invoking config engine goal UpdateRollback:preUpdate
0 2022-04-06 13:12:18,463 INFO: Arguments: [UpdateRollback.preUpdate]
3317 2022-04-06 13:12:21,780 INFO: Will not attempt to fix line endings in patch source files
3489 2022-04-06 13:12:21,952 INFO: Script source dir: /tmp/rsa_update/installer/config/src/scripts
3490 2022-04-06 13:12:21,953 INFO: Patch Script source dir: /tmp/rsa_update/iso/rsa/scripts
- - - - - -- - - --
Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /opt/rsa/am/utils/lib/linux-x86_64/libsystemtools.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
posix_spawn: Cannot allocate memory
Exception in thread "main" com.rsa.ims.security.keymanager.sys.SystemValuesMissingException: getSSVS error: Cannot allocate memory
at com.rsa.ims.security.lockbox.crypto.SystemTools.getSSVSEx(Native Method)
- - -- - -- -- - - --
at com.rsa.plugins.install.CommandLineInstallEngine.main(CommandLineInstallEngine.groovy:40)
Configuration step UpdateRollback:preUpdate [FAILED]
[ERROR] Error: Failed to invoke update engine: Failed to prepare the update.
java.lang.Exception: Failed to prepare the update.
at com.rsa.am.updateengine.tasks.BaseUpdateEngineTask.doExecute(BaseUpdateEngineTask.java:56)
at com.rsa.am.updateengine.tasks.Task.execute(Task.java:136)
at com.rsa.am.updateengine.components.impl.TaskManagerImpl.doExecuteTask(TaskManagerImpl.java:86)
at com.rsa.am.updateengine.components.impl.TaskManagerImpl.execute(TaskManagerImpl.java:41)
at com.rsa.am.updateengine.components.impl.UpdateInstallerImpl.run(UpdateInstallerImpl.java:29)
[INFO] Invoking config engine goal UpdateRollback:postUpdate
The above errors are not version-specific.
Resolution
The above errors are not version-specific. The error "Cannot allocate memory" indicates that the machine has run out of memory. This can be due to a number of reasons, but basically, something is eating up all of the machine's memory and not leaving any memory left for even basic command usage. Reverting to a snapshot and restarting the RSA services will resolve the issue.