由于/opt文件系统空间不够,扩展分区后安装在/host下,安装过程中报操作系统不支持,继续安装至最后一个窗口报部分安装成功,但有几处配置错误(提示查看log),没有进入first steps继续配置,按照网上说的手动first steps方法,没有在/IBM/WebSphere/AppServer/firststeps下找到对应脚本,反复检查以上步骤并尝试安装几次都是同样的结果,请高手们帮忙看看,谢谢!
附上安装日志中报错的内容:
IBM/WebSphere/AppServer/logs/install/log.txt: com.ibm.ws.install.ni.ismp.actions.OSPrereqCheckAction, err, System Prerequisites Check Warning: A supported operating system was not detected.
IBM/WebSphere/AppServer/logs/install/installconfig.log.gz: <record> <date>Aug 23, 2011 2:56:06 PM</date> <millis>1314082566694</millis> <sequence>2131</sequence> <logger>com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter</logger> <level>WARNING</level> <class>com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter</class> <method>messageLogged</method> <thread>5</thread> <message>/host/IBM/WebSphere/AppServer/properties/version/nif/config/script/productShortCut2StartMenuBase.sh: line 132: syntax error: unexpected end of file</message> 对比一下在 Windows 下安装的 WebSphere 7,如果要创建 profile 的话,用 $WAS_INSTALL_ROOT/bin/manageprofiles -create -profileName $name -profilePath $profilePath -templatePath default -cellName $cellName -nodeName $nodeName -hostName $hostName -defaultPorts true
比如: D:\IBM\WebSphere\bin\manageProfiles -create -profileName DEV.V1 -templatePath default -profilePath ..\profiles\DEV.V1 -cellName localhost -nodeName localhost -hostName 192.168.1.1 -defaultPorts true
如果你想用向导来配置 profile 就在 $WAS_INSTALL_ROOT/bin/ProfileManagement 下找脚本,比如在 Windows 下是 $WAS_INSTALL_ROOT/bin/ProfileManagement/pmt.bat,这里用向导方便创建数字证书之类的设置,但 cellName 在向导中是 hard code 成机器名的,不允许更改。
|