IBM Information Server引擎启动失败(DSWLMServer未启用)及停止报错求助
解决IBM Information Server DSWLMServer未启动及停止时连接拒绝问题
问题说明
执行命令/opt/IBM/InformationServer/Server/DSEngine/bin/uv -admin -start启动引擎时,DSWLMServer进程未启动,/opt/IBM/InformationServer/Server/DSWLM/start.wlm.log日志提示WLM is not enabled, can not start it.;执行停止命令时出现java.net.ConnectException: Refused Connection错误,原因是停止脚本尝试连接未启用的WLM服务。
解决步骤
1. 启用WLM功能
- 切换至dsadm用户:
su - dsadm - 编辑WLM配置文件:
将vi /opt/IBM/InformationServer/Server/DSWLM/wlm.propertieswlm.enabled参数修改为true:wlm.enabled=true - 或通过dsadmin命令启用(适用于支持该命令的版本):
/opt/IBM/InformationServer/Server/DSEngine/bin/dsadmin -setparam WLMEnabled true
2. 验证配置并重启引擎
- 确认WLM启用状态:
输出应为/opt/IBM/InformationServer/Server/DSEngine/bin/dsadmin -getparam WLMEnabledtrue - 停止当前引擎:
/opt/IBM/InformationServer/Server/DSEngine/bin/uv -admin -stop - 清理残留WLM进程(若存在):
ps -ef | grep DSWLMServer | grep -v grep | awk '{print $2}' | xargs kill -9 - 启动引擎:
/opt/IBM/InformationServer/Server/DSEngine/bin/uv -admin -start - 检查DSWLMServer进程状态:
ps -ef | grep DSWLMServer
3. 处理端口占用问题(若启用后仍报错)
- 检查WLM默认端口(9080)是否被占用:
netstat -tulpn | grep 9080 - 若端口被占用,修改
wlm.properties中的wlm.server.port为未使用端口,重启引擎即可。
4. 无需WLM功能的处理方式
如果不需要WLM服务,需让停止脚本跳过WLM停止逻辑:
- 编辑
/opt/IBM/InformationServer/Server/DSEngine/bin/uv脚本,找到调用WLM停止的代码段并注释;或保持wlm.enabled=false,确保停止流程不触发WLM连接请求。
内容的提问来源于stack exchange,提问作者Kaijie Zhao
相关产品推荐
相关产品推荐

