启动ECS时出现代理容器错误

问题描述 投票:0回答:1

我已经尝试了一段时间以解决在AWS ECS集群上启动haproxy容器时出现的问题。诊断和解决问题的任何帮助将不胜感激。这是下面的错误。我在链接的容器上创建了安全组规则,以允许所需端口上的通信。

<7>haproxy-systemd-wrapper: executing /usr/local/sbin/haproxy -p /run/haproxy.pid -db -f /usr/local/etc/haproxy/haproxy.cfg -Ds

Usage : haproxy [-f <cfgfile|cfgdir>]* [ -vdVD ] [ -n <maxconn> ] [ -N <maxpconn> ]

    [ -p <pidfile> ] [ -m <max megs> ] [ -C <dir> ] [-- <cfgfile>*]

    -v displays version ; -vv shows known build options.

    -d enters debug mode ; -db only disables background mode.

    -dM[<byte>] poisons memory with <byte> (defaults to 0x50)

    -V enters verbose mode (disables quiet mode)

    -D goes daemon ; -C changes to <dir> before loading files.

    -q quiet mode : don't display messages

    -c check mode : only check config files and exit

    -n sets the maximum total # of connections (2000)

    -m limits the usable amount of memory (in MB)

    -N sets the default, per-proxy maximum # of connections (2000)

    -L set local peer name (default to hostname)

    -p writes pids of all children to this file

    -de disables epoll() usage even when available

    -dp disables poll() usage even when available

    -dS disables splice usage (broken on old kernels)

    -dR disables SO_REUSEPORT usage

    -dr ignores server address resolution failures

    -dV disables SSL verify on servers side

    -sf/-st [pid ]* finishes/terminates old pids.

 HA-Proxy version 1.7.10-a7dcc3b 2018/01/02

 Copyright 2000-2018 Willy Tarreau <[email protected]>

 <5>haproxy-systemd-wrapper: exit, haproxy RC=1
amazon-web-services amazon-ec2 haproxy amazon-ecs
1个回答
0
投票

我有同样的问题,您解决了吗?

© www.soinside.com 2019 - 2024. All rights reserved.