Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sql-server-2005/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Websphere IBM HTTP服务器修复包的静默安装失败_Websphere_Ibmhttpserver_Ibm Installation Manager - Fatal编程技术网

Websphere IBM HTTP服务器修复包的静默安装失败

Websphere IBM HTTP服务器修复包的静默安装失败,websphere,ibmhttpserver,ibm-installation-manager,Websphere,Ibmhttpserver,Ibm Installation Manager,我正在尝试在Linux上安装适用于IBM HTTP Server 8.5.5的Fix Pack 11。我正在使用静默安装。作为模板,我使用了一个在Windows上使用的响应文件。出于某种原因,Installation Manager认为我正在尝试安装IHS,而不是为IHS安装补丁包: stgpccggww3n01:/opt/IBM/InstallationManager/eclipse/tools# ./imcl -acceptLicense -showProgress input /home/

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

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认为我在安装新版本,而不是安装修复包吗?

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

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

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

将密码存储在~/iim.password中后,会出现以下情况:

#显示回购内容 /opt/IM/eclipse/tools/imcl listAvailablePackages-存储库-安全存储文件$HOME/iim.storage-主密码文件$HOME/iim.password-提示

#安装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-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-installationDirectory/tmp/ihs9/-acceptLicense-secureStorageFile$HOME/iim.storage-masterPasswordFile$HOME/iim.password

感谢大家的回答和建议!IHS更新现已安装。