IOException while Non-Root installation

Version 1
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Remedy AR System Server


    COMPONENT:

    AR System Server


    APPLIES TO:

    ARS 9.1.04 Non Root installation / Upgrade



    PROBLEM:

     

    Example error from an arsystem_install_log.txt

    PROGRESS EVENT {Description=[ARServerJavaPlatformValidationTask.description],Progress=[40],Detail=[ARServerJavaPlatformValidationTask.validate64BitJREPath]}(Feb 08 2018 10:55:01.594 PM -0800),WARNING,com.bmc.install.configuration.unix.ProfileConfigurationFile,  LOG EVENT {Description=[IOException occurred while writing to file],Detail=[/etc/profile]}(Feb 08 2018 10:55:01.595 PM -800),SEVERE,com.bmc.install.product.arsuitekit.platforms.arsystemservers.arserver.ARServerJavaPlatformValidationTask,

      

     THROWABLE EVENT {Description=[Failed to validate JRE Path]}, Throwable=[java.io.FileNotFoundException: /etc/profile (Permission denied)  java.io.FileOutputStream.open0(Native Method)  java.io.FileOutputStream.open(FileOutputStream.java:270)  java.io.FileOutputStream.<init>(FileOutputStream.java:213)  java.io.FileOutputStream.<init>(FileOutputStream.java:162)

      

    com.bmc.install.configuration.unix.ProfileConfigurationFile.writeLines(ProfileConfigurationFile.java:837)

      

    com.bmc.install.configuration.unix.ProfileConfigurationFile.appendLine(ProfileConfigurationFile.java:918)com.bmc.install.configuration.unix.ProfileConfigurationFile.writeBMCProfile(ProfileConfigurationFile.java:277)

      

    com.bmc.install.utility.platform.unix.UnixEnvironmentVariableHelperImpl.setEnvironmentVariableBash(UnixEnvironmentVariableHelperImpl.java:931)

      

    com.bmc.install.utility.platform.unix.UnixEnvironmentVariableHelperImpl.setEnvironmentVariable(UnixEnvironmentVariableHelperImpl.java:183) com.bmc.install.utility.platform.EnvironmentVariableHelper.setEnvironmentVariable(EnvironmentVariableHelper.java:96)  com.bmc.install.product.arsuitekit.platforms.arsystemservers.arserver.ARServerJavaPlatformValidationTask.validateJREPath(ARServerJavaPlatformValidationTask.java:721)  com.bmc.install.product.arsuitekit.platforms.arsystemservers.arserver.ARServerJavaPlatformValidationTask.validate64BitJRE(ARServerJavaPlatformValidationTask.java:543)  com.bmc.install.product.arsuitekit.platforms.arsystemservers.arserver.ARServerJavaPlatformValidationTask.performValidation(ARServerJavaPlatformValidationTask.java:215)  com.bmc.install.task.ValidationTask.execute(ValidationTask.java:54)  com.bmc.install.task.InstallationTask.run(InstallationTask.java:93)  java.lang.Thread.run(Thread.java:745)

     


    CAUSE:

    When non-root installation is carried out , the AR System installer tries to write the information related to the environment variable BMC_JAVA_HOME into /etc/profile (. /etc/bmc.profile ) which is in system scope.


    SOLUTION:

    This error can be ignored as installation proceeds and complete successfully. It does not have any functional impact , this variable (BMC_JAVA_HOME) is required only for installer to decide to show java(JRE) selection installation panel.

    This behavior is also identified as a Defect: SW00542232 which is fixed in Next release.

    Workaround to avoid this error is: Provide appropriate permission of etc folder to user used for the installation.


    Article Number:

    000148822


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles