000031168 - Authentication Manager virtual machine failed to boot server for JVM memory error

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 3Show Document
  • View in full screen mode

Article Content

Article Number000031168
Applies To

RSA Product Set: SecurID


RSA Product/Service Type: Authentication Manager


RSA Version/Condition: 8.1


Platform: Virtual Appliance

IssueAuthentication Manager virtual machine failed to boot with the below error message
Configuring JVM settings...
An error occured while attempting to configure the JVM memory setting.
Please provide enough memory and try again.

 
Cause
  • The server ran out of  disk space.
  • The detailed errors are saved in  /opt/rsa/am/install_logs/config/InstallAM_updateMemoryTuning.log
Caused by: java.io.IOException: No space left on device
    at java.io.FileOutputStream.writeBytes(FileOutputStream.java)
    at java.io.FileOutputStream.write(FileOutputStream.java:282)
    at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
    at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:263)
    at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:106)
    at java.io.OutputStreamWriter.write(OutputStreamWriter.java:190)
    at java.io.BufferedWriter.write(BufferedWriter.java:170)
    at org.apache.tools.ant.util.ResourceUtils.copyResource(ResourceUtils.java:498)
    at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:559)
    at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:519)
    at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:480)
    at org.apache.tools.ant.taskdefs.FixCRLF.processFile(FixCRLF.java:357)
    at org.apache.tools.ant.taskdefs.FixCRLF.execute(FixCRLF.java:304)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at groovy.util.AntBuilder.performTask(AntBuilder.java:260)
    at groovy.util.AntBuilder.nodeCompleted(AntBuilder.java:220)
    at groovy.util.BuilderSupport.doInvokeMethod(BuilderSupport.java:147)
    at groovy.util.AntBuilder.doInvokeMethod(AntBuilder.java:170)
    ... 22 more
Configuration step InstallAM:updateMemoryTuning [FAILED]

 
Resolution

To resolve this issue run through the following steps:



NOTE - You need to have VM console access.


  1. Restart the virtual machine from the Hypervisor manager.
  2. Go to the VM Console or Monitor view and wait for the system to reboot. Pay close attention here because the screen will turn green. It will default to start RSA authentication manager, just start typing to add boot options at the bottom of the screen. Add in the following then press enter to boot. It should look like the below screenshot.
    init=/bin/sh

    User-added image


  3. You will now be logged into the system as root.

    User-added image


  4. Confirm disk usage 
    df -h

  5. Find the large size folder
    sudo su -
    cd /opt/rsa/am/
    du -h | grep [0-9]G

  6. Remove unnecessary files to free up spaces. Note: the directory /opt/rsa/am/server/logs may contain large log files from previous debugs. It should be safe to delete any log file in that directory.
  7. After freeing up enough disk space, type the below command to reboot the virtual machine.
    reboot -f

Attachments

    Outcomes