Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1916704
  • 博文数量: 389
  • 博客积分: 7877
  • 博客等级: 少将
  • 技术积分: 4521
  • 用 户 组: 普通用户
  • 注册时间: 2007-12-10 14:02
文章分类

全部博文(389)

文章存档

2024年(1)

2022年(1)

2021年(1)

2020年(1)

2019年(1)

2018年(3)

2017年(6)

2016年(4)

2015年(8)

2014年(15)

2013年(31)

2012年(19)

2011年(47)

2010年(33)

2009年(105)

2008年(109)

2007年(4)

分类: 系统运维

2011-11-18 10:00:21

以下遇到的问题,及具体的解决方法都是在WebSphere Application Server - ND 7.0.0.15下面!!


在安装配置was cluster的过程中,由于一些强制操作,导致某个node的serverindex.xml文件丢失,以至于无法启动Dmgr

我做了如下操作,并直至解决问题,记录如下:

cd /opt/IBM/WebSphere/AppServer/bin
./manageprofiles.sh -listProfiles
[Dmgr01, AppSrv01]
./manageprofiles.sh -delete -profileName AppSrv01
INSTCONFSUCCESS: Success: The profile no longer exists.
./manageprofiles.sh -delete -profileName Dmgr01
INSTCONFSUCCESS: Success: The profile no longer exists.



./manageprofiles.sh -create -profileName Dmgr01 -profilePath /opt/IBM/WebSphere/AppServer/profiles/Dmgr01 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/dmgr -enableAdminSecurity true -adminUserName wasadmin -adminPassword wasadmin -hostName linuxserver1

./manageprofiles.sh -create -profileName AppSrv01 -profilePath /opt/IBM/WebSphere/AppServer/profiles/AppSrv01 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/default -enableAdminSecurity true -adminUserName wasadmin -adminPassword wasadmin -hostName linuxserver1 -validatePorts -samplesPassword 123456

./manageprofiles.sh -create -profileName AppSrv01 -profilePath /opt/IBM/WebSphere/AppServer/profiles/AppSrv01 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/default -enableAdminSecurity true -adminUserName wasadmin -adminPassword wasadmin -hostName linuxserver2 -validatePorts -samplesPassword 123456


上面,必须要设置samplesPassword 并且对密码有限制,之前我用wasadmin或者admin都不行,后来就用了123456才可以,这个问题貌似还是websphere的一个bug, 可以参考下面IBM文档


所以以后安装was的时候,不要安装AppServer samples
阅读(2013) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~