IBM HTTP Server 的 FIx Pack 静默安装失败
Silent Installation of FIx Pack for IBM HTTP Server Failing
我正在尝试为 Linux 上的 IBM HTTP Server 8.5.5 安装 Fix Pack 11。我正在使用静默安装。作为模板,我使用了我在 Windows 上使用过的响应文件。出于某种原因,安装管理器认为我正在尝试安装 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 认为我正在安装新版本,而不是安装修复包?
您输入文件的包组与错误消息中安装的包组不匹配。将错误消息中的那个复制到输入文件中。
medium/long 术语我会放弃响应文件方法,只使用纯命令行。简单多了。
我建议在 bash -x 下玩这个,看看实际用于安装或更新的非常简短的命令。
https://github.com/covener/ihs-tools/blob/master/iminstallhelper.sh
在~/iim.password中存储密码后,此网络为以下内容:
# 显示回购内容
/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(是的,space 分开了)
/opt/IM/eclipse/tools/imcl 安装 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 安装 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.password
我正在尝试为 Linux 上的 IBM HTTP Server 8.5.5 安装 Fix Pack 11。我正在使用静默安装。作为模板,我使用了我在 Windows 上使用过的响应文件。出于某种原因,安装管理器认为我正在尝试安装 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 认为我正在安装新版本,而不是安装修复包?
您输入文件的包组与错误消息中安装的包组不匹配。将错误消息中的那个复制到输入文件中。
medium/long 术语我会放弃响应文件方法,只使用纯命令行。简单多了。
我建议在 bash -x 下玩这个,看看实际用于安装或更新的非常简短的命令。
https://github.com/covener/ihs-tools/blob/master/iminstallhelper.sh
在~/iim.password中存储密码后,此网络为以下内容:
# 显示回购内容 /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(是的,space 分开了) /opt/IM/eclipse/tools/imcl 安装 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 安装 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.password