启动ECS时出现haproxy容器错误

时间:2018-02-21 02:55:33

标签: amazon-web-services amazon-ec2 haproxy amazon-ecs

当我在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 <willy@haproxy.org>

 <5>haproxy-systemd-wrapper: exit, haproxy RC=1

0 个答案:

没有答案