000014993 - AM 7.1sp4 Full Kit installer for RHEL5 64 bit fails with 2001 - System Error & STACK_TRACE=13

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

Article Content

Article Number000014993
Applies ToAuthentication Manager 7.1 SP4 full kit
Red Hat Linux 5.5 64 bit
IssueAM 7.1sp4 Full Kit installer for RHEL5 64 bit fails with 2001 - System Error & STACK_TRACE=13

The installation log /usr/local/RSASecurity/RSAAuthenticationManager/install/logs/rsa_am_<date &time stamp>/rsa_am_install.log shows the following stack trace on the error:

 

INFO - Thread-42 - installfwrk.install - Error when installing oracle. Exit Code: 255
02 Sep 09:58:37.625 ERROR - Thread-42 - installfwrk.install - 2001 - System Error while installing RSA Authentication Manager database. Please report this error to your system administrator. Error code: 2001 - linux/oracle_linux64.sh
com.rsa.installfwrk.install.exception.InstallationException: linux/oracle_linux64.sh
 at com.rsa.installfwrk.install.db.InstallDatabase.executeCommand(InstallDatabase.java:109)
 at com.rsa.installfwrk.install.db.InstallDatabase.execute(InstallDatabase.java:44)
 at com.rsa.installfwrk.install.InstallEngine.executeCommands(InstallEngine.java:73)
 at com.rsa.installfwrk.install.InstallEngine.execute(InstallEngine.java:44)
 at com.rsa.am.install.actions.product.RSAInstallAction.install(RSAInstallAction.java:141)
 at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(Unknown Source)
 at com.ibm.wizard.platform.linux.LinuxProductServiceImpl.installProductAction(Unknown Source)
 at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(Unknown Source)
 at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
 at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
 at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
 at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
 at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
 at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.Exception: Bad error code returned from Database installation.
 at com.rsa.installfwrk.install.db.InstallDatabase.executeCommand(InstallDatabase.java:103)
 ... 14 more
(Sep 2, 2011 9:58:37 AM), Install, com.rsa.am.install.actions.product.RSAInstallAction, err, An error occurred and product installation failed.  Look at the log file /tmp/rsa_am_20110902094936/rsa_am_install.log for details.
(Sep 2, 2011 9:58:37 AM), Install, com.rsa.am.install.actions.product.RSAInstallAction, err, ProductException: (error code = 200; message="Java error"; exception = [com.rsa.installfwrk.install.exception.InstallationException: linux/oracle_linux64.sh])
STACK_TRACE: 13
ProductException: (error code = 200; message="Java error"; exception = [com.rsa.installfwrk.install.exception.InstallationException: linux/oracle_linux64.sh])
 at com.rsa.am.install.actions.product.RSAInstallAction.install(RSAInstallAction.java:167)
 at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(Unknown Source)
 at com.ibm.wizard.platform.linux.LinuxProductServiceImpl.installProductAction(Unknown Source)
 at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(Unknown Source)
 at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
 at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
 at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
 at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
 at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
 at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)

