000025634 - Install on Linux fails  with 'ERROR - Main Thread - config.ConfigEngine - Failed to check limits for the user'

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

Article Content

Article Number000025634
Applies ToRSA Authentication Manager 7.1
Red Hat Linux AS/ES 4.0
IssueInstall on Linux fails, with "ERROR - Main Thread - config.ConfigEngine - Failed to check limits for the user"
Config.trace report the following:

12 May 11:41:58.227 INFO - Main Thread - config.ConfigEngine - Installing as local user bburdzel, uid 500

12 May 11:41:58.229 INFO - Main Thread - config.ConfigEngine - Starting configuration command execution

12 May 11:41:58.230 INFO - Main Thread - config.ConfigEngine - Executing Command (ims)(setup): copyConfigKeys: Copying config keys file

12 May 11:41:58.231 INFO - Main Thread - config.ConfigEngine - Command Input Properties (copyConfigKeys): {fileName=$I(rsa.install.location)/install/$N(rsa.config.key.name), overWrite=true, newLocation=$I(rsa.install.location)/utils/etc}

12 May 11:41:58.359 INFO - Main Thread - config.ConfigEngine - Command Output Property Keys (copyConfigKeys): {}

12 May 11:41:58.483 INFO - Main Thread - config.ConfigEngine - Executing Command (ims)(setup): checklimits: checking and updating limits for local user

12 May 11:41:58.484 INFO - Main Thread - config.ConfigEngine - Command Input Properties (checklimits): {localUser=$I(rsa.unix.install.username), fileName=/etc/security/limits.conf}

12 May 11:41:58.490 INFO - Main Thread - config.ConfigEngine - Command Output Property Keys (checklimits): {}

12 May 11:41:58.504 INFO - Main Thread - config.ConfigEngine - /etc/security/limits.conf: limit found: aceuser soft nproc 2047

12 May 11:41:58.504 INFO - Main Thread - config.ConfigEngine - /etc/security/limits.conf: limit found: aceuser hard nproc 16384

12 May 11:41:58.505 INFO - Main Thread - config.ConfigEngine - /etc/security/limits.conf: limit found: aceuser soft nofile 1024

12 May 11:41:58.505 INFO - Main Thread - config.ConfigEngine - /etc/security/limits.conf: limit found: aceuser hard nofile 65536root

12 May 11:41:58.506 ERROR - Main Thread - config.ConfigEngine - Failed to check limits for the user

12 May 11:41:58.526 ERROR - Main Thread - config.ConfigUtil - Failed configuration command execution

com.rsa.installfwrk.config.exception.ConfigurationException: Failed configuration command execution

        at com.rsa.installfwrk.config.ConfigEngine.execute(ConfigEngine.java:223)

        at com.rsa.installfwrk.config.ConfigUtil.runConfig(ConfigUtil.java:53)

        at com.rsa.installfwrk.config.ConfigUtil.main(ConfigUtil.java:35)

Caused by: com.rsa.installfwrk.common.command.exception.CommandException: Failed to check limits for the user

        at com.rsa.installfwrk.config.command.CheckLimitsCmd.execute(CheckLimitsCmd.java:39)

        at com.rsa.installfwrk.config.ConfigEngine.execute(ConfigEngine.java:185)

        ... 2 more

Caused by: java.lang.NumberFormatException: For input string: "65536root"

        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)

        at java.lang.Long.parseLong(Long.java:412)

        at java.lang.Long.parseLong(Long.java:461)

        at com.rsa.installfwrk.config.command.CheckLimitsCmd.searchAndAppend(CheckLimitsCmd.java:84)

        at com.rsa.installfwrk.config.command.CheckLimitsCmd.checkLimits(CheckLimitsCmd.java:58)

        at com.rsa.installfwrk.config.command.CheckLimitsCmd.execute(CheckLimitsCmd.java:36)

        ... 3 more

12 May 11:41:58.532 ERROR - Main Thread - config.ConfigUtil - Configuration Failed

com.rsa.installfwrk.config.exception.ConfigurationException: Configuration Failed

        at com.rsa.installfwrk.config.ConfigUtil.main(ConfigUtil.java:38)

Caused by: com.rsa.installfwrk.config.exception.ConfigurationException: Failed configuration command execution

        at com.rsa.installfwrk.config.ConfigEngine.execute(ConfigEngine.java:223)

        at com.rsa.installfwrk.config.ConfigUtil.runConfig(ConfigUtil.java:53)

        at com.rsa.installfwrk.config.ConfigUtil.main(ConfigUtil.java:35)

Caused by: com.rsa.installfwrk.common.command.exception.CommandException: Failed to check limits for the user

        at com.rsa.installfwrk.config.command.CheckLimitsCmd.execute(CheckLimitsCmd.java:39)

        at com.rsa.installfwrk.config.ConfigEngine.execute(ConfigEngine.java:185)

CauseThe /etc/security/limits.conf file did not end in a new line, so when the root_system_update.sh script was run it appended directly to the last line.
Resolution

Clean up the file so that it looks similar to this:

aceuser soft nproc 2047
aceuser hard nproc 16384
aceuser soft nofile 1024
aceuser hard nofile 65536
root soft nproc 2047
root hard nproc 16384
root soft nofile 1024
root hard nofile 65536

Then run the uninstall script located in /usr/local/RSASecurity/RSAAuthenticationManager/uninstall by default, then remove the install folder and re-install.

Legacy Article IDa40215

Attachments

    Outcomes