000031168 - RSA 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 on Sep 17, 2019
Version 4Show 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.x
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 the /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:
 



To complete the steps below, 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.
  3. Next to Boot Options, type init=/bin/sh then press Enter to boot.
  4. The screen should look like the screenshot below:

    User-added image


  5. You will now be logged into the system as root:

    User-added image


  6. Confirm disk usage:


df -h


  1. Find the large size folder:


sudo su -
cd /opt/rsa/am/
du -h | grep [0-9]G



  1. Remove any unnecessary files to free up spaces.

The directory /opt/rsa/am/server/logs may contain large log files from previous debugs. It should be safe to delete any log files in that directory.



  1. After freeing up enough disk space, type the following command to reboot the virtual machine.


reboot -f
NotesTo enter single-user mode for SUSE 12-based Authentication Managers, press e when kernel selection screen appears. Scroll down if needed and add in init=/bin/bash then press Enter to boot.

Reference How to enter single user mode in SUSE 12 Linux? for a full description of entering single-user mode on SUSE 12.

Attachments

    Outcomes