WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Getting CRIMA1039E ERROR while applying fix pack 8.5.5.17

    Posted Thu August 27, 2020 12:14 PM

    Hi

    We are trying to upgrade WAS from 8.5.0.2 To 8.5.5.17, took the back up of product installation directory before running the below command.

    We want to upgrade and not the fresh install but it seems to be trying for fresh install. Please advise how to fix this one, much appreciate your help in advance.

    ./imcl install com.ibm.websphere.BASE.v85_8.5.5017.20200205_1450

    -installationDirectory /XXX/IBM/WebSphere/AppServer

    -repositories /XXX/software/WAS_8.5.5.17/repository.config

    -log /XXX/software/WAS_8.5.5.17_Upgrade_log.xml

    -acceptLicense

    -showProgress

    Error :

    CRIMA1039E ERROR: The following errors were generated while installing.

    CRIMA1039E ERROR: The installation directory /XXX/IBM/WebSphere/AppServer exists and contains files.

    Explanation: The installation did not start because the installation directory contains files.

    User Action: Enter an installation directory that does not exist or that does not contain files. Installation Manager creates the specified installation directory during the installation if the directory does not exist.

    Thank You



    #Support
    #SupportMigration
    #WebSphereApplicationServerforIBMi


  • 2.  RE: Getting CRIMA1039E ERROR while applying fix pack 8.5.5.17

    Posted Mon August 31, 2020 06:04 PM

    Hi,

    This seemed that WebSphere Application Server BASE v8.5.0.2 was not registered in Installation Manager registry. I.E., it is not installed or installed at a directory which is different from /XXX/IBM/WebSphere/AppServer. To confirm this, please run

    ./imcl listInstalledPackages -long

    to check the installed products and their installed directories.

    Thanks



    #Support
    #SupportMigration
    #WebSphereApplicationServerforIBMi


  • 3.  RE: Getting CRIMA1039E ERROR while applying fix pack 8.5.5.17

    Posted Tue September 01, 2020 02:23 AM

    Thank you for your response.


    This environment was set up few years back to my knowledge, so am not sure what was done but may be you are right.


    Here is what I see after executing the stated command.


    /opt/IBM/InstallationManager/eclipse : com.ibm.cic.agent_1.9.0.20190715_0328 : IBM® Installation Manager : 1.9.0


    Here is the content of registry file :

    version=1.9.0

    location=/opt/IBM/InstallationManager

    internalVersion=1.9.0.20190715_0328

    registryVersion=1

    is64bit=true

    appDataLocation=/var/ibm/InstallationManager

    launcher=/opt/IBM/InstallationManager/eclipse/IBMIM


    So, to get the v8.5.0.2 registered to Installation manager, I reckon I should change the

    appDataLocation = /XXX/IBM/WebSphere/AppServer


    Would it be right to do so ?


    Thanks

    Waez


    Thanks

    Waez

    To



    #Support
    #SupportMigration
    #WebSphereApplicationServerforIBMi


  • 4.  RE: Getting CRIMA1039E ERROR while applying fix pack 8.5.5.17

    Posted Tue September 01, 2020 04:21 AM

    Hello Waez,

    No. You can not modify Installation Manager registry manually. Looked like your WAS 8.5.0.2 at /XXX/IBM/WebSphere/AppServer was not installed by this Installation Manager agent data(/var/ibm/InstallationManager).

    You can review following files to get more information about the WAS installation.

    1. Validate WAS version 8.5.0.2 by running ./versionInfo.sh from /XXX/IBM/WebSphere/AppServer/bin
    2. Check /XXX/IBM/WebSphere/AppServer/properties/installed.xml

    <property name="agent.launch.command" value="/root/test/im190/eclipse/IBMIM"/>

    <property name="agent.install.location" value="..."/>

    <property name="cic.appDataLocation" value="<IM_agent_location_installed_WAS>"/>

    <property name="accessRights" value=""/>

    <property name="cacheLocation" value=""/>

    3. Run below command to find out installed WAS.

    ./imcl listInstalledPackages -long -dL <IM_agent_location_installed_WAS>

    4. If WAS 8.5.0.2 is showed up, you can run below command to update WAS 8.5.5.17.

    ./imcl install com.ibm.websphere.BASE.v85_8.5.5017.20200205_1450

    -dL <IM_agent_location_installed_WAS>

    -installationDirectory /XXX/IBM/WebSphere/AppServer

    -repositories /XXX/software/WAS_8.5.5.17/repository.config

    -log /XXX/software/WAS_8.5.5.17_Upgrade_log.xml

    -acceptLicense

    -showProgress

    Thanks,

    Steven



    #Support
    #SupportMigration
    #WebSphereApplicationServerforIBMi


  • 5.  RE: Getting CRIMA1039E ERROR while applying fix pack 8.5.5.17

    Posted Tue September 01, 2020 04:32 AM

    Hello Waez,

    No. You can not modify Installation Manager registry manually. It seemed that your WAS 8.5.0.2 at /XXX/IBM/WebSphere/AppServer was not installed by this Installation Manager agent data (/var/ibm/InstallationManager). To get more detailed information, you can do below steps:

    1 Validate WAS 8.5.0.2 version by running ./versionInfo.sh from /XXX/IBM/WebSphere/AppServer/bin

    2 Check /XXX/IBM/WebSphere/AppServer/properties/installed.xml

    <property name="agent.launch.command" value=“…”/>

    <property name="agent.install.location" value=“…”/>

    <property name="cic.appDataLocation" value=“<IM_appDataLocation_installed_WAS>“/>

    <property name="accessRights" value=“…”/>

    <property name="cacheLocation" value=“…”/>

    3 Run command

    ./imcl listInstalledPackages -dL <IM_appDataLocation_installed_WAS>

    4 If WAS 8.5.0.2 is showed up, run following command to update WAS 8.5.5.17

    ./imcl install com.ibm.websphere.BASE.v85_8.5.5017.20200205_1450

    -dL <IM_appDataLocation_installed_WAS>

    -installationDirectory /XXX/IBM/WebSphere/AppServer

    -repositories /XXX/software/WAS_8.5.5.17/repository.config

    -log /XXX/software/WAS_8.5.5.17_Upgrade_log.xml

    -acceptLicense

    -showProgress

    Thanks,

    Steven



    #Support
    #SupportMigration
    #WebSphereApplicationServerforIBMi


  • 6.  RE: Getting CRIMA1039E ERROR while applying fix pack 8.5.5.17

    Posted Tue September 01, 2020 04:38 AM

    Hello Waez,


    No. You can not modify Installation Manager registry manually. It seemed that your WAS 8.5.0.2 at /XXX/IBM/WebSphere/AppServer was not installed by this Installation Manager agent data (/var/ibm/InstallationManager). To get more detailed information, you can do below steps:


    1 Validate WAS 8.5.0.2 version by running ./versionInfo.sh from /XXX/IBM/WebSphere/AppServer/bin


    2 Check /XXX/IBM/WebSphere/AppServer/properties/installed.xml


       <property name="agent.launch.command" value=“…”/>

       <property name="agent.install.location" value=“…”/>

       <property name="cic.appDataLocation" value=“<IM_appDataLocation_installed_WAS>“/>

       <property name="accessRights" value=“…”/>

       <property name="cacheLocation" value=“…”/>


    3 Run command

      ./imcl listInstalledPackages -dL <IM_appDataLocation_installed_WAS>


    4 If WAS 8.5.0.2 is showed up, run following command to update WAS 8.5.5.17


      ./imcl install com.ibm.websphere.BASE.v85_8.5.5017.20200205_1450

      -dL <IM_appDataLocation_installed_WAS>

      -installationDirectory /XXX/IBM/WebSphere/AppServer

      -repositories /XXX/software/WAS_8.5.5.17/repository.config

      -log /XXX/software/WAS_8.5.5.17_Upgrade_log.xml

      -acceptLicense

      -showProgress


    Thanks,

    Steven



    #Support
    #SupportMigration
    #WebSphereApplicationServerforIBMi


  • 7.  RE: Getting CRIMA1039E ERROR while applying fix pack 8.5.5.17

    Posted Mon September 07, 2020 12:05 AM

    Thanks Steven. I tried above steps


    1 - Checked version, it is WAS 8.5.0.2.

    2 - Checked installed.xml

    <property name="agent.launch.command" value="/fircosoft/software/IM/tools/imcl"/>

     <property name="agent.install.location" value="/XXX/software/IM/tools"/>

     <property name="cic.appDataLocation" value="/home/firco_svc/var/ibm/InstallationManager"/>

     <property name="accessRights" value="nonAdmin"/>

     <property name="cacheLocation" value="/home/firco_svc/IBM/IMShared"/>


    3 - Ran the below command but getting error.

    ./imcl listInstalledPackages -dL /home/firco_svc/var/ibm/InstallationManager


    ERROR: Error restoring Installation Manager state.


     ERROR:  The running Installation Manager's accessRights mode (accessRights=admin) is incompatible with the "/home/firco_svc/var/ibm/InstallationManager/installRegistry.xml" install registry's accessRights mode (accessRights=nonAdmin).


    I can can see the accessRights are non admin in the installRegistry.xml, tried changing it to admin but that didn't work either..


    <?xml version='1.0' encoding='UTF-8'?>

    <?installRegistry version='1.7.1'?>

    <installRegistry>

     <property name='agent.launch.command' value='/XXX/software/IM/tools/imcl'/>

     <property name='agent.install.location' value='/fircosoft/software/IM/tools'/>

     <property name='cic.appDataLocation' value='/home/firco_svc/var/ibm/InstallationManager'/>

     <property name='accessRights' value='nonAdmin'/>

     <property name='cacheLocation' value='/home/firco_svc/IBM/IMShared'/>






    #Support
    #SupportMigration
    #WebSphereApplicationServerforIBMi


  • 8.  RE: Getting CRIMA1039E ERROR while applying fix pack 8.5.5.17

    Posted Mon September 07, 2020 12:08 AM

    Sorry it appended my reply to older comment so re-posting it.

    Thanks Steven. I tried above steps

    1 - Checked version, it is WAS 8.5.0.2.

    2 - Checked installed.xml

    <property name="agent.launch.command" value="/fircosoft/software/IM/tools/imcl"/>

    <property name="agent.install.location" value="/XXX/software/IM/tools"/>

    <property name="cic.appDataLocation" value="/home/firco_svc/var/ibm/InstallationManager"/>

    <property name="accessRights" value="nonAdmin"/>

    <property name="cacheLocation" value="/home/firco_svc/IBM/IMShared"/>

    3 - Ran the below command but getting error.

    ./imcl listInstalledPackages -dL /home/firco_svc/var/ibm/InstallationManager

    ERROR: Error restoring Installation Manager state.

    ERROR: The running Installation Manager's accessRights mode (accessRights=admin) is incompatible with the "/home/firco_svc/var/ibm/InstallationManager/installRegistry.xml" install registry's accessRights mode (accessRights=nonAdmin).

    I can can see the accessRights are non admin in the installRegistry.xml, tried changing it to admin but that didn't work either..

    <?xml version='1.0' encoding='UTF-8'?>

    <?installRegistry version='1.7.1'?>

    <installRegistry>

    <property name='agent.launch.command' value='/XXX/software/IM/tools/imcl'/>

    <property name='agent.install.location' value='/fircosoft/software/IM/tools'/>

    <property name='cic.appDataLocation' value='/home/firco_svc/var/ibm/InstallationManager'/>

    <property name='accessRights' value='nonAdmin'/>

    <property name='cacheLocation' value='/home/firco_svc/IBM/IMShared'/>



    #Support
    #SupportMigration
    #WebSphereApplicationServerforIBMi