【问题标题】:Silent Installation of FIx Pack for IBM HTTP Server Failing [closed]IBM HTTP Server 的 FIx Pack 静默安装失败 [关闭]
【发布时间】:2017-06-28 23:17:33
【问题描述】:

我正在尝试在 Linux 上为 IBM HTTP Server 8.5.5 安装 Fix Pack 11。我正在使用静默安装。作为模板,我使用了在 Windows 上使用过的响应文件。出于某种原因,Installation Manager 认为我正在尝试安装 IHS,而不是为 IHS 安装 Fix Pack:

stgpccggww3n01:/opt/IBM/InstallationManager/eclipse/tools# ./imcl -acceptLicense -showProgress input /home/devopsadm/WLP_IHS/update_WAS85_IHS_response.xml -log /home/devopsadm/WLP_IHS/update_WAS85_IHS.log
CRIMA1174E ERROR: The following errors were generated while installing.
CRIMA1174E ERROR:   There is already a package installed at "/opt/IBM/HTTPServer" in the "IBM HTTP Server V8.5" package group. The installation directory for the new "IBM HTTP Server for WebSphere Application Server V8.5" package group must not be the same as a previously used installation directory.

这是我的回复文件:

<?xml version="1.0" encoding="UTF-8"?>
<agent-input clean="false" temporary="true">
    <server>
        <repository location='/home/devopsadm/WLP_IHS/8.5.5-WS-WASSupplements-FP011'/>
    </server>
    <install modify='false'>
        <offering id='com.ibm.websphere.IHS.v85' 
                  profile='IBM HTTP Server for WebSphere Application Server V8.5' 
                  features='core.feature,arch.64bit'
                  installFixes='none'/>
    </install>
    <profile id='IBM HTTP Server for WebSphere Application Server V8.5' 
             installLocation='/opt/IBM/HTTPServer'>
        <data key='eclipseLocation' value='/opt/IBM/HTTPServer'/>
        <data key='user.import.profile' value='false'/>
        <data key='user.ihs.httpPort' value='80'/>
        <data key='user.ihs.http.server.service.name'
              value='IBM HTTP Server for WebSphere Application Server V8.5'/>
        <data key='user.ihs.installHttpService' value='false'/>
        <data key='user.ihs.http.server.service.name.key'
              value='IBMHTTPServerforWebSphereApplicationServerV8.5'/>
        <data key='user.ihs.win.serverServiceLogOnAsLocalSystem' value='false'/>
        <data key='user.ihs.win.serverServiceStartType' value='demand'/>
        <data key='user.ihs.win.serverServiceUser' value='Administrator'/>
        <data key='user.ihs.win.serverServicePassword' value='rvCInLaXB5kefhKxXzr3Jg=='/>
        <data key='cic.selector.nl' value='en'/>
    </profile>
</agent-input>

有谁知道为什么 IIM 认为我安装的是新版本,而不是安装补丁包?

【问题讨论】:

    标签: websphere ibmhttpserver ibm-installation-manager


    【解决方案1】:

    您的输入文件的包组与错误消息中安装的包组不匹配。将错误消息中的一个复制到输入文件中。

    中/长期我会放弃响应文件方法,只使用纯命令行。简单多了。

    我建议在 bash -x 下使用它来查看实际用于安装或更新的非常简短的命令。

    https://github.com/covener/ihs-tools/blob/master/iminstallhelper.sh

    在 ~/iim.password 中隐藏密码后,这会得到以下结果:

    # 显示 repo 内容 /opt/IM/eclipse/tools/imcl listAvailablePackages -repositories http://www.ibm.com/software/repositorymanager/V9WASSupplements -secureStorageFile $HOME/iim.storage -masterPasswordFile $HOME/iim.password -prompt

    # 安装 IHS 9.0.0.0 + java(是的,空格分隔) /opt/IM/eclipse/tools/imcl install com.ibm.websphere.IHS.v90_9.0.0.20160526_1854 com.ibm.java.jdk.v8_8.0.4060.20170608_0739 -repositories http://www.ibm.com/software/repositorymanager/V9WASSupplements -installationDirectory /tmp/ihs9 -acceptLicense -secureStorageFile $HOME/iim.storage -masterPasswordFile $HOME/iim.password -showProgress

    # 应用 9004 /opt/IM/eclipse/tools/imcl install com.ibm.websphere.IHS.v90_9.0.4.20170523_1327 -repositories http://www.ibm.com/software/repositorymanager/V9WASSupplements -installationDirectory /tmp/ihs9/ -acceptLicense -secureStorageFile $HOME/iim.storage -masterPasswordFile $HOME /iim.密码

    【讨论】:

    • 非常感谢您的回答和建议!现已安装 IHS 更新。
    猜你喜欢
    • 2018-06-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-06-04
    • 2022-06-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多