Chinaunix首页 | 论坛 | 博客
  • 博客访问: 32884
  • 博文数量: 3
  • 博客积分: 241
  • 博客等级: 二等列兵
  • 技术积分: 60
  • 用 户 组: 普通用户
  • 注册时间: 2007-11-08 08:50
文章分类

全部博文(3)

文章存档

2009年(1)

2008年(2)

我的朋友

分类:

2009-04-14 15:10:48

        Websphere又出问题了,一个项目组说在部署应用一段时间(小于2小时)后不能连接到管理console,搞了好久也不知道怎么回事,想干脆删除profile重新创建一个得了,这样就避开了系统的原因,谁知道创建profile的时候报错。

   /usr/IBM/WebSphere/AppServer/profile/AppSrv03/logs/pctLog.txt的输入如下:

   com.ibm.ws.install.ni.ismp.actions.ISMPLogFileAction, msg1, Command line to create profile: (End)
(Apr 13, 2009 5:38:44 PM), Install, com.ibm.ws.install.ni.ismp.actions.ISMPWSProfileLaunchAction, err, INSTCONFFAILED: Cannot complete required configuration actions after the installation. The configuration failed. The installation is not successful. Refer to /usr/IBM/WebSphere/AppServer/logs/wasprofile/wasprofile_create_AppSrv03.log for more details.
(Apr 13, 2009 5:38:47 PM), Install, com.installshield.wizardx.conditions.PlatformWizardBeanCondition, dbg.platform, target platform: name="AIX" version="5.3" arch="ppc64"
(Apr 13, 2009 5:38:47 PM), Install, com.installshield.wizardx.conditions.PlatformWizardBeanCondition, dbg.platform, condition platform: name="Windows .*" version="." arch="."
(Apr 13, 2009 5:38:47 PM), Install, com.installshield.wizardx.conditions.PlatformWizardBeanCondition, dbg.platform, target platform: name="AIX" version="5.3" arch="ppc64"
(Apr 13, 2009 5:38:47 PM), Install, com.installshield.wizardx.conditions.PlatformWizardBeanCondition, dbg.platform, condition platform: name="Windows .*" version="." arch="."
(Apr 13, 2009 5:38:47 PM), Install, com.ibm.ws.install.ni.ismp.actions.ISMPLogSuccessMessageAction, msg1, INSTCONFFAILED

 /usr/IBM/WebSphere/AppServer/logs/wasprofile/wasprofile_create_AppSrv03.log如下:

Result of executing /usr/IBM/WebSphere/AppServer/profileTemplates/default/actions/generateBin.ant was: false


  2009-04-13T17:38:44
  1239615524891
  608
  com.ibm.ws.install.configmanager.ConfigManager
  WARNING
  com.ibm.ws.install.configmanager.ConfigManager
  executeAllActionsFound
  11
  Configuration action failed: com.ibm.ws.install.configmanager.actionengine.ANTAction-/usr/IBM/WebSphere/AppServer/profileTemplates/default/actions/generateBin.ant


  2009-04-13T17:38:44
  1239615524891
  609
  com.ibm.ws.install.configmanager.ConfigManager
  WARNING
  com.ibm.ws.install.configmanager.ConfigManager
  executeAllActionsFound
  11
  Fatal configuration action failed: com.ibm.ws.install.configmanager.actionengine.ANTAction-/usr/IBM/WebSphere/AppServer/profileTemplates/default/actions/generateBin.ant


  2009-04-13T17:38:44
  1239615524891
  610
  com.ibm.ws.install.configmanager.ConfigManager
  SEVERE
  com.ibm.ws.install.configmanager.ConfigManager
  launch
  11
  ConfigManager action execution failed on a fatal action


  2009-04-13T17:38:44
  1239615524892
  611
  com.ibm.ws.profile.WSProfile
  SEVERE
  com.ibm.ws.profile.WSProfile
  create
  11
  Creation of profile AppSrv03 at path /usr/IBM/WebSphere/AppServer/profiles/AppSrv03 failed.


  2009-04-13T17:38:44
  1239615524892
  612
  com.ibm.ws.profile.WSProfile
  INFO
  com.ibm.ws.profile.WSProfile
  create
  11
  Resetting the system properties to remove custom properties


  2009-04-13T17:38:44
  1239615524899
  613
  com.ibm.ws.profile.cli.WSProfileCLICreateProfileInvoker
  SEVERE
  com.ibm.ws.profile.cli.WSProfileCLICreateProfileInvoker
  executeWSProfileAccordingToMode
  11
  INSTCONFFAILED: Cannot create profile: The profile does not exist. For more information, consult /usr/IBM/WebSphere/AppServer/logs/wasprofile/wasprofile_create_AppSrv03.log.


  2009-04-13T17:38:44
  1239615524907
  614
  com.ibm.ws.profile.WSProfileCLI
  INFO
  com.ibm.ws.profile.WSProfileCLI
  invokeWSProfile
  11
  Returning with return code: INSTCONFFAILED


找了好几天的资料都没有说明怎么解决的,IBM网站上最相近的一篇文章是说在32位的系统上使用64位的Websphere 6.0.2会有这个错误(以Fatal configuration action failed: com.ibm.ws.install.configmanager.actionengine .ANTAction为关键字搜索),但我的这个环境明显不是(在 /usr/IBM/WebSphere/AppServer/bin中有versionInfo.sh可以显示websphere的版本,但没有说明是32位还是64位,后来看有人说可以通过java -version的java版本定位websphere的版本,也有说通过SystemOut.log的开头通过操作系统版本定位websphere版本,后者不敢赞同,因为AIX64位版本可以支持64位和32位的websphere的版本)。

咨询了IBM工程师,他们也没有什么好的招数了。

找阿找的,到底是为什么不行了呢?

后来无意中在/usr/IBM/WebSphere/AppServer/profiles/AppSrv03下看到setupCmdLine.sh,不知道为什么突然想起这个应该是安装websphere的脚本吧,无意识的去/usr/IBM/WebSphere/AppServer/bin下面去看这个脚本(我理解各个profile下的脚本都是从这里copy过去的),幸运的是使用了ll命令,突然看到setupCmdLine.sh的权限与其他的脚本不同,其他都是755的,这个却是所有用户都没有执行权限(还是只有owner有执行权限,忘记了,反正是其他人没有,而root不是owner,即root也没有执行权限),当时想为什么会不同呢? 我使用root创建profile,root没有权限怎么办,改改看看吧,结果发现root找不到chmod了,find发现在某个用户自己的home目录下,真是晕了。怎么会跑到那里去了? cp 回到/usr/bin目录下,然后执行 chmod 755 setupCmdLine.sh,然后创建profile,OK,可以成功创建了。

总结一下:websphere的各种动作都需要权限(哈,应该是都是如此吧),如果遇到上述问题,首先看权限是否正确(开始时也看了,但主要是看owner是否正确。)

owner的问题也会导致故障,以前遇到过多次由于SystemOut.log的owner不正确导致websphere的profile无法启动停止的问题,更改owner后问题解决。

对一些人的做法,实在是无语了。

 

 

阅读(3084) | 评论(0) | 转发(0) |
0

上一篇:DB2 V8.1 在RedHat Advanced Platform 5的安装

下一篇:没有了

给主人留下些什么吧!~~