我通过解压RHEL73上的zip文件安装了eap7.1,但无法启动主机控件与域控制器连接,以下是详细信息:
域控制器在node1上运行:
/opt/jboss-eap-7.1/bin/domain.sh --host-config=host-master.xml -Djboss.bind.address.management=192.168.56.11
Log:
[Host Controller] 10:53:53,258 INFO [org.jboss.as.remoting] (MSC service thread 1-4) WFLYRMT0001: Listening on 192.168.56.81:9999在node2上启动主机控制器:
/opt/jboss-eap-7.1/bin/domain.sh --host-config=host-slave.xml -Djboss.bind.address.management=192.168.56.127 -Djboss.domain.master.address=192.168.56.11我在node1上使用add-user.sh添加了remotehost1。我在node2上的host-slave.xml中添加了身份验证信息:
<server-identities>
<secret value="cmVkaGF0MUA="/>
</server-identities>
...
<domain-controller>
<remote security-realm="ManagementRealm" username="remotehost1">主机控制器启动失败,出现以下错误:
10:57:17,068 WARN [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0001: Could not connect to remote domain controller remote://192.168.56.81:9999: java.net.ConnectException: WFLYPRT0023: Could not connect to remote://192.168.56.81:9999. The connection timed out
...
ERROR [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0002: Could not connect to master. Error was: java.lang.IllegalStateException: WFLYHC0120: Tried all domain controller discovery option(s) but unable to connect.netstat -an|grep 9999显示它正在监听192.168.56.11(node1公共接口)
我停止了iptables、防火墙和selinux,我使用了nc -v 192.168.56.11 9999,并验证了可以从node2访问该地址,这可能是什么原因?
诚挚的问候
局域网
发布于 2018-03-01 23:07:43
此问题已修复。测试是基于2个虚拟机作为主机运行在window10上,windows 10重启后,我没有注意到windows上的防火墙在重启后被打开,虚拟机之间使用仅主机适配器进行通信,在禁用windows上的防火墙后,通信正常。
https://stackoverflow.com/questions/49023649
复制相似问题