【问题标题】:Can't start marathon-lb无法开始马拉松-lb
【发布时间】:2018-07-06 00:06:24
【问题描述】:

无论我使用默认配置还是自定义(减少 cpu,因为我正在试用),我的 maraton-lb 都无法启动,并且在健康检查中不停地失败。我做错了什么?

日志:

[ALERT] 184/143843 (321) : Starting frontend marathon_http_in: cannot bind socket [0.0.0.0:80]
[ALERT] 184/143843 (321) : sendmsg logger #1 failed: No such file or directory (errno=2)
[ALERT] 184/143843 (321) : sendmsg logger #2 failed: No such file or directory (errno=2)
[ALERT] 184/143843 (321) : sendmsg logger #1 failed: No such file or directory (errno=2)
[ALERT] 184/143843 (321) : sendmsg logger #2 failed: No such file or directory (errno=2)
Received task health update, healthy: false
Received killTask for task marathon-lb.cbfaf218-7f97-11e8-aef1-70b3d5800001

马拉松-json:

{
  "marathon-lb": {
      "instances": 1.0, "mem": 1048.0, "cpus": 1
  }
}

dcos package install --options=marathon-config.json marathon-lb

仅供参考,我尝试了很多配置。 Azure docs、marathon docs、mesos docs 和各种不同的变体。总是一样的结果。

【问题讨论】:

    标签: azure marathon dcos


    【解决方案1】:

    你有其他东西已经绑定到端口 80 吗? Marathon-lb 通常部署到公共代理,因此配置通常比您发布的配置长 - 您是否尝试过使用默认配置?默认情况下,它还需要绑定到 80 和 443,以及它使用的非特权端口 - 该错误看起来无法绑定到任何部署的地方。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-10-07
      相关资源
      最近更新 更多