(Sep 2, 2011 9:58:49 AM), Install, com.ibm.wizard.platform.linux.LinuxProductServiceImpl, msg1, uninstalling RSA Pre Install Filesystem Action (bean11)
(Sep 2, 2011 9:58:49 AM), Install, com.ibm.wizard.platform.linux.LinuxProductServiceImpl, msg1, uninstalling RSA Install Action (rsa_install_action)
02 Sep 09:58:49.310 ERROR - Thread-42 - installfwrk.install - Error copying oracle logs. File does not exist: /apps/RSASecurity/RSAAuthenticationManager/db/oraInventory/logs
02 Sep 09:58:49.310 ERROR - Thread-42 - installfwrk.install - Error copying RADIUS setup tool log. File does not exist: /apps/RSASecurity/RSAAuthenticationManager/radius/sbrsetuptool.log
02 Sep 09:58:49.310 INFO - Thread-42 - installfwrk.install - Stopping all AM services.
02 Sep 09:58:49.435 INFO - Thread-42 - installfwrk.install - enters uninstallUnix()
02 Sep 09:58:49.462 WARN - Thread-42 - installfwrk.install - Error uninstalling RADIUS
com.rsa.installfwrk.install.exception.InstallationException: Error Launching RADIUS installer
 at com.rsa.installfwrk.install.radius.InstallRadius.execAndWait(InstallRadius.java:155)
 at com.rsa.installfwrk.install.radius.InstallRadius.uninstallUnix(InstallRadius.java:262)
 at com.rsa.installfwrk.install.radius.InstallRadius.uninstall(InstallRadius.java:70)
 at com.rsa.installfwrk.install.radius.InstallRadius.execute(InstallRadius.java:321)
 at com.rsa.installfwrk.install.InstallEngine.executeCommands(InstallEngine.java:73)
 at com.rsa.installfwrk.install.InstallEngine.execute(InstallEngine.java:44)
 at com.rsa.am.install.actions.product.RSAInstallAction.uninstall(RSAInstallAction.java:314)
 at com.installshield.product.service.product.PureJavaProductServiceImpl.uninstallProductAction(Unknown Source)
 at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.processActionsFailed(Unknown Source)
 at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
 at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
 at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
 at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
 at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
 at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Caused by: com.rsa.installfwrk.install.exception.InstallationException: Error installing RADIUS! retVal=1
 at com.rsa.installfwrk.install.radius.InstallRadius.execAndWait(InstallRadius.java:151)
 ... 15 more
02 Sep 09:58:49.463 INFO - Thread-42 - installfwrk.install - Unregistering Radius Server.
02 Sep 09:58:49.502 INFO - Thread-42 - installfwrk.install - Radius Unregistration return value: 1
Result: Action unconfigureProduct radiusModule registerJVM_HOME=@INSTALL_HOME@/uninstall/jvm/apps/RSASecurity/RSAAuthenticationManager/config/configUtil.sh: line 136: @INSTALL_HOME@/uninstall/jvm/bin/java: No such file or directoryConfiguration failedExiting...
02 Sep 09:58:49.502 INFO - Thread-42 - installfwrk.install - Unregistered Radius Server
02 Sep 09:58:49.502 INFO - Thread-42 - installfwrk.install - Installing RADIUS Components 'null'
02 Sep 09:58:50.223 INFO - Thread-42 - installfwrk.install - will execute command to install appserver
02 Sep 09:58:50.266 INFO - Thread-42 - installfwrk.install - Error when installing weblogic
02 Sep 09:58:50.267 INFO - Thread-42 - installfwrk.install - Application server installation successful
02 Sep 09:58:50.284 INFO - Thread-42 - installfwrk.install - will execute the cleanup script /tmp/cleanup.sh

CauseNotice STACK_TRACE=13 in the stack dump, an error 13 is being sent to the java stack from the OS and indicates a permissions problem.
Resolution

The user that is entered during the installation does not have rights to create and write to the selected installation path.  A standard linux umask is 022 and can be overridden in /etc/profile to be set by default for all users at a system level (noting that it can also be changed or set in an endusers .bashrc or .profile).

-Umask is a 3 bit permissions operator that determines what rights a user will be passed on login, and calculated as follows:

-First octal: executing user permissions, Second octal: group execution permissions, Third octal: world execution permissions , with the following numeric schematic:

# 1 : read and write
# 2 : read and execute
# 3 : read only
# 4 : write and execute
# 5 : write only
# 6 : execute only
# 7 : no permissions

-The user who you wish to run the product under must have rights to create and write the directories, and of course execute the startup and shutdown of the product. In this instance, the umask was set to 027.  These permissions will not allow a forked user (in this instance rsaadmin) to create the directory or execute anything under it. AM 7.1 was tested and intended to work with a standard umask of 022.  When the passed umask is more restrictive, you will be unable to install the product and recieve an error 13, permissions problem.

To correct without changing default umask in a shared environment (so as not to disrupt any company standards):

-set the umask to 022 as root in the current shell you are working in to install the product

-set the umask to 022 in the .profile or .bashrc for the rsaadmin user in the rsaadmins home directory. 

      If the home directory is not readily known, look at /etc/password and note the home directory lsited there:

            rsaadmin:x:501:501::/home/rsaadmin:/bin/bash

               The home directory is /home/rsaadmin, and the shell type is bash. 

 

 

 

NotesAlso see A56016
Legacy Article IDa55806

Attachments

    Outcomes