User Tools

Site Tools


haproxy:haprpoxy-cannot-bind-socket

Solusi HAProxy cannot bind socket [0.0.0.0:587 xx]

Pesan Eror yang didapatkan

Jun 28 03:58:06 bizmail2 systemd: Started HAProxy Load Balancer.
Jun 28 03:58:06 bizmail2 systemd: Starting HAProxy Load Balancer...
Jun 28 03:58:06 bizmail2 haproxy-systemd-wrapper: [ALERT] 178/035806 (18354) : Starting frontend ft_smtp: cannot bind socket [0.0.0.0:587]
Jun 28 03:58:06 bizmail2 systemd: haproxy.service: main process exited, code=exited, status=1/FAILURE
Jun 28 03:58:06 bizmail2 haproxy-systemd-wrapper: haproxy-systemd-wrapper: exit, haproxy RC=1
Jun 28 03:58:06 bizmail2 systemd: Unit haproxy.service entered failed state.
Jun 28 03:58:06 bizmail2 systemd: haproxy.service failed.

Solusinya jalankan

setsebool -P haproxy_connect_any=1

Kemudian restart kembali haproxy

Layanan

Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |
haproxy/haprpoxy-cannot-bind-socket.txt · Last modified: 2021/06/28 11:04 by kbadmin