无法访问 Mesos UI
Can't access Mesos UI
无法访问 master:5050 上的 Mesos UI。
运行 Linux 分区上的小型集群 1 master-3 slaves。
师父好像选好了:
I0902 09:43:23.234127 19479 zookeeper.cpp:262] A new leading master (UPID=master@X:5000) is detected
I0902 09:43:23.234194 19479 master.cpp:2170] Elected as the leading master!
似乎主从连接正常,来自主站的日志:
I0902 09:43:23.391279 19478 hierarchical.cpp:854] Added agent 70773e6b-80f2-45ce-945e-2fdbc8202b35-S113 (XXXXXX) with cpus:2; mem:2872; disk:4089; ports:[31000-32000] (allocated: {})
I0902 09:43:24.101581 19480 hierarchical.cpp:854] Added agent 70773e6b-80f2-45ce-945e-2fdbc8202b35-S111 (XXXXXXX) with cpus:2; mem:2872; disk:4089; ports:[31000-32000] (allocated: {})
I0902 09:43:24.114173 19479 hierarchical.cpp:854] Added agent 70773e6b-80f2-45ce-945e-2fdbc8202b35-S112 (XXXXXXXX) with cpus:2; mem:2872; disk:4089; ports:[31000-32000] (allocated: {})
在master机器上5050端口好像根本没用,这一行returns没什么:
sudo lsof -n -P | grep '5050'
编辑:根据请求添加命令 sudo lsof -n -P | grep '5050'
替换了 X 和 Z 的 IP,但 returns 大量结果:
mesos-mas 22077 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22095 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22095 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22095 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22095 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22096 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22096 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22096 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22096 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22097 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22097 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22097 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22097 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22098 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22098 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22098 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22098 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22099 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22099 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22099 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22099 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22100 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22100 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22100 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22100 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22101 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22101 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22101 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22101 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22102 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22102 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22102 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22102 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22103 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22103 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22103 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22103 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22104 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22104 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22104 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22104 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22105 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22105 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22105 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22105 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22106 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22106 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22106 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22106 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22107 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22107 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22107 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22107 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22108 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22108 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22108 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22108 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22109 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22109 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22109 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22109 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22110 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22110 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22110 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22110 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22111 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22111 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22111 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22111 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22112 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22112 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22112 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22112 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
该命令是通过命令 --port=5000 启动的,有点混乱,因为根据 this page:
中的定义,显然这是从服务器列出的端口
Port to listen on (master default: 5050 and slave default: 5051)
在任何时候都没有提到 webui 中的任何内容。
无法访问 master:5050 上的 Mesos UI。
运行 Linux 分区上的小型集群 1 master-3 slaves。
师父好像选好了:
I0902 09:43:23.234127 19479 zookeeper.cpp:262] A new leading master (UPID=master@X:5000) is detected
I0902 09:43:23.234194 19479 master.cpp:2170] Elected as the leading master!
似乎主从连接正常,来自主站的日志:
I0902 09:43:23.391279 19478 hierarchical.cpp:854] Added agent 70773e6b-80f2-45ce-945e-2fdbc8202b35-S113 (XXXXXX) with cpus:2; mem:2872; disk:4089; ports:[31000-32000] (allocated: {})
I0902 09:43:24.101581 19480 hierarchical.cpp:854] Added agent 70773e6b-80f2-45ce-945e-2fdbc8202b35-S111 (XXXXXXX) with cpus:2; mem:2872; disk:4089; ports:[31000-32000] (allocated: {})
I0902 09:43:24.114173 19479 hierarchical.cpp:854] Added agent 70773e6b-80f2-45ce-945e-2fdbc8202b35-S112 (XXXXXXXX) with cpus:2; mem:2872; disk:4089; ports:[31000-32000] (allocated: {})
在master机器上5050端口好像根本没用,这一行returns没什么:
sudo lsof -n -P | grep '5050'
编辑:根据请求添加命令 sudo lsof -n -P | grep '5050'
替换了 X 和 Z 的 IP,但 returns 大量结果:
mesos-mas 22077 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22095 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22095 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22095 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22095 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22096 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22096 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22096 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22096 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22097 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22097 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22097 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22097 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22098 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22098 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22098 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22098 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22099 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22099 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22099 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22099 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22100 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22100 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22100 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22100 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22101 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22101 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22101 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22101 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22102 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22102 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22102 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22102 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22103 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22103 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22103 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22103 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22104 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22104 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22104 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22104 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22105 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22105 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22105 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22105 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22106 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22106 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22106 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22106 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22107 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22107 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22107 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22107 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22108 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22108 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22108 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22108 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22109 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22109 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22109 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22109 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22110 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22110 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22110 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22110 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22111 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22111 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22111 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22111 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
mesos-mas 22077 22112 root 8u IPv4 76135 0t0 TCP X:5000 (LISTEN)
mesos-mas 22077 22112 root 27u IPv4 77128 0t0 TCP X:5000->Z:53074 (ESTABLISHED)
mesos-mas 22077 22112 root 29u IPv4 76230 0t0 TCP X:5000->Z:57994 (ESTABLISHED)
mesos-mas 22077 22112 root 31u IPv4 76232 0t0 TCP X:5000->Z:44922 (ESTABLISHED)
该命令是通过命令 --port=5000 启动的,有点混乱,因为根据 this page:
中的定义,显然这是从服务器列出的端口 Port to listen on (master default: 5050 and slave default: 5051)
在任何时候都没有提到 webui 中的任何内容。