当前位置: 代码迷 >> WebSphere >> ubuntu11.04下安装websphere application server 7报配置异常,没有进入first steps
  详细解决方案

ubuntu11.04下安装websphere application server 7报配置异常,没有进入first steps

热度:6889   发布时间:2013-02-26 00:00:00.0
ubuntu11.04下安装websphere application server 7报配置错误,没有进入first steps
安装过程是按照http://www.ibm.com/developerworks/cn/aix/library/au-wasonlinux/section3的步骤,首先下载IBM-java-I386,配置环境,替换sh,使用root权限安装,照这个手册的说法这样是可以安装在UBUNTU上的,由于/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>
</record>
<record>
  <date>Aug 23, 2011 2:56:21 PM</date>
  <millis>1314082581710</millis>
  <sequence>2271</sequence>
  <logger>com.ibm.ws.install.config.actions.InstallInvokeWSProfileConfigAction</logger>
  <level>INFO</level>
  <class>com.ibm.ws.install.config.actions.InstallInvokeWSProfileConfigAction</class>
  <method>createProfileInNewProcess</method>
  <thread>4</thread>
  <message>Remote action process - StdOut: WSVR0025I: Creating temporary product license
WSVR0027I: The product will expire in 60 days.
The following validation errors were present with the command line arguments: 
hostName: hostName is not a properly formed host name.
</message>
</record>
<record>
  <date>Aug 23, 2011 2:56:21 PM</date>
  <millis>1314082581711</millis>
  <sequence>2279</sequence>
  <logger>com.ibm.ws.install.configmanager.ConfigManager</logger>
  <level>INFO</level>
  <class>com.ibm.ws.install.configmanager.ConfigManager</class>
  <method>launch</method>
  <thread>4</thread>
  <message>There were some errors encountered while executing the repository actions, but none were fatal</message>
</record>





------解决方案--------------------------------------------------------
对比一下在 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 成机器名的,不允许更改。



  相关解决方案