简体   繁体   English

Weblogic NodeManager启动失败

[英]Weblogic NodeManager Start Failure

I've setup a weblogic cluster with 2 managed servers.In order to configure node manager on both nodes i've followed the related article : 我设置了一个包含2个托管服务器的weblogic集群。为了在两个节点上都配置节点管理器,我遵循了相关文章:

http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_2_1/01-12-001-ConfiguringandUsingNodeManager/Configuring_and_Using_NM.html http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_2_1/01-12-001-ConfiguringandUsingNodeManager/Configuring_and_Using_NM.html

with the following configuration : 具有以下配置:

Machine-0 : 机器-0:

 DomainsFile=/u01/app/oracle/config/domains/base_domain/Machine-
 0/nodemanager.domains
 LogLimit=0
 PropertiesVersion=12.1.3
 AuthenticationEnabled=true
 NodeManagerHome=/u01/app/oracle/config/domains/base_domain/Machine-0
 JavaHome=/opt/jdk1.8.0_131
 LogLevel=INFO
 DomainsFileEnabled=true
 StartScriptName=startWebLogic.sh
 ListenAddress=localhost
 NativeVersionEnabled=true
 ListenPort=5558
 LogToStderr=true
 SecureListener=false
 LogCount=1
 StopScriptEnabled=false
 QuitEnabled=false
 LogAppend=true
 StateCheckInterval=500
 CrashRecoveryEnabled=false
 StartScriptEnabled=true
 LogFile=/u01/app/oracle/config/domains/base_domain/Machine-
 0/nodemanager.log
 LogFormatter=weblogic.nodemanager.server.LogFormatter
 ListenBacklog=50

Machine-1 (the second managed server) has the same configuration with the exceptions of ports (5557) and name. 机器1(第二台受管服务器)具有相同的配置,但端口(5557)和名称除外。 Although node manager is successfully started on both machines (startNodeManager.sh on machine-0 and machine-1) from admin console on Machine-0 the following error occurs and node manager doesnt start : 尽管节点管理器已从Machine-0上的管理控制台成功在两台计算机上启动(机器0和计算机1上的startNodeManager.sh),但仍发生以下错误,并且节点管理器未启动:

weblogic.nodemanager.NMConnectException 

nodemanager.log of Machine-0 has no indications of errors or any helpful stuff. Machine-0的nodemanager.log没有错误或任何有用信息的迹象。 Any help would be appreciated. 任何帮助,将不胜感激。 thanks in advance 提前致谢

These are the things that I usually check when I am setting up a new WebLogic domain: 这些是我在设置新的WebLogic域时通常检查的内容:

  • It is possible that the Listen Address of Machine-1 is not correct. Machine-1的侦听地址可能不正确。 Check the Listen Address of the machine from the WebLogic Domain Configuration. 从WebLogic域配置中检查计算机的侦听地址。 It should match the host's machine name. 它应与主机的计算机名匹配。 Using localhost might not work because the Admin Server is trying to connect to the Machine-1 , which can be on the other server. 使用localhost可能不起作用,因为Admin Server试图连接到Machine-1 ,该Machine-1可以在另一台服务器上。
  • Make sure to check if the port is reachable from the Admin Server's machine. 确保检查端口是否可以从Admin Server的计算机访问。
  • Check that the Node Manager configuration uses Plain instead of SSL connection, as stated in your nodemanager.properties file. 按照nodemanager.properties文件中的说明,检查节点管理器配置是否使用普通连接而不是SSL连接。 Under Environments > Machines , click the machine and go to Configuration Tab, Node Manager. 在“ 环境” >“ 计算机”下 ,单击计算机 ,然后转到“配置”选项卡的“节点管理器”。 Check if the Type is Plain and not SSL . 检查Type是Plain而不是SSL Changing this will require a restart of the Admin Server. 更改此设置将需要重新启动Admin Server。

Please verify the items below before you start nodemanager. 在启动nodemanager之前,请验证以下各项。

  1. Check if the nodemanager.domains has your domain name listed. 检查nodemanager.domains是否列出了您的域名。

  2. Try to see if the ports are listening using the commands below. 请尝试使用以下命令查看端口是否在监听。

     netstat -an|grep 5557 netstat -an|grep 5558 
  3. Also, check if the nodemanager is reachable in weblogic console. 另外,检查在weblogic控制台中nodemanager是否可访问。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